POGOProtos.Enums.PresentationTypeOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Enums/PresentationType.proto
package POGOProtos.Enums;
public final class PresentationTypeOuterClass {
private PresentationTypeOuterClass() {}
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.PresentationType}
*/
public enum PresentationType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN_PRESENTATION_TYPE = 0;
*/
UNKNOWN_PRESENTATION_TYPE(0),
/**
* CATEGORY = 1;
*/
CATEGORY(1),
/**
* SORT = 2;
*/
SORT(2),
/**
* SALE = 3;
*/
SALE(3),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN_PRESENTATION_TYPE = 0;
*/
public static final int UNKNOWN_PRESENTATION_TYPE_VALUE = 0;
/**
* CATEGORY = 1;
*/
public static final int CATEGORY_VALUE = 1;
/**
* SORT = 2;
*/
public static final int SORT_VALUE = 2;
/**
* SALE = 3;
*/
public static final int SALE_VALUE = 3;
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 PresentationType valueOf(int value) {
return forNumber(value);
}
public static PresentationType forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_PRESENTATION_TYPE;
case 1: return CATEGORY;
case 2: return SORT;
case 3: return SALE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PresentationType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public PresentationType findValueByNumber(int number) {
return PresentationType.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.PresentationTypeOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final PresentationType[] VALUES = values();
public static PresentationType 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 PresentationType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Enums.PresentationType)
}
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/PresentationType.prot" +
"o\022\020POGOProtos.Enums*S\n\020PresentationType\022" +
"\035\n\031UNKNOWN_PRESENTATION_TYPE\020\000\022\014\n\010CATEGO" +
"RY\020\001\022\010\n\004SORT\020\002\022\010\n\004SALE\020\003b\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