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 enum
google.bigtable.admin.v2.Table.ClusterState.ReplicationState-
Enum Constant Summary
Enum ConstantsEnum 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 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 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 unplanned or emergency maintenance. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe 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 final intThe table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.static final intThe table is fully created and ready for use after a restore, and is being optimized for performance.static final intThe table can serve Data API requests from this cluster.static final intThe replication state of the table is unknown in this cluster.static final intThe table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Table.ClusterState.ReplicationState>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified 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 Details
-
STATE_NOT_KNOWN
The replication state of the table is unknown in this cluster.
STATE_NOT_KNOWN = 0; -
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
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
PLANNED_MAINTENANCE = 2; -
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
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
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
-
-
Field Details
-
STATE_NOT_KNOWN_VALUE
public static final int STATE_NOT_KNOWN_VALUEThe replication state of the table is unknown in this cluster.
STATE_NOT_KNOWN = 0;- See Also:
-
INITIALIZING_VALUE
public static final int INITIALIZING_VALUEThe 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:
-
PLANNED_MAINTENANCE_VALUE
public static final int PLANNED_MAINTENANCE_VALUEThe table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
PLANNED_MAINTENANCE = 2;- See Also:
-
UNPLANNED_MAINTENANCE_VALUE
public static final int UNPLANNED_MAINTENANCE_VALUEThe table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.
UNPLANNED_MAINTENANCE = 3;- See Also:
-
READY_VALUE
public static final int READY_VALUEThe 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:
-
READY_OPTIMIZING_VALUE
public static final int READY_OPTIMIZING_VALUEThe 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:
-
-
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein 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
-