Enum Tablet.Role (6.107.0)

public enum Tablet.Role extends Enum<Tablet.Role> implements ProtocolMessageEnum

Indicates the role of the tablet.

Protobuf enum google.spanner.v1.Tablet.Role

Implements

ProtocolMessageEnum

Static Fields

Name Description
READ_ONLY

The tablet can only perform reads.

READ_ONLY = 2;

READ_ONLY_VALUE

The tablet can only perform reads.

READ_ONLY = 2;

READ_WRITE

The tablet can perform reads and (if elected leader) writes.

READ_WRITE = 1;

READ_WRITE_VALUE

The tablet can perform reads and (if elected leader) writes.

READ_WRITE = 1;

ROLE_UNSPECIFIED

Not specified.

ROLE_UNSPECIFIED = 0;

ROLE_UNSPECIFIED_VALUE

Not specified.

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