Class GcpFilestoreCsiDriverConfig.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcpFilestoreCsiDriverConfig build()
Returns
TypeDescription
GcpFilestoreCsiDriverConfig

buildPartial()

public GcpFilestoreCsiDriverConfig buildPartial()
Returns
TypeDescription
GcpFilestoreCsiDriverConfig

clear()

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

clearEnabled()

public GcpFilestoreCsiDriverConfig.Builder clearEnabled()

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

bool enabled = 1;

Returns
TypeDescription
GcpFilestoreCsiDriverConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GcpFilestoreCsiDriverConfig getDefaultInstanceForType()
Returns
TypeDescription
GcpFilestoreCsiDriverConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

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

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

public GcpFilestoreCsiDriverConfig.Builder mergeFrom(GcpFilestoreCsiDriverConfig other)
Parameter
NameDescription
otherGcpFilestoreCsiDriverConfig
Returns
TypeDescription
GcpFilestoreCsiDriverConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcpFilestoreCsiDriverConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
GcpFilestoreCsiDriverConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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