Enum FailoverMode (2.75.0)

public enum FailoverMode extends Enum<FailoverMode> implements ProtocolMessageEnum

The failover mode when a user initiates a failover on a reservation determines how writes that arepending replication are handled after the failover is initiated.

Protobuf enum google.cloud.bigquery.reservation.v1.FailoverMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
FAILOVER_MODE_UNSPECIFIED

Invalid value.

FAILOVER_MODE_UNSPECIFIED = 0;

FAILOVER_MODE_UNSPECIFIED_VALUE

Invalid value.

FAILOVER_MODE_UNSPECIFIED = 0;

HARD

When customers initiate a hard failover, BigQuery will not wait until all committed writes are replicated to the secondary. There can be data loss for hard failover.

HARD = 2;

HARD_VALUE

When customers initiate a hard failover, BigQuery will not wait until all committed writes are replicated to the secondary. There can be data loss for hard failover.

HARD = 2;

SOFT

When customers initiate a soft failover, BigQuery will wait until all committed writes are replicated to the secondary. This mode requires both regions to be available for the failover to succeed and prevents data loss.

SOFT = 1;

SOFT_VALUE

When customers initiate a soft failover, BigQuery will wait until all committed writes are replicated to the secondary. This mode requires both regions to be available for the failover to succeed and prevents data loss.

SOFT = 1;

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