- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ClusterPersistenceConfig.RDBConfig.Builder extends GeneratedMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder> implements ClusterPersistenceConfig.RDBConfigOrBuilderConfiguration of the RDB based persistence.
Protobuf type google.cloud.redis.cluster.v1.ClusterPersistenceConfig.RDBConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ClusterPersistenceConfig.RDBConfig.BuilderImplements
ClusterPersistenceConfig.RDBConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ClusterPersistenceConfig.RDBConfig build()| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig |
|
buildPartial()
public ClusterPersistenceConfig.RDBConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig |
|
clear()
public ClusterPersistenceConfig.RDBConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|
getDefaultInstanceForType()
public ClusterPersistenceConfig.RDBConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.SnapshotPeriod |
The rdbSnapshotPeriod. |
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ClusterPersistenceConfig.RDBConfig other)
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(ClusterPersistenceConfig.RDBConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ClusterPersistenceConfig.RDBConfig |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ClusterPersistenceConfig.RDBConfig.SnapshotPeriodThe rdbSnapshotPeriod to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for rdbSnapshotPeriod to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ClusterPersistenceConfig.RDBConfig.Builder |
|