POGOProtos.Enums.RaidLevelOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Enums/RaidLevel.proto
package POGOProtos.Enums;
public final class RaidLevelOuterClass {
private RaidLevelOuterClass() {}
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.RaidLevel}
*/
public enum RaidLevel
implements com.google.protobuf.ProtocolMessageEnum {
/**
* RAID_LEVEL_UNSET = 0;
*/
RAID_LEVEL_UNSET(0),
/**
* RAID_LEVEL_1 = 1;
*/
RAID_LEVEL_1(1),
/**
* RAID_LEVEL_2 = 2;
*/
RAID_LEVEL_2(2),
/**
* RAID_LEVEL_3 = 3;
*/
RAID_LEVEL_3(3),
/**
* RAID_LEVEL_4 = 4;
*/
RAID_LEVEL_4(4),
/**
* RAID_LEVEL_5 = 5;
*/
RAID_LEVEL_5(5),
UNRECOGNIZED(-1),
;
/**
* RAID_LEVEL_UNSET = 0;
*/
public static final int RAID_LEVEL_UNSET_VALUE = 0;
/**
* RAID_LEVEL_1 = 1;
*/
public static final int RAID_LEVEL_1_VALUE = 1;
/**
* RAID_LEVEL_2 = 2;
*/
public static final int RAID_LEVEL_2_VALUE = 2;
/**
* RAID_LEVEL_3 = 3;
*/
public static final int RAID_LEVEL_3_VALUE = 3;
/**
* RAID_LEVEL_4 = 4;
*/
public static final int RAID_LEVEL_4_VALUE = 4;
/**
* RAID_LEVEL_5 = 5;
*/
public static final int RAID_LEVEL_5_VALUE = 5;
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 RaidLevel valueOf(int value) {
return forNumber(value);
}
public static RaidLevel forNumber(int value) {
switch (value) {
case 0: return RAID_LEVEL_UNSET;
case 1: return RAID_LEVEL_1;
case 2: return RAID_LEVEL_2;
case 3: return RAID_LEVEL_3;
case 4: return RAID_LEVEL_4;
case 5: return RAID_LEVEL_5;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
RaidLevel> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public RaidLevel findValueByNumber(int number) {
return RaidLevel.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.RaidLevelOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final RaidLevel[] VALUES = values();
public static RaidLevel 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 RaidLevel(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Enums.RaidLevel)
}
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/RaidLevel.proto\022\020POGO" +
"Protos.Enums*{\n\tRaidLevel\022\024\n\020RAID_LEVEL_" +
"UNSET\020\000\022\020\n\014RAID_LEVEL_1\020\001\022\020\n\014RAID_LEVEL_" +
"2\020\002\022\020\n\014RAID_LEVEL_3\020\003\022\020\n\014RAID_LEVEL_4\020\004\022" +
"\020\n\014RAID_LEVEL_5\020\005b\006proto3"
};
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