public static enum Cluster.State extends java.lang.Enum<Cluster.State> implements ProtocolMessageEnum
Possible states of a cluster.Protobuf enum
google.bigtable.admin.v2.Cluster.State
Enum Constant and Description |
---|
CREATING
The cluster is currently being created, and may be destroyed
if the creation process encounters an error.
|
DISABLED
The cluster has no backing nodes.
|
READY
The cluster has been successfully created and is ready to serve requests.
|
RESIZING
The cluster is currently being resized, and may revert to its previous
node count if the process encounters an error.
|
STATE_NOT_KNOWN
The state of the cluster could not be determined.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CREATING_VALUE
The cluster is currently being created, and may be destroyed
if the creation process encounters an error.
|
static int |
DISABLED_VALUE
The cluster has no backing nodes.
|
static int |
READY_VALUE
The cluster has been successfully created and is ready to serve requests.
|
static int |
RESIZING_VALUE
The cluster is currently being resized, and may revert to its previous
node count if the process encounters an error.
|
static int |
STATE_NOT_KNOWN_VALUE
The state of the cluster could not be determined.
|
Modifier and Type | Method and Description |
---|---|
static Cluster.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Cluster.State> |
internalGetValueMap() |
static Cluster.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Cluster.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.State STATE_NOT_KNOWN
The state of the cluster could not be determined.
STATE_NOT_KNOWN = 0;
public static final Cluster.State READY
The cluster has been successfully created and is ready to serve requests.
READY = 1;
public static final Cluster.State CREATING
The cluster is currently being created, and may be destroyed if the creation process encounters an error. A cluster may not be able to serve requests while being created.
CREATING = 2;
public static final Cluster.State RESIZING
The cluster is currently being resized, and may revert to its previous node count if the process encounters an error. A cluster is still capable of serving requests while being resized, but may exhibit performance as if its number of allocated nodes is between the starting and requested states.
RESIZING = 3;
public static final Cluster.State DISABLED
The cluster has no backing nodes. The data (tables) still exist, but no operations can be performed on the cluster.
DISABLED = 4;
public static final Cluster.State UNRECOGNIZED
public static final int STATE_NOT_KNOWN_VALUE
The state of the cluster could not be determined.
STATE_NOT_KNOWN = 0;
public static final int READY_VALUE
The cluster has been successfully created and is ready to serve requests.
READY = 1;
public static final int CREATING_VALUE
The cluster is currently being created, and may be destroyed if the creation process encounters an error. A cluster may not be able to serve requests while being created.
CREATING = 2;
public static final int RESIZING_VALUE
The cluster is currently being resized, and may revert to its previous node count if the process encounters an error. A cluster is still capable of serving requests while being resized, but may exhibit performance as if its number of allocated nodes is between the starting and requested states.
RESIZING = 3;
public static final int DISABLED_VALUE
The cluster has no backing nodes. The data (tables) still exist, but no operations can be performed on the cluster.
DISABLED = 4;
public static Cluster.State[] values()
for (Cluster.State c : Cluster.State.values()) System.out.println(c);
public static Cluster.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.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Cluster.State valueOf(int value)
forNumber(int)
instead.public static Cluster.State forNumber(int value)
public static Internal.EnumLiteMap<Cluster.State> 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 Cluster.State valueOf(Descriptors.EnumValueDescriptor desc)