public static enum Instance.Availability extends java.lang.Enum<Instance.Availability> implements ProtocolMessageEnum
Availability of the instance.Protobuf enum
google.appengine.v1.Instance.Availability
Enum Constant and Description |
---|
DYNAMIC
DYNAMIC = 2; |
RESIDENT
RESIDENT = 1; |
UNRECOGNIZED |
UNSPECIFIED
UNSPECIFIED = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
DYNAMIC_VALUE
DYNAMIC = 2; |
static int |
RESIDENT_VALUE
RESIDENT = 1; |
static int |
UNSPECIFIED_VALUE
UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static Instance.Availability |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Instance.Availability> |
internalGetValueMap() |
static Instance.Availability |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Instance.Availability |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.Availability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Availability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Availability UNSPECIFIED
UNSPECIFIED = 0;
public static final Instance.Availability RESIDENT
RESIDENT = 1;
public static final Instance.Availability DYNAMIC
DYNAMIC = 2;
public static final Instance.Availability UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
UNSPECIFIED = 0;
public static final int RESIDENT_VALUE
RESIDENT = 1;
public static final int DYNAMIC_VALUE
DYNAMIC = 2;
public static Instance.Availability[] values()
for (Instance.Availability c : Instance.Availability.values()) System.out.println(c);
public static Instance.Availability 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Instance.Availability valueOf(int value)
forNumber(int)
instead.public static Instance.Availability forNumber(int value)
public static Internal.EnumLiteMap<Instance.Availability> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Instance.Availability valueOf(Descriptors.EnumValueDescriptor desc)