Class ClusterPersistenceConfig.RDBConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>
com.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.Builder
- All Implemented Interfaces:
ClusterPersistenceConfig.RDBConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ClusterPersistenceConfig.RDBConfig
public static final class ClusterPersistenceConfig.RDBConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>
implements ClusterPersistenceConfig.RDBConfigOrBuilder
Configuration of the RDB based persistence.Protobuf type
google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.intOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRdbSnapshotStartTime(com.google.protobuf.Timestamp value) Optional.Optional.setRdbSnapshotPeriodValue(int value) Optional.setRdbSnapshotStartTime(com.google.protobuf.Timestamp value) Optional.setRdbSnapshotStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>
-
mergeFrom
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(ClusterPersistenceConfig.RDBConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>
-
mergeFrom
public ClusterPersistenceConfig.RDBConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClusterPersistenceConfig.RDBConfig.Builder>- Throws:
IOException
-
getRdbSnapshotPeriodValue
public int getRdbSnapshotPeriodValue()Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRdbSnapshotPeriodValuein interfaceClusterPersistenceConfig.RDBConfigOrBuilder- Returns:
- The enum numeric value on the wire for rdbSnapshotPeriod.
-
setRdbSnapshotPeriodValue
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for rdbSnapshotPeriod to set.- Returns:
- This builder for chaining.
-
getRdbSnapshotPeriod
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRdbSnapshotPeriodin interfaceClusterPersistenceConfig.RDBConfigOrBuilder- Returns:
- The rdbSnapshotPeriod.
-
setRdbSnapshotPeriod
public ClusterPersistenceConfig.RDBConfig.Builder setRdbSnapshotPeriod(ClusterPersistenceConfig.RDBConfig.SnapshotPeriod value) Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The rdbSnapshotPeriod to set.- Returns:
- This builder for chaining.
-
clearRdbSnapshotPeriod
Optional. Period between RDB snapshots.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriod rdb_snapshot_period = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasRdbSnapshotStartTimein interfaceClusterPersistenceConfig.RDBConfigOrBuilder- Returns:
- Whether the rdbSnapshotStartTime field is set.
-
getRdbSnapshotStartTime
public com.google.protobuf.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];- Specified by:
getRdbSnapshotStartTimein interfaceClusterPersistenceConfig.RDBConfigOrBuilder- Returns:
- The rdbSnapshotStartTime.
-
setRdbSnapshotStartTime
public ClusterPersistenceConfig.RDBConfig.Builder setRdbSnapshotStartTime(com.google.protobuf.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
public ClusterPersistenceConfig.RDBConfig.Builder setRdbSnapshotStartTime(com.google.protobuf.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]; -
mergeRdbSnapshotStartTime
public ClusterPersistenceConfig.RDBConfig.Builder mergeRdbSnapshotStartTime(com.google.protobuf.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]; -
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]; -
getRdbSnapshotStartTimeBuilder
public com.google.protobuf.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 com.google.protobuf.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];- Specified by:
getRdbSnapshotStartTimeOrBuilderin interfaceClusterPersistenceConfig.RDBConfigOrBuilder
-