Class ClusterPersistenceConfig.AOFConfig.Builder (0.24.0)

public static final class ClusterPersistenceConfig.AOFConfig.Builder extends GeneratedMessageV3.Builder<ClusterPersistenceConfig.AOFConfig.Builder> implements ClusterPersistenceConfig.AOFConfigOrBuilder

Configuration of the AOF based persistence.

Protobuf type google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClusterPersistenceConfig.AOFConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

build()

public ClusterPersistenceConfig.AOFConfig build()
Returns
Type Description
ClusterPersistenceConfig.AOFConfig

buildPartial()

public ClusterPersistenceConfig.AOFConfig buildPartial()
Returns
Type Description
ClusterPersistenceConfig.AOFConfig

clear()

public ClusterPersistenceConfig.AOFConfig.Builder clear()
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

clearAppendFsync()

public ClusterPersistenceConfig.AOFConfig.Builder clearAppendFsync()

Optional. fsync configuration.

.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ClusterPersistenceConfig.AOFConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClusterPersistenceConfig.AOFConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

clone()

public ClusterPersistenceConfig.AOFConfig.Builder clone()
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

getAppendFsync()

public ClusterPersistenceConfig.AOFConfig.AppendFsync getAppendFsync()

Optional. fsync configuration.

.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ClusterPersistenceConfig.AOFConfig.AppendFsync

The appendFsync.

getAppendFsyncValue()

public int getAppendFsyncValue()

Optional. fsync configuration.

.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for appendFsync.

getDefaultInstanceForType()

public ClusterPersistenceConfig.AOFConfig getDefaultInstanceForType()
Returns
Type Description
ClusterPersistenceConfig.AOFConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClusterPersistenceConfig.AOFConfig other)

public ClusterPersistenceConfig.AOFConfig.Builder mergeFrom(ClusterPersistenceConfig.AOFConfig other)
Parameter
Name Description
other ClusterPersistenceConfig.AOFConfig
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClusterPersistenceConfig.AOFConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClusterPersistenceConfig.AOFConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClusterPersistenceConfig.AOFConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

setAppendFsync(ClusterPersistenceConfig.AOFConfig.AppendFsync value)

public ClusterPersistenceConfig.AOFConfig.Builder setAppendFsync(ClusterPersistenceConfig.AOFConfig.AppendFsync value)

Optional. fsync configuration.

.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ClusterPersistenceConfig.AOFConfig.AppendFsync

The appendFsync to set.

Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder

This builder for chaining.

setAppendFsyncValue(int value)

public ClusterPersistenceConfig.AOFConfig.Builder setAppendFsyncValue(int value)

Optional. fsync configuration.

.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for appendFsync to set.

Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClusterPersistenceConfig.AOFConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClusterPersistenceConfig.AOFConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClusterPersistenceConfig.AOFConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterPersistenceConfig.AOFConfig.Builder
Overrides