publicfinalclass PersistenceConfigextendsGeneratedMessageV3implementsPersistenceConfigOrBuilder
Configuration of the persistence functionality.
Protobuf type google.cloud.redis.v1.PersistenceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PERSISTENCE_MODE_FIELD_NUMBER
publicstaticfinalintPERSISTENCE_MODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RDB_NEXT_SNAPSHOT_TIME_FIELD_NUMBER
publicstaticfinalintRDB_NEXT_SNAPSHOT_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RDB_SNAPSHOT_PERIOD_FIELD_NUMBER
publicstaticfinalintRDB_SNAPSHOT_PERIOD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RDB_SNAPSHOT_START_TIME_FIELD_NUMBER
publicstaticfinalintRDB_SNAPSHOT_START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticPersistenceConfiggetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticPersistenceConfig.BuildernewBuilder()
newBuilder(PersistenceConfig prototype)
publicstaticPersistenceConfig.BuildernewBuilder(PersistenceConfigprototype)
publicstaticPersistenceConfigparseDelimitedFrom(InputStreaminput)
publicstaticPersistenceConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticPersistenceConfigparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticPersistenceConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticPersistenceConfigparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticPersistenceConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticPersistenceConfigparseFrom(CodedInputStreaminput)
publicstaticPersistenceConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticPersistenceConfigparseFrom(InputStreaminput)
publicstaticPersistenceConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticPersistenceConfigparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticPersistenceConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<PersistenceConfig>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicPersistenceConfiggetDefaultInstanceForType()
getParserForType()
publicParser<PersistenceConfig>getParserForType()
Overrides
getPersistenceMode()
publicPersistenceConfig.PersistenceModegetPersistenceMode()
Optional. Controls whether Persistence features are enabled.
If not provided, the existing value will be used.
.google.cloud.redis.v1.PersistenceConfig.PersistenceMode persistence_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
getPersistenceModeValue()
publicintgetPersistenceModeValue()
Optional. Controls whether Persistence features are enabled.
If not provided, the existing value will be used.
.google.cloud.redis.v1.PersistenceConfig.PersistenceMode persistence_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for persistenceMode.
|
getRdbNextSnapshotTime()
publicTimestampgetRdbNextSnapshotTime()
Output only. The next time that a snapshot attempt is scheduled to occur.
.google.protobuf.Timestamp rdb_next_snapshot_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The rdbNextSnapshotTime.
|
getRdbNextSnapshotTimeOrBuilder()
publicTimestampOrBuildergetRdbNextSnapshotTimeOrBuilder()
Output only. The next time that a snapshot attempt is scheduled to occur.
.google.protobuf.Timestamp rdb_next_snapshot_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRdbSnapshotPeriod()
publicPersistenceConfig.SnapshotPeriodgetRdbSnapshotPeriod()
Optional. Period between RDB snapshots. Snapshots will be attempted every
period starting from the provided snapshot start time. For example, a start
time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing
until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,
18:45, and 00:45 the next day, and so on. If not provided,
TWENTY_FOUR_HOURS will be used as default.
.google.cloud.redis.v1.PersistenceConfig.SnapshotPeriod rdb_snapshot_period = 2 [(.google.api.field_behavior) = OPTIONAL];
getRdbSnapshotPeriodValue()
publicintgetRdbSnapshotPeriodValue()
Optional. Period between RDB snapshots. Snapshots will be attempted every
period starting from the provided snapshot start time. For example, a start
time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing
until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,
18:45, and 00:45 the next day, and so on. If not provided,
TWENTY_FOUR_HOURS will be used as default.
.google.cloud.redis.v1.PersistenceConfig.SnapshotPeriod rdb_snapshot_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for rdbSnapshotPeriod.
|
getRdbSnapshotStartTime()
publicTimestampgetRdbSnapshotStartTime()
Optional. Date and time that the first snapshot was/will be attempted, and
to which future snapshots will be aligned. If not provided, the current
time will be used.
.google.protobuf.Timestamp rdb_snapshot_start_time = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Timestamp |
The rdbSnapshotStartTime.
|
getRdbSnapshotStartTimeOrBuilder()
publicTimestampOrBuildergetRdbSnapshotStartTimeOrBuilder()
Optional. Date and time that the first snapshot was/will be attempted, and
to which future snapshots will be aligned. If not provided, the current
time will be used.
.google.protobuf.Timestamp rdb_snapshot_start_time = 5 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasRdbNextSnapshotTime()
publicbooleanhasRdbNextSnapshotTime()
Output only. The next time that a snapshot attempt is scheduled to occur.
.google.protobuf.Timestamp rdb_next_snapshot_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the rdbNextSnapshotTime field is set.
|
hasRdbSnapshotStartTime()
publicbooleanhasRdbSnapshotStartTime()
Optional. Date and time that the first snapshot was/will be attempted, and
to which future snapshots will be aligned. If not provided, the current
time will be used.
.google.protobuf.Timestamp rdb_snapshot_start_time = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the rdbSnapshotStartTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicPersistenceConfig.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedPersistenceConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicPersistenceConfig.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides