POGOProtos.Enums.FilterOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Enums/Filter.proto
package POGOProtos.Enums;
public final class FilterOuterClass {
private FilterOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code POGOProtos.Enums.Filter}
*/
public enum Filter
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET_FILTER = 0;
*/
UNSET_FILTER(0),
/**
* ALL = 1;
*/
ALL(1),
/**
* DEFAULT = 2;
*/
DEFAULT(2),
/**
* OWNED = 3;
*/
OWNED(3),
/**
* FEATURED = 4;
*/
FEATURED(4),
/**
* PURCHASABLE = 5;
*/
PURCHASABLE(5),
/**
* UNLOCKABLE = 6;
*/
UNLOCKABLE(6),
UNRECOGNIZED(-1),
;
/**
* UNSET_FILTER = 0;
*/
public static final int UNSET_FILTER_VALUE = 0;
/**
* ALL = 1;
*/
public static final int ALL_VALUE = 1;
/**
* DEFAULT = 2;
*/
public static final int DEFAULT_VALUE = 2;
/**
* OWNED = 3;
*/
public static final int OWNED_VALUE = 3;
/**
* FEATURED = 4;
*/
public static final int FEATURED_VALUE = 4;
/**
* PURCHASABLE = 5;
*/
public static final int PURCHASABLE_VALUE = 5;
/**
* UNLOCKABLE = 6;
*/
public static final int UNLOCKABLE_VALUE = 6;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Filter valueOf(int value) {
return forNumber(value);
}
public static Filter forNumber(int value) {
switch (value) {
case 0: return UNSET_FILTER;
case 1: return ALL;
case 2: return DEFAULT;
case 3: return OWNED;
case 4: return FEATURED;
case 5: return PURCHASABLE;
case 6: return UNLOCKABLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Filter> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Filter findValueByNumber(int number) {
return Filter.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return POGOProtos.Enums.FilterOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final Filter[] VALUES = values();
public static Filter valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Filter(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Enums.Filter)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\035POGOProtos/Enums/Filter.proto\022\020POGOPro" +
"tos.Enums*j\n\006Filter\022\020\n\014UNSET_FILTER\020\000\022\007\n" +
"\003ALL\020\001\022\013\n\007DEFAULT\020\002\022\t\n\005OWNED\020\003\022\014\n\010FEATUR" +
"ED\020\004\022\017\n\013PURCHASABLE\020\005\022\016\n\nUNLOCKABLE\020\006b\006p" +
"roto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy