public enum PersistenceConfig.PersistenceMode extends Enum<PersistenceConfig.PersistenceMode> implements ProtocolMessageEnum
Possible persistence modes.
Protobuf enum google.cloud.memorystore.v1.PersistenceConfig.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() |