Class GcePersistentDiskCsiDriverConfig.Builder (2.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcePersistentDiskCsiDriverConfig build()
Returns
TypeDescription
GcePersistentDiskCsiDriverConfig

buildPartial()

public GcePersistentDiskCsiDriverConfig buildPartial()
Returns
TypeDescription
GcePersistentDiskCsiDriverConfig

clear()

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

clearEnabled()

public GcePersistentDiskCsiDriverConfig.Builder clearEnabled()

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

bool enabled = 1;

Returns
TypeDescription
GcePersistentDiskCsiDriverConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GcePersistentDiskCsiDriverConfig getDefaultInstanceForType()
Returns
TypeDescription
GcePersistentDiskCsiDriverConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

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

public GcePersistentDiskCsiDriverConfig.Builder mergeFrom(GcePersistentDiskCsiDriverConfig other)
Parameter
NameDescription
otherGcePersistentDiskCsiDriverConfig
Returns
TypeDescription
GcePersistentDiskCsiDriverConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The enabled to set.

Returns
TypeDescription
GcePersistentDiskCsiDriverConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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