Enum Table.ReplicationState
- java.lang.Object
-
- java.lang.Enum<Table.ReplicationState>
-
- com.google.cloud.bigtable.admin.v2.models.Table.ReplicationState
-
- All Implemented Interfaces:
Serializable
,Comparable<Table.ReplicationState>
- Enclosing class:
- Table
public static enum Table.ReplicationState extends Enum<Table.ReplicationState>
-
-
Enum Constant Summary
Enum Constants Enum Constant 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 requests.NOT_KNOWN
The replication state of the table is unknown in this cluster.PLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.READY
The table can serve Data API requests from this cluster.READY_OPTIMIZING
The table is fully created and ready for use after a restore, and is being optimized for performance.UNPLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.UNRECOGNIZED
The replication state of table is not known by this client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Table.ReplicationState
fromProto(Table.ClusterState.ReplicationState proto)
Wraps the protobuf.Table.ClusterState.ReplicationState
toProto()
Creates the request protobuf.static Table.ReplicationState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Table.ReplicationState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_KNOWN
public static final Table.ReplicationState NOT_KNOWN
The replication state of the table is unknown in this cluster.
-
INITIALIZING
public static final Table.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 requests.
-
PLANNED_MAINTENANCE
public static final Table.ReplicationState PLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
-
UNPLANNED_MAINTENANCE
public static final Table.ReplicationState UNPLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.
-
READY
public static final Table.ReplicationState READY
The table can serve Data API requests from this cluster. Depending on replication delay, reads may not immediately reflect the state of the table in other clusters.
-
READY_OPTIMIZING
public static final Table.ReplicationState READY_OPTIMIZING
The table is fully created and ready for use after a restore, and is being optimized for performance. When optimizations are complete, the table will transition to `READY` state.
-
UNRECOGNIZED
public static final Table.ReplicationState UNRECOGNIZED
The replication state of table is not known by this client. Please upgrade your client.
-
-
Method Detail
-
values
public static Table.ReplicationState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Table.ReplicationState c : Table.ReplicationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Table.ReplicationState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromProto
@InternalApi public static Table.ReplicationState fromProto(Table.ClusterState.ReplicationState proto)
Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
-
toProto
@InternalApi public Table.ClusterState.ReplicationState toProto()
Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
-
-