public enum Tablet.Role extends Enum<Tablet.Role> implements ProtocolMessageEnumIndicates the role of the tablet.
Protobuf enum google.spanner.v1.Tablet.Role
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
READ_ONLY |
The tablet can only perform reads. |
READ_ONLY_VALUE |
The tablet can only perform reads. |
READ_WRITE |
The tablet can perform reads and (if elected leader) writes. |
READ_WRITE_VALUE |
The tablet can perform reads and (if elected leader) writes. |
ROLE_UNSPECIFIED |
Not specified. |
ROLE_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() |
|