public static final class PersistenceConfig.RDBConfig.Builder extends GeneratedMessage.Builder<PersistenceConfig.RDBConfig.Builder> implements PersistenceConfig.RDBConfigOrBuilderConfiguration for RDB based persistence.
Protobuf type google.cloud.memorystore.v1.PersistenceConfig.RDBConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PersistenceConfig.RDBConfig.BuilderImplements
PersistenceConfig.RDBConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PersistenceConfig.RDBConfig build()| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig |
|
buildPartial()
public PersistenceConfig.RDBConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig |
|
clear()
public PersistenceConfig.RDBConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|
getDefaultInstanceForType()
public PersistenceConfig.RDBConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.SnapshotPeriod |
The rdbSnapshotPeriod. |
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PersistenceConfig.RDBConfig other)
public PersistenceConfig.RDBConfig.Builder mergeFrom(PersistenceConfig.RDBConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PersistenceConfig.RDBConfig |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PersistenceConfig.RDBConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PersistenceConfig.RDBConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
PersistenceConfig.RDBConfig.SnapshotPeriodThe rdbSnapshotPeriod to set. |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for rdbSnapshotPeriod to set. |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
PersistenceConfig.RDBConfig.Builder |
|