public static enum Table.ClusterState.ReplicationState extends java.lang.Enum<Table.ClusterState.ReplicationState> implements ProtocolMessageEnum
Table replication states.Protobuf enum
google.bigtable.admin.v2.Table.ClusterState.ReplicationState
Enum Constant and Description |
---|
INITIALIZING
The cluster was recently created, and the table must finish copying
over pre-existing data from other clusters before it can begin
receiving live replication updates and serving
[Data API][google.bigtable.v2.Bigtable] requests.
|
PLANNED_MAINTENANCE
The table is temporarily unable to serve
[Data API][google.bigtable.v2.Bigtable] requests from this
cluster due to planned internal maintenance.
|
READY
The table can serve
[Data API][google.bigtable.v2.Bigtable] requests from this
cluster.
|
STATE_NOT_KNOWN
The replication state of the table is unknown in this cluster.
|
UNPLANNED_MAINTENANCE
The table is temporarily unable to serve
[Data API][google.bigtable.v2.Bigtable] requests from this
cluster due to unplanned or emergency maintenance.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
INITIALIZING_VALUE
The cluster was recently created, and the table must finish copying
over pre-existing data from other clusters before it can begin
receiving live replication updates and serving
[Data API][google.bigtable.v2.Bigtable] requests.
|
static int |
PLANNED_MAINTENANCE_VALUE
The table is temporarily unable to serve
[Data API][google.bigtable.v2.Bigtable] requests from this
cluster due to planned internal maintenance.
|
static int |
READY_VALUE
The table can serve
[Data API][google.bigtable.v2.Bigtable] requests from this
cluster.
|
static int |
STATE_NOT_KNOWN_VALUE
The replication state of the table is unknown in this cluster.
|
static int |
UNPLANNED_MAINTENANCE_VALUE
The table is temporarily unable to serve
[Data API][google.bigtable.v2.Bigtable] requests from this
cluster due to unplanned or emergency maintenance.
|
Modifier and Type | Method and Description |
---|---|
static Table.ClusterState.ReplicationState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Table.ClusterState.ReplicationState> |
internalGetValueMap() |
static Table.ClusterState.ReplicationState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Table.ClusterState.ReplicationState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Table.ClusterState.ReplicationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Table.ClusterState.ReplicationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.ClusterState.ReplicationState STATE_NOT_KNOWN
The replication state of the table is unknown in this cluster.
STATE_NOT_KNOWN = 0;
public static final Table.ClusterState.ReplicationState INITIALIZING
The cluster was recently created, and the table must finish copying over pre-existing data from other clusters before it can begin receiving live replication updates and serving [Data API][google.bigtable.v2.Bigtable] requests.
INITIALIZING = 1;
public static final Table.ClusterState.ReplicationState PLANNED_MAINTENANCE
The table is temporarily unable to serve [Data API][google.bigtable.v2.Bigtable] requests from this cluster due to planned internal maintenance.
PLANNED_MAINTENANCE = 2;
public static final Table.ClusterState.ReplicationState UNPLANNED_MAINTENANCE
The table is temporarily unable to serve [Data API][google.bigtable.v2.Bigtable] requests from this cluster due to unplanned or emergency maintenance.
UNPLANNED_MAINTENANCE = 3;
public static final Table.ClusterState.ReplicationState READY
The table can serve [Data API][google.bigtable.v2.Bigtable] requests from this cluster. Depending on replication delay, reads may not immediately reflect the state of the table in other clusters.
READY = 4;
public static final Table.ClusterState.ReplicationState UNRECOGNIZED
public static final int STATE_NOT_KNOWN_VALUE
The replication state of the table is unknown in this cluster.
STATE_NOT_KNOWN = 0;
public static final int INITIALIZING_VALUE
The cluster was recently created, and the table must finish copying over pre-existing data from other clusters before it can begin receiving live replication updates and serving [Data API][google.bigtable.v2.Bigtable] requests.
INITIALIZING = 1;
public static final int PLANNED_MAINTENANCE_VALUE
The table is temporarily unable to serve [Data API][google.bigtable.v2.Bigtable] requests from this cluster due to planned internal maintenance.
PLANNED_MAINTENANCE = 2;
public static final int UNPLANNED_MAINTENANCE_VALUE
The table is temporarily unable to serve [Data API][google.bigtable.v2.Bigtable] requests from this cluster due to unplanned or emergency maintenance.
UNPLANNED_MAINTENANCE = 3;
public static final int READY_VALUE
The table can serve [Data API][google.bigtable.v2.Bigtable] requests from this cluster. Depending on replication delay, reads may not immediately reflect the state of the table in other clusters.
READY = 4;
public static Table.ClusterState.ReplicationState[] values()
for (Table.ClusterState.ReplicationState c : Table.ClusterState.ReplicationState.values()) System.out.println(c);
public static Table.ClusterState.ReplicationState 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 Table.ClusterState.ReplicationState valueOf(int value)
forNumber(int)
instead.public static Table.ClusterState.ReplicationState forNumber(int value)
public static Internal.EnumLiteMap<Table.ClusterState.ReplicationState> 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 Table.ClusterState.ReplicationState valueOf(Descriptors.EnumValueDescriptor desc)