public enum ClusterPersistenceConfig.PersistenceMode extends Enum<ClusterPersistenceConfig.PersistenceMode> implements ProtocolMessageEnum
Available persistence modes.
Protobuf enum google.cloud.redis.cluster.v1.ClusterPersistenceConfig.PersistenceMode
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
AOF |
AOF based persistence is enabled. |
AOF_VALUE |
AOF based persistence is enabled. |
DISABLED |
Persistence is disabled, and any snapshot data is deleted. |
DISABLED_VALUE |
Persistence is disabled, and any snapshot data is deleted. |
PERSISTENCE_MODE_UNSPECIFIED |
Not set. |
PERSISTENCE_MODE_UNSPECIFIED_VALUE |
Not set. |
RDB |
RDB based persistence is enabled. |
RDB_VALUE |
RDB based persistence is enabled. |
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() |