Enum PromoteClusterStatus.State (0.44.0)

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

ProtocolMessageEnum

Static Fields

Name Description
PROMOTE_CLUSTER_AVAILABLE_FOR_READ

The database is only available for read.

PROMOTE_CLUSTER_AVAILABLE_FOR_READ = 1;

PROMOTE_CLUSTER_AVAILABLE_FOR_READ_VALUE

The database is only available for read.

PROMOTE_CLUSTER_AVAILABLE_FOR_READ = 1;

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 = 2;

PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE_VALUE

The database is available for both read and write. The promote operation is near completion.

PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE = 2;

PROMOTE_CLUSTER_COMPLETED

The promote operation is completed and the database is available for write.

PROMOTE_CLUSTER_COMPLETED = 3;

PROMOTE_CLUSTER_COMPLETED_VALUE

The promote operation is completed and the database is available for write.

PROMOTE_CLUSTER_COMPLETED = 3;

STATE_UNSPECIFIED

The state of the database is unknown.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The state of the database is unknown.

STATE_UNSPECIFIED = 0;

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()