Enum DirectedReadOptions.ReplicaSelection.Type (6.66.0)

public enum DirectedReadOptions.ReplicaSelection.Type extends Enum<DirectedReadOptions.ReplicaSelection.Type> implements ProtocolMessageEnum

Indicates the type of replica.

Protobuf enum google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type

Implements

ProtocolMessageEnum

Static Fields

Name Description
READ_ONLY

Read-only replicas only support reads (not writes).

READ_ONLY = 2;

READ_ONLY_VALUE

Read-only replicas only support reads (not writes).

READ_ONLY = 2;

READ_WRITE

Read-write replicas support both reads and writes.

READ_WRITE = 1;

READ_WRITE_VALUE

Read-write replicas support both reads and writes.

READ_WRITE = 1;

TYPE_UNSPECIFIED

Not specified.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Not specified.

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