Enum Cluster.ClusterType (0.16.0)

public enum Cluster.ClusterType extends Enum<Cluster.ClusterType> implements ProtocolMessageEnum

Type of Cluster

Protobuf enum google.cloud.alloydb.v1.Cluster.ClusterType

Implements

ProtocolMessageEnum

Static Fields

Name Description
CLUSTER_TYPE_UNSPECIFIED

The type of the cluster is unknown.

CLUSTER_TYPE_UNSPECIFIED = 0;

CLUSTER_TYPE_UNSPECIFIED_VALUE

The type of the cluster is unknown.

CLUSTER_TYPE_UNSPECIFIED = 0;

PRIMARY

Primary cluster that support read and write operations.

PRIMARY = 1;

PRIMARY_VALUE

Primary cluster that support read and write operations.

PRIMARY = 1;

SECONDARY

Secondary cluster that is replicating from another region. This only supports read.

SECONDARY = 2;

SECONDARY_VALUE

Secondary cluster that is replicating from another region. This only supports read.

SECONDARY = 2;

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