Class PersistenceConfig.AOFConfig.Builder (0.1.0)

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

Configuration for AOF based persistence.

Protobuf type google.cloud.memorystore.v1.PersistenceConfig.AOFConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAppendFsync()

public PersistenceConfig.AOFConfig.Builder clearAppendFsync()

Optional. The fsync mode.

.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PersistenceConfig.AOFConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAppendFsync()

public PersistenceConfig.AOFConfig.AppendFsync getAppendFsync()

Optional. The fsync mode.

.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PersistenceConfig.AOFConfig.AppendFsync

The appendFsync.

getAppendFsyncValue()

public int getAppendFsyncValue()

Optional. The fsync mode.

.google.cloud.memorystore.v1.PersistenceConfig.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 PersistenceConfig.AOFConfig getDefaultInstanceForType()
Returns
Type Description
PersistenceConfig.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(PersistenceConfig.AOFConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppendFsync(PersistenceConfig.AOFConfig.AppendFsync value)

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

Optional. The fsync mode.

.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig.AppendFsync append_fsync = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PersistenceConfig.AOFConfig.AppendFsync

The appendFsync to set.

Returns
Type Description
PersistenceConfig.AOFConfig.Builder

This builder for chaining.

setAppendFsyncValue(int value)

public PersistenceConfig.AOFConfig.Builder setAppendFsyncValue(int value)

Optional. The fsync mode.

.google.cloud.memorystore.v1.PersistenceConfig.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
PersistenceConfig.AOFConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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