public static enum Instance.State extends java.lang.Enum<Instance.State> implements ProtocolMessageEnum
Possible states of an instance.Protobuf enum
google.bigtable.admin.v2.Instance.State| Enum Constant and Description |
|---|
CREATING
The instance is currently being created, and may be destroyed
if the creation process encounters an error.
|
READY
The instance has been successfully created and can serve requests
to its tables.
|
STATE_NOT_KNOWN
The state of the instance could not be determined.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
The instance is currently being created, and may be destroyed
if the creation process encounters an error.
|
static int |
READY_VALUE
The instance has been successfully created and can serve requests
to its tables.
|
static int |
STATE_NOT_KNOWN_VALUE
The state of the instance could not be determined.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Instance.State> |
internalGetValueMap() |
static Instance.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Instance.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Instance.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.State STATE_NOT_KNOWN
The state of the instance could not be determined.
STATE_NOT_KNOWN = 0;public static final Instance.State READY
The instance has been successfully created and can serve requests to its tables.
READY = 1;public static final Instance.State CREATING
The instance is currently being created, and may be destroyed if the creation process encounters an error.
CREATING = 2;public static final Instance.State UNRECOGNIZED
public static final int STATE_NOT_KNOWN_VALUE
The state of the instance could not be determined.
STATE_NOT_KNOWN = 0;public static final int READY_VALUE
The instance has been successfully created and can serve requests to its tables.
READY = 1;public static final int CREATING_VALUE
The instance is currently being created, and may be destroyed if the creation process encounters an error.
CREATING = 2;public static Instance.State[] values()
for (Instance.State c : Instance.State.values()) System.out.println(c);
public static Instance.State 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.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static Instance.State valueOf(int value)
forNumber(int) instead.public static Instance.State forNumber(int value)
public static Internal.EnumLiteMap<Instance.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static Instance.State valueOf(Descriptors.EnumValueDescriptor desc)