public static final class PersistenceConfig.RDBConfig.Builder extends GeneratedMessageV3.Builder<PersistenceConfig.RDBConfig.Builder> implements PersistenceConfig.RDBConfigOrBuilder
Configuration for RDB based persistence.
Protobuf type google.cloud.memorystore.v1.PersistenceConfig.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 PersistenceConfig.RDBConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PersistenceConfig.RDBConfig build()
buildPartial()
public PersistenceConfig.RDBConfig buildPartial()
clear()
public PersistenceConfig.RDBConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PersistenceConfig.RDBConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PersistenceConfig.RDBConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRdbSnapshotPeriod()
public PersistenceConfig.RDBConfig.Builder clearRdbSnapshotPeriod()
Optional. Period between RDB snapshots.
.google.cloud.memorystore.v1.PersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
clearRdbSnapshotStartTime()
public PersistenceConfig.RDBConfig.Builder clearRdbSnapshotStartTime()
Optional. 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 PersistenceConfig.RDBConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PersistenceConfig.RDBConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRdbSnapshotPeriod()
public PersistenceConfig.RDBConfig.SnapshotPeriod getRdbSnapshotPeriod()
Optional. Period between RDB snapshots.
.google.cloud.memorystore.v1.PersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
getRdbSnapshotPeriodValue()
public int getRdbSnapshotPeriodValue()
Optional. Period between RDB snapshots.
.google.cloud.memorystore.v1.PersistenceConfig.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. 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. 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. 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. 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(PersistenceConfig.RDBConfig other)
public PersistenceConfig.RDBConfig.Builder mergeFrom(PersistenceConfig.RDBConfig other)
public PersistenceConfig.RDBConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PersistenceConfig.RDBConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRdbSnapshotStartTime(Timestamp value)
public PersistenceConfig.RDBConfig.Builder mergeRdbSnapshotStartTime(Timestamp value)
Optional. 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 PersistenceConfig.RDBConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PersistenceConfig.RDBConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRdbSnapshotPeriod(PersistenceConfig.RDBConfig.SnapshotPeriod value)
public PersistenceConfig.RDBConfig.Builder setRdbSnapshotPeriod(PersistenceConfig.RDBConfig.SnapshotPeriod value)
Optional. Period between RDB snapshots.
.google.cloud.memorystore.v1.PersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];
setRdbSnapshotPeriodValue(int value)
public PersistenceConfig.RDBConfig.Builder setRdbSnapshotPeriodValue(int value)
Optional. Period between RDB snapshots.
.google.cloud.memorystore.v1.PersistenceConfig.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 PersistenceConfig.RDBConfig.Builder setRdbSnapshotStartTime(Timestamp value)
Optional. 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 PersistenceConfig.RDBConfig.Builder setRdbSnapshotStartTime(Timestamp.Builder builderForValue)
Optional. 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 PersistenceConfig.RDBConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PersistenceConfig.RDBConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides