public static final class ClusterPersistenceConfig.Builder extends GeneratedMessageV3.Builder<ClusterPersistenceConfig.Builder> implements ClusterPersistenceConfigOrBuilder
Configuration of the persistence functionality.
Protobuf type google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ClusterPersistenceConfig build()
buildPartial()
public ClusterPersistenceConfig buildPartial()
clear()
public ClusterPersistenceConfig.Builder clear()
Overrides
clearAofConfig()
public ClusterPersistenceConfig.Builder clearAofConfig()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public ClusterPersistenceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMode()
public ClusterPersistenceConfig.Builder clearMode()
Optional. The mode of persistence.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterPersistenceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRdbConfig()
public ClusterPersistenceConfig.Builder clearRdbConfig()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public ClusterPersistenceConfig.Builder clone()
Overrides
getAofConfig()
public ClusterPersistenceConfig.AOFConfig getAofConfig()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getAofConfigBuilder()
public ClusterPersistenceConfig.AOFConfig.Builder getAofConfigBuilder()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getAofConfigOrBuilder()
public ClusterPersistenceConfig.AOFConfigOrBuilder getAofConfigOrBuilder()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ClusterPersistenceConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMode()
public ClusterPersistenceConfig.PersistenceMode getMode()
Optional. The mode of persistence.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
getModeValue()
public int getModeValue()
Optional. The mode of persistence.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
getRdbConfig()
public ClusterPersistenceConfig.RDBConfig getRdbConfig()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getRdbConfigBuilder()
public ClusterPersistenceConfig.RDBConfig.Builder getRdbConfigBuilder()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getRdbConfigOrBuilder()
public ClusterPersistenceConfig.RDBConfigOrBuilder getRdbConfigOrBuilder()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
hasAofConfig()
public boolean hasAofConfig()
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the aofConfig field is set.
|
hasRdbConfig()
public boolean hasRdbConfig()
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the rdbConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAofConfig(ClusterPersistenceConfig.AOFConfig value)
public ClusterPersistenceConfig.Builder mergeAofConfig(ClusterPersistenceConfig.AOFConfig value)
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
mergeFrom(ClusterPersistenceConfig other)
public ClusterPersistenceConfig.Builder mergeFrom(ClusterPersistenceConfig other)
public ClusterPersistenceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ClusterPersistenceConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRdbConfig(ClusterPersistenceConfig.RDBConfig value)
public ClusterPersistenceConfig.Builder mergeRdbConfig(ClusterPersistenceConfig.RDBConfig value)
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterPersistenceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAofConfig(ClusterPersistenceConfig.AOFConfig value)
public ClusterPersistenceConfig.Builder setAofConfig(ClusterPersistenceConfig.AOFConfig value)
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
setAofConfig(ClusterPersistenceConfig.AOFConfig.Builder builderForValue)
public ClusterPersistenceConfig.Builder setAofConfig(ClusterPersistenceConfig.AOFConfig.Builder builderForValue)
Optional. AOF configuration. This field will be ignored if mode is not AOF.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public ClusterPersistenceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMode(ClusterPersistenceConfig.PersistenceMode value)
public ClusterPersistenceConfig.Builder setMode(ClusterPersistenceConfig.PersistenceMode value)
Optional. The mode of persistence.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
setModeValue(int value)
public ClusterPersistenceConfig.Builder setModeValue(int value)
Optional. The mode of persistence.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mode to set.
|
setRdbConfig(ClusterPersistenceConfig.RDBConfig value)
public ClusterPersistenceConfig.Builder setRdbConfig(ClusterPersistenceConfig.RDBConfig value)
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
setRdbConfig(ClusterPersistenceConfig.RDBConfig.Builder builderForValue)
public ClusterPersistenceConfig.Builder setRdbConfig(ClusterPersistenceConfig.RDBConfig.Builder builderForValue)
Optional. RDB configuration. This field will be ignored if mode is not RDB.
.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClusterPersistenceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterPersistenceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides