Enum FailoverInstanceRequest.DataProtectionMode (2.81.0)

publicenumFailoverInstanceRequest.DataProtectionModeextendsEnum<FailoverInstanceRequest.DataProtectionMode>implementsProtocolMessageEnum

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

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.