public enum PromoteClusterStatus.State extends Enum<PromoteClusterStatus.State> implements ProtocolMessageEnum
State contains all valid states of the database during promote cluster operation. This is used for status reporting through the LRO metadata.
Protobuf enum google.cloud.alloydb.v1alpha.PromoteClusterStatus.State
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
PROMOTE_CLUSTER_AVAILABLE_FOR_READ |
The database is only available for read. |
PROMOTE_CLUSTER_AVAILABLE_FOR_READ_VALUE |
The database is only available for read. |
PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE |
The database is available for both read and write. The promote operation is near completion. |
PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE_VALUE |
The database is available for both read and write. The promote operation is near completion. |
PROMOTE_CLUSTER_COMPLETED |
The promote operation is completed and the database is available for write. |
PROMOTE_CLUSTER_COMPLETED_VALUE |
The promote operation is completed and the database is available for write. |
STATE_UNSPECIFIED |
The state of the database is unknown. |
STATE_UNSPECIFIED_VALUE |
The state of the database is unknown. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |