Class GcfsConfig.Builder (2.5.0)

public static final class GcfsConfig.Builder extends GeneratedMessageV3.Builder<GcfsConfig.Builder> implements GcfsConfigOrBuilder

GcfsConfig contains configurations of Google Container File System.

Protobuf type google.container.v1beta1.GcfsConfig

Implements

GcfsConfigOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcfsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcfsConfig.Builder
Overrides

build()

public GcfsConfig build()
Returns
TypeDescription
GcfsConfig

buildPartial()

public GcfsConfig buildPartial()
Returns
TypeDescription
GcfsConfig

clear()

public GcfsConfig.Builder clear()
Returns
TypeDescription
GcfsConfig.Builder
Overrides

clearEnabled()

public GcfsConfig.Builder clearEnabled()

Whether to use GCFS.

bool enabled = 1;

Returns
TypeDescription
GcfsConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GcfsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GcfsConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcfsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GcfsConfig.Builder
Overrides

clone()

public GcfsConfig.Builder clone()
Returns
TypeDescription
GcfsConfig.Builder
Overrides

getDefaultInstanceForType()

public GcfsConfig getDefaultInstanceForType()
Returns
TypeDescription
GcfsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether to use GCFS.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcfsConfig other)

public GcfsConfig.Builder mergeFrom(GcfsConfig other)
Parameter
NameDescription
otherGcfsConfig
Returns
TypeDescription
GcfsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcfsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcfsConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GcfsConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GcfsConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcfsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcfsConfig.Builder
Overrides

setEnabled(boolean value)

public GcfsConfig.Builder setEnabled(boolean value)

Whether to use GCFS.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
GcfsConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GcfsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcfsConfig.Builder
Overrides

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

public GcfsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GcfsConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GcfsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcfsConfig.Builder
Overrides