Enum FailoverInstanceRequest.DataProtectionMode (2.14.0)

public enum FailoverInstanceRequest.DataProtectionMode extends Enum<FailoverInstanceRequest.DataProtectionMode> implements ProtocolMessageEnum

Specifies different modes of operation in relation to the data retention.

Protobuf enum google.cloud.redis.v1.FailoverInstanceRequest.DataProtectionMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DATA_PROTECTION_MODE_UNSPECIFIED

Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.

DATA_PROTECTION_MODE_UNSPECIFIED = 0;

DATA_PROTECTION_MODE_UNSPECIFIED_VALUE

Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.

DATA_PROTECTION_MODE_UNSPECIFIED = 0;

FORCE_DATA_LOSS

Instance failover will be performed without data loss control.

FORCE_DATA_LOSS = 2;

FORCE_DATA_LOSS_VALUE

Instance failover will be performed without data loss control.

FORCE_DATA_LOSS = 2;

LIMITED_DATA_LOSS

Instance failover will be protected with data loss control. More specifically, the failover will only be performed if the current replication offset diff between primary and replica is under a certain threshold.

LIMITED_DATA_LOSS = 1;

LIMITED_DATA_LOSS_VALUE

Instance failover will be protected with data loss control. More specifically, the failover will only be performed if the current replication offset diff between primary and replica is under a certain threshold.

LIMITED_DATA_LOSS = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()