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
-
Enum Constant Summary
Enum ConstantDescriptionThe 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.The replication state of the table is unknown in this cluster.The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.The table can serve Data API requests from this cluster.The table is fully created and ready for use after a restore, and is being optimized for performance.The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.The replication state of table is not known by this client. -
Method Summary
Modifier and TypeMethodDescriptionstatic Table.ReplicationState
fromProto
(com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState proto) Wraps the protobuf.com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState
toProto()
Creates the request protobuf.static Table.ReplicationState
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 Details
-
NOT_KNOWN
The replication state of the table is unknown in this cluster. -
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
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance. -
UNPLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance. -
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
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
The replication state of table is not known by this client. Please upgrade your client.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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(com.google.bigtable.admin.v2.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 com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState toProto()Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
-