Class GcfsConfig.Builder (2.45.0)

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

GcfsConfig contains configurations of Google Container File System (image streaming).

Protobuf type google.container.v1.GcfsConfig

Implements

GcfsConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcfsConfig build()
Returns
Type Description
GcfsConfig

buildPartial()

public GcfsConfig buildPartial()
Returns
Type Description
GcfsConfig

clear()

public GcfsConfig.Builder clear()
Returns
Type Description
GcfsConfig.Builder
Overrides

clearEnabled()

public GcfsConfig.Builder clearEnabled()

Whether to use GCFS.

bool enabled = 1;

Returns
Type Description
GcfsConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GcfsConfig.Builder clone()
Returns
Type Description
GcfsConfig.Builder
Overrides

getDefaultInstanceForType()

public GcfsConfig getDefaultInstanceForType()
Returns
Type Description
GcfsConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether to use GCFS.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcfsConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public GcfsConfig.Builder setEnabled(boolean value)

Whether to use GCFS.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
GcfsConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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