Package com.google.bigtable.admin.v2
Enum Table.ClusterState.ReplicationState
- java.lang.Object
-
- java.lang.Enum<Table.ClusterState.ReplicationState>
-
- com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Table.ClusterState.ReplicationState>
- Enclosing class:
- Table.ClusterState
public static enum Table.ClusterState.ReplicationState extends Enum<Table.ClusterState.ReplicationState> implements com.google.protobuf.ProtocolMessageEnum
Table replication states.
Protobuf enumgoogle.bigtable.admin.v2.Table.ClusterState.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.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.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 requests from this cluster due to unplanned or emergency maintenance.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field 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 requests.static int
PLANNED_MAINTENANCE_VALUE
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.static int
READY_OPTIMIZING_VALUE
The table is fully created and ready for use after a restore, and is being optimized for performance.static int
READY_VALUE
The table can serve Data API 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 requests from this cluster due to unplanned or emergency maintenance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Table.ClusterState.ReplicationState
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Table.ClusterState.ReplicationState>
internalGetValueMap()
static Table.ClusterState.ReplicationState
valueOf(int value)
Deprecated.static Table.ClusterState.ReplicationState
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Table.ClusterState.ReplicationState
valueOf(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.
-
-
-
Enum Constant Detail
-
STATE_NOT_KNOWN
public static final Table.ClusterState.ReplicationState STATE_NOT_KNOWN
The replication state of the table is unknown in this cluster.
STATE_NOT_KNOWN = 0;
-
INITIALIZING
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 requests.
INITIALIZING = 1;
-
PLANNED_MAINTENANCE
public static final Table.ClusterState.ReplicationState PLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
PLANNED_MAINTENANCE = 2;
-
UNPLANNED_MAINTENANCE
public static final Table.ClusterState.ReplicationState UNPLANNED_MAINTENANCE
The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.
UNPLANNED_MAINTENANCE = 3;
-
READY
public static final Table.ClusterState.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 = 4;
-
READY_OPTIMIZING
public static final Table.ClusterState.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.
READY_OPTIMIZING = 5;
-
UNRECOGNIZED
public static final Table.ClusterState.ReplicationState UNRECOGNIZED
-
-
Field Detail
-
STATE_NOT_KNOWN_VALUE
public static final int STATE_NOT_KNOWN_VALUE
The replication state of the table is unknown in this cluster.
STATE_NOT_KNOWN = 0;
- See Also:
- Constant Field Values
-
INITIALIZING_VALUE
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 requests.
INITIALIZING = 1;
- See Also:
- Constant Field Values
-
PLANNED_MAINTENANCE_VALUE
public static final int PLANNED_MAINTENANCE_VALUE
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
PLANNED_MAINTENANCE = 2;
- See Also:
- Constant Field Values
-
UNPLANNED_MAINTENANCE_VALUE
public static final int UNPLANNED_MAINTENANCE_VALUE
The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.
UNPLANNED_MAINTENANCE = 3;
- See Also:
- Constant Field Values
-
READY_VALUE
public static final int READY_VALUE
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 = 4;
- See Also:
- Constant Field Values
-
READY_OPTIMIZING_VALUE
public static final int READY_OPTIMIZING_VALUE
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.
READY_OPTIMIZING = 5;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Table.ClusterState.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.ClusterState.ReplicationState c : Table.ClusterState.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.ClusterState.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
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Table.ClusterState.ReplicationState valueOf(int value)
Deprecated.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:
value
- 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
-
forNumber
public static Table.ClusterState.ReplicationState forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Table.ClusterState.ReplicationState> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Table.ClusterState.ReplicationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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
-
-