POGOProtos.Enums.FriendshipLevelMilestoneOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Enums/FriendshipLevelMilestone.proto
package POGOProtos.Enums;
public final class FriendshipLevelMilestoneOuterClass {
private FriendshipLevelMilestoneOuterClass() {}
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.FriendshipLevelMilestone}
*/
public enum FriendshipLevelMilestone
implements com.google.protobuf.ProtocolMessageEnum {
/**
* FRIENDSHIP_LEVEL_UNSET = 0;
*/
FRIENDSHIP_LEVEL_UNSET(0),
/**
* FRIENDSHIP_LEVEL_0 = 1;
*/
FRIENDSHIP_LEVEL_0(1),
/**
* FRIENDSHIP_LEVEL_1 = 2;
*/
FRIENDSHIP_LEVEL_1(2),
/**
* FRIENDSHIP_LEVEL_2 = 3;
*/
FRIENDSHIP_LEVEL_2(3),
/**
* FRIENDSHIP_LEVEL_3 = 4;
*/
FRIENDSHIP_LEVEL_3(4),
/**
* FRIENDSHIP_LEVEL_4 = 5;
*/
FRIENDSHIP_LEVEL_4(5),
UNRECOGNIZED(-1),
;
/**
* FRIENDSHIP_LEVEL_UNSET = 0;
*/
public static final int FRIENDSHIP_LEVEL_UNSET_VALUE = 0;
/**
* FRIENDSHIP_LEVEL_0 = 1;
*/
public static final int FRIENDSHIP_LEVEL_0_VALUE = 1;
/**
* FRIENDSHIP_LEVEL_1 = 2;
*/
public static final int FRIENDSHIP_LEVEL_1_VALUE = 2;
/**
* FRIENDSHIP_LEVEL_2 = 3;
*/
public static final int FRIENDSHIP_LEVEL_2_VALUE = 3;
/**
* FRIENDSHIP_LEVEL_3 = 4;
*/
public static final int FRIENDSHIP_LEVEL_3_VALUE = 4;
/**
* FRIENDSHIP_LEVEL_4 = 5;
*/
public static final int FRIENDSHIP_LEVEL_4_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 FriendshipLevelMilestone valueOf(int value) {
return forNumber(value);
}
public static FriendshipLevelMilestone forNumber(int value) {
switch (value) {
case 0: return FRIENDSHIP_LEVEL_UNSET;
case 1: return FRIENDSHIP_LEVEL_0;
case 2: return FRIENDSHIP_LEVEL_1;
case 3: return FRIENDSHIP_LEVEL_2;
case 4: return FRIENDSHIP_LEVEL_3;
case 5: return FRIENDSHIP_LEVEL_4;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FriendshipLevelMilestone> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public FriendshipLevelMilestone findValueByNumber(int number) {
return FriendshipLevelMilestone.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.FriendshipLevelMilestoneOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final FriendshipLevelMilestone[] VALUES = values();
public static FriendshipLevelMilestone 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 FriendshipLevelMilestone(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Enums.FriendshipLevelMilestone)
}
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/FriendshipLevelMilest" +
"one.proto\022\020POGOProtos.Enums*\256\001\n\030Friendsh" +
"ipLevelMilestone\022\032\n\026FRIENDSHIP_LEVEL_UNS" +
"ET\020\000\022\026\n\022FRIENDSHIP_LEVEL_0\020\001\022\026\n\022FRIENDSH" +
"IP_LEVEL_1\020\002\022\026\n\022FRIENDSHIP_LEVEL_2\020\003\022\026\n\022" +
"FRIENDSHIP_LEVEL_3\020\004\022\026\n\022FRIENDSHIP_LEVEL" +
"_4\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