Enum PersistenceConfig.PersistenceMode (2.81.0)

publicenumPersistenceConfig.PersistenceModeextendsEnum<PersistenceConfig.PersistenceMode>implementsProtocolMessageEnum

Available Persistence modes.

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

Implements

ProtocolMessageEnum

Static Fields

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

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.