Enum DirectedReadOptions.ReplicaSelection.Type (6.55.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

NameDescription
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

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