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.v1beta1.FailoverInstanceRequest.DataProtectionMode
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DATA_PROTECTION_MODE_UNSPECIFIED |
Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified. |
DATA_PROTECTION_MODE_UNSPECIFIED_VALUE |
Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified. |
FORCE_DATA_LOSS |
Instance failover will be performed without data loss control. |
FORCE_DATA_LOSS_VALUE |
Instance failover will be performed without data loss control. |
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_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. |
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() |