Enum InstanceConfig.QuorumType (6.85.0)

public enum InstanceConfig.QuorumType extends Enum<InstanceConfig.QuorumType> implements ProtocolMessageEnum

Indicates the quorum type of this instance configuration.

Protobuf enum google.spanner.admin.instance.v1.InstanceConfig.QuorumType

Implements

ProtocolMessageEnum

Static Fields

Name Description
DUAL_REGION

An instance configuration tagged with the DUAL_REGION quorum type forms a write quorum with exactly two read-write regions in a multi-region configuration.

This instance configuration requires failover in the event of regional failures.

DUAL_REGION = 2;

DUAL_REGION_VALUE

An instance configuration tagged with the DUAL_REGION quorum type forms a write quorum with exactly two read-write regions in a multi-region configuration.

This instance configuration requires failover in the event of regional failures.

DUAL_REGION = 2;

MULTI_REGION

An instance configuration tagged with the MULTI_REGION quorum type forms a write quorum from replicas that are spread across more than one region in a multi-region configuration.

MULTI_REGION = 3;

MULTI_REGION_VALUE

An instance configuration tagged with the MULTI_REGION quorum type forms a write quorum from replicas that are spread across more than one region in a multi-region configuration.

MULTI_REGION = 3;

QUORUM_TYPE_UNSPECIFIED

Quorum type not specified.

QUORUM_TYPE_UNSPECIFIED = 0;

QUORUM_TYPE_UNSPECIFIED_VALUE

Quorum type not specified.

QUORUM_TYPE_UNSPECIFIED = 0;

REGION

An instance configuration tagged with REGION quorum type forms a write quorum in a single region.

REGION = 1;

REGION_VALUE

An instance configuration tagged with REGION quorum type forms a write quorum in a single region.

REGION = 1;

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