Class GcpFilestoreCsiDriverConfig.Builder (2.56.0)

public static final class GcpFilestoreCsiDriverConfig.Builder extends GeneratedMessageV3.Builder<GcpFilestoreCsiDriverConfig.Builder> implements GcpFilestoreCsiDriverConfigOrBuilder

Configuration for the GCP Filestore CSI driver.

Protobuf type google.container.v1.GcpFilestoreCsiDriverConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcpFilestoreCsiDriverConfig build()
Returns
Type Description
GcpFilestoreCsiDriverConfig

buildPartial()

public GcpFilestoreCsiDriverConfig buildPartial()
Returns
Type Description
GcpFilestoreCsiDriverConfig

clear()

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

clearEnabled()

public GcpFilestoreCsiDriverConfig.Builder clearEnabled()

Whether the GCP Filestore CSI driver is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
GcpFilestoreCsiDriverConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GcpFilestoreCsiDriverConfig getDefaultInstanceForType()
Returns
Type Description
GcpFilestoreCsiDriverConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether the GCP Filestore CSI driver is enabled for this cluster.

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(GcpFilestoreCsiDriverConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public GcpFilestoreCsiDriverConfig.Builder setEnabled(boolean value)

Whether the GCP Filestore CSI driver is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
GcpFilestoreCsiDriverConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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