Enum HiveCatalog.Replica.State (0.76.0)

public enum HiveCatalog.Replica.State extends Enum<HiveCatalog.Replica.State> implements ProtocolMessageEnum

If the catalog is replicated to multiple regions, this enum describes the current state of the replica.

Protobuf enum google.cloud.biglake.hive.v1beta.HiveCatalog.Replica.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
STATE_PRIMARY

Indicates the replica is the writable primary.

STATE_PRIMARY = 1;

STATE_PRIMARY_IN_PROGRESS

Indicates the replica has been recently assigned as the primary, but not all databases are writeable yet.

STATE_PRIMARY_IN_PROGRESS = 2;

STATE_PRIMARY_IN_PROGRESS_VALUE

Indicates the replica has been recently assigned as the primary, but not all databases are writeable yet.

STATE_PRIMARY_IN_PROGRESS = 2;

STATE_PRIMARY_VALUE

Indicates the replica is the writable primary.

STATE_PRIMARY = 1;

STATE_SECONDARY

Indicates the replica is a read-only secondary replica.

STATE_SECONDARY = 3;

STATE_SECONDARY_VALUE

Indicates the replica is a read-only secondary replica.

STATE_SECONDARY = 3;

STATE_UNSPECIFIED

The replica state is unknown.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The replica state is unknown.

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