Enum PersistenceConfig.PersistenceMode (2.33.0)

public enum PersistenceConfig.PersistenceMode extends Enum<PersistenceConfig.PersistenceMode> implements ProtocolMessageEnum

Available Persistence modes.

Protobuf enum google.cloud.redis.v1.PersistenceConfig.PersistenceMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DISABLED

Persistence is disabled for the instance, and any existing snapshots are deleted.

DISABLED = 1;

DISABLED_VALUE

Persistence is disabled for the instance, and any existing snapshots are deleted.

DISABLED = 1;

PERSISTENCE_MODE_UNSPECIFIED

Not set.

PERSISTENCE_MODE_UNSPECIFIED = 0;

PERSISTENCE_MODE_UNSPECIFIED_VALUE

Not set.

PERSISTENCE_MODE_UNSPECIFIED = 0;

RDB

RDB based Persistence is enabled.

RDB = 2;

RDB_VALUE

RDB based Persistence is enabled.

RDB = 2;

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