Class GcePersistentDiskCsiDriverConfig.Builder (2.46.0)

public static final class GcePersistentDiskCsiDriverConfig.Builder extends GeneratedMessageV3.Builder<GcePersistentDiskCsiDriverConfig.Builder> implements GcePersistentDiskCsiDriverConfigOrBuilder

Configuration for the Compute Engine PD CSI driver.

Protobuf type google.container.v1beta1.GcePersistentDiskCsiDriverConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcePersistentDiskCsiDriverConfig build()
Returns
Type Description
GcePersistentDiskCsiDriverConfig

buildPartial()

public GcePersistentDiskCsiDriverConfig buildPartial()
Returns
Type Description
GcePersistentDiskCsiDriverConfig

clear()

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

clearEnabled()

public GcePersistentDiskCsiDriverConfig.Builder clearEnabled()

Whether the Compute Engine PD CSI driver is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
GcePersistentDiskCsiDriverConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GcePersistentDiskCsiDriverConfig getDefaultInstanceForType()
Returns
Type Description
GcePersistentDiskCsiDriverConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether the Compute Engine PD 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(GcePersistentDiskCsiDriverConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public GcePersistentDiskCsiDriverConfig.Builder setEnabled(boolean value)

Whether the Compute Engine PD CSI driver is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
GcePersistentDiskCsiDriverConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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