POGOProtos.Enums.CombatTypeOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Enums/CombatType.proto
package POGOProtos.Enums;
public final class CombatTypeOuterClass {
private CombatTypeOuterClass() {}
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.CombatType}
*/
public enum CombatType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* COMBAT_TYPE_UNSET = 0;
*/
COMBAT_TYPE_UNSET(0),
/**
* SOLO = 1;
*/
SOLO(1),
/**
* QR_CODE = 2;
*/
QR_CODE(2),
/**
* FRIENDS = 3;
*/
FRIENDS(3),
/**
* NEARBY_COMBAT = 4;
*/
NEARBY_COMBAT(4),
UNRECOGNIZED(-1),
;
/**
* COMBAT_TYPE_UNSET = 0;
*/
public static final int COMBAT_TYPE_UNSET_VALUE = 0;
/**
* SOLO = 1;
*/
public static final int SOLO_VALUE = 1;
/**
* QR_CODE = 2;
*/
public static final int QR_CODE_VALUE = 2;
/**
* FRIENDS = 3;
*/
public static final int FRIENDS_VALUE = 3;
/**
* NEARBY_COMBAT = 4;
*/
public static final int NEARBY_COMBAT_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 CombatType valueOf(int value) {
return forNumber(value);
}
public static CombatType forNumber(int value) {
switch (value) {
case 0: return COMBAT_TYPE_UNSET;
case 1: return SOLO;
case 2: return QR_CODE;
case 3: return FRIENDS;
case 4: return NEARBY_COMBAT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CombatType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CombatType findValueByNumber(int number) {
return CombatType.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.CombatTypeOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final CombatType[] VALUES = values();
public static CombatType 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 CombatType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Enums.CombatType)
}
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/CombatType.proto\022\020POG" +
"OProtos.Enums*Z\n\nCombatType\022\025\n\021COMBAT_TY" +
"PE_UNSET\020\000\022\010\n\004SOLO\020\001\022\013\n\007QR_CODE\020\002\022\013\n\007FRI" +
"ENDS\020\003\022\021\n\rNEARBY_COMBAT\020\004b\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