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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
READ_ONLY |
Read-only replicas only support reads (not writes). |
READ_ONLY_VALUE |
Read-only replicas only support reads (not writes). |
READ_WRITE |
Read-write replicas support both reads and writes. |
READ_WRITE_VALUE |
Read-write replicas support both reads and writes. |
TYPE_UNSPECIFIED |
Not specified. |
TYPE_UNSPECIFIED_VALUE |
Not specified. |
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() |