@Generated(value="Generated by the protocol buffer compiler") public enum PageType extends java.lang.Enum<PageType> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
INTERSTITIAL |
NORMAL |
PAGE_TYPE_ERROR |
PAGE_TYPE_UNSPECIFIED
Reserved value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
INTERSTITIAL_VALUE |
static int |
NORMAL_VALUE |
static int |
PAGE_TYPE_ERROR_VALUE |
static int |
PAGE_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static PageType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<PageType> |
internalGetValueMap() |
static PageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PageType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageType PAGE_TYPE_UNSPECIFIED
public static final PageType NORMAL
public static final PageType PAGE_TYPE_ERROR
public static final PageType INTERSTITIAL
public static final PageType UNRECOGNIZED
public static final int PAGE_TYPE_UNSPECIFIED_VALUE
public static final int NORMAL_VALUE
public static final int PAGE_TYPE_ERROR_VALUE
public static final int INTERSTITIAL_VALUE
public static PageType[] values()
for (PageType c : PageType.values()) System.out.println(c);
public static PageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static PageType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PageType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PageType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)