POGOProtos.Enums.PlatformOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Enums/Platform.proto
package POGOProtos.Enums;
public final class PlatformOuterClass {
private PlatformOuterClass() {}
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.Platform}
*/
public enum Platform
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET = 0;
*/
UNSET(0),
/**
* IOS = 1;
*/
IOS(1),
/**
* ANDROID = 2;
*/
ANDROID(2),
/**
* OSX = 3;
*/
OSX(3),
/**
* WINDOWS = 4;
*/
WINDOWS(4),
/**
* APPLE_WATCH = 5;
*/
APPLE_WATCH(5),
UNRECOGNIZED(-1),
;
/**
* UNSET = 0;
*/
public static final int UNSET_VALUE = 0;
/**
* IOS = 1;
*/
public static final int IOS_VALUE = 1;
/**
* ANDROID = 2;
*/
public static final int ANDROID_VALUE = 2;
/**
* OSX = 3;
*/
public static final int OSX_VALUE = 3;
/**
* WINDOWS = 4;
*/
public static final int WINDOWS_VALUE = 4;
/**
* APPLE_WATCH = 5;
*/
public static final int APPLE_WATCH_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 Platform valueOf(int value) {
return forNumber(value);
}
public static Platform forNumber(int value) {
switch (value) {
case 0: return UNSET;
case 1: return IOS;
case 2: return ANDROID;
case 3: return OSX;
case 4: return WINDOWS;
case 5: return APPLE_WATCH;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Platform> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Platform findValueByNumber(int number) {
return Platform.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.PlatformOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final Platform[] VALUES = values();
public static Platform 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 Platform(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Enums.Platform)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\037POGOProtos/Enums/Platform.proto\022\020POGOP" +
"rotos.Enums*R\n\010Platform\022\t\n\005UNSET\020\000\022\007\n\003IO" +
"S\020\001\022\013\n\007ANDROID\020\002\022\007\n\003OSX\020\003\022\013\n\007WINDOWS\020\004\022\017" +
"\n\013APPLE_WATCH\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