public static final class ClusterPersistenceConfig.RDBConfig.Builder extends GeneratedMessageV3.Builder<ClusterPersistenceConfig.RDBConfig.Builder> implements ClusterPersistenceConfig.RDBConfigOrBuilder
Configuration of the RDB based persistence.
Protobuf type google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClusterPersistenceConfig.RDBConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ClusterPersistenceConfig.RDBConfig build()
buildPartial()
public ClusterPersistenceConfig.RDBConfig buildPartial()
clear()
public ClusterPersistenceConfig.RDBConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ClusterPersistenceConfig.RDBConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterPersistenceConfig.RDBConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRdbSnapshotPeriod()
public ClusterPersistenceConfig.RDBConfig.Builder clearRdbSnapshotPeriod()
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
clearRdbSnapshotStartTime()
public ClusterPersistenceConfig.RDBConfig.Builder clearRdbSnapshotStartTime()
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public ClusterPersistenceConfig.RDBConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ClusterPersistenceConfig.RDBConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRdbSnapshotPeriod()
public ClusterPersistenceConfig.RDBConfig.SnapshotPeriod getRdbSnapshotPeriod()
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
getRdbSnapshotPeriodValue()
public int getRdbSnapshotPeriodValue()
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for rdbSnapshotPeriod.
|
getRdbSnapshotStartTime()
public Timestamp getRdbSnapshotStartTime()
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Timestamp |
The rdbSnapshotStartTime.
|
getRdbSnapshotStartTimeBuilder()
public Timestamp.Builder getRdbSnapshotStartTimeBuilder()
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
getRdbSnapshotStartTimeOrBuilder()
public TimestampOrBuilder getRdbSnapshotStartTimeOrBuilder()
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
hasRdbSnapshotStartTime()
public boolean hasRdbSnapshotStartTime()
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the rdbSnapshotStartTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ClusterPersistenceConfig.RDBConfig other)
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(ClusterPersistenceConfig.RDBConfig other)
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRdbSnapshotStartTime(Timestamp value)
public ClusterPersistenceConfig.RDBConfig.Builder mergeRdbSnapshotStartTime(Timestamp value)
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterPersistenceConfig.RDBConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ClusterPersistenceConfig.RDBConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRdbSnapshotPeriod(ClusterPersistenceConfig.RDBConfig.SnapshotPeriod value)
public ClusterPersistenceConfig.RDBConfig.Builder setRdbSnapshotPeriod(ClusterPersistenceConfig.RDBConfig.SnapshotPeriod value)
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
setRdbSnapshotPeriodValue(int value)
public ClusterPersistenceConfig.RDBConfig.Builder setRdbSnapshotPeriodValue(int value)
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for rdbSnapshotPeriod to set.
|
setRdbSnapshotStartTime(Timestamp value)
public ClusterPersistenceConfig.RDBConfig.Builder setRdbSnapshotStartTime(Timestamp value)
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
setRdbSnapshotStartTime(Timestamp.Builder builderForValue)
public ClusterPersistenceConfig.RDBConfig.Builder setRdbSnapshotStartTime(Timestamp.Builder builderForValue)
Optional. The 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClusterPersistenceConfig.RDBConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterPersistenceConfig.RDBConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides