POGOProtos.Enums.ConditionTypeOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Enums/ConditionType.proto
package POGOProtos.Enums;
public final class ConditionTypeOuterClass {
private ConditionTypeOuterClass() {}
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.ConditionType}
*/
public enum ConditionType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET_CONDITION = 0;
*/
UNSET_CONDITION(0),
/**
* WITH_POKEMON_CP_LIMIT = 1;
*/
WITH_POKEMON_CP_LIMIT(1),
/**
* WITH_PLAYER_LEVEL = 2;
*/
WITH_PLAYER_LEVEL(2),
/**
* WITH_POKEMON_TYPE = 3;
*/
WITH_POKEMON_TYPE(3),
/**
* WITH_POKEMON_CATEGORY = 4;
*/
WITH_POKEMON_CATEGORY(4),
UNRECOGNIZED(-1),
;
/**
* UNSET_CONDITION = 0;
*/
public static final int UNSET_CONDITION_VALUE = 0;
/**
* WITH_POKEMON_CP_LIMIT = 1;
*/
public static final int WITH_POKEMON_CP_LIMIT_VALUE = 1;
/**
* WITH_PLAYER_LEVEL = 2;
*/
public static final int WITH_PLAYER_LEVEL_VALUE = 2;
/**
* WITH_POKEMON_TYPE = 3;
*/
public static final int WITH_POKEMON_TYPE_VALUE = 3;
/**
* WITH_POKEMON_CATEGORY = 4;
*/
public static final int WITH_POKEMON_CATEGORY_VALUE = 4;
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 ConditionType valueOf(int value) {
return forNumber(value);
}
public static ConditionType forNumber(int value) {
switch (value) {
case 0: return UNSET_CONDITION;
case 1: return WITH_POKEMON_CP_LIMIT;
case 2: return WITH_PLAYER_LEVEL;
case 3: return WITH_POKEMON_TYPE;
case 4: return WITH_POKEMON_CATEGORY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ConditionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ConditionType findValueByNumber(int number) {
return ConditionType.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.ConditionTypeOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final ConditionType[] VALUES = values();
public static ConditionType 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 ConditionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Enums.ConditionType)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n$POGOProtos/Enums/ConditionType.proto\022\020" +
"POGOProtos.Enums*\210\001\n\rConditionType\022\023\n\017UN" +
"SET_CONDITION\020\000\022\031\n\025WITH_POKEMON_CP_LIMIT" +
"\020\001\022\025\n\021WITH_PLAYER_LEVEL\020\002\022\025\n\021WITH_POKEMO" +
"N_TYPE\020\003\022\031\n\025WITH_POKEMON_CATEGORY\020\004b\006pro" +
"to3"
};
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