Enum Cluster.ClusterType (0.30.0)

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

Type of Cluster

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()