Class GPUDriverInstallationConfig.Builder (2.27.0)

public static final class GPUDriverInstallationConfig.Builder extends GeneratedMessageV3.Builder<GPUDriverInstallationConfig.Builder> implements GPUDriverInstallationConfigOrBuilder

GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.

Protobuf type google.container.v1.GPUDriverInstallationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GPUDriverInstallationConfig build()
Returns
TypeDescription
GPUDriverInstallationConfig

buildPartial()

public GPUDriverInstallationConfig buildPartial()
Returns
TypeDescription
GPUDriverInstallationConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGpuDriverVersion()

public GPUDriverInstallationConfig.Builder clearGpuDriverVersion()

Mode for how the GPU driver is installed.

optional .google.container.v1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Returns
TypeDescription
GPUDriverInstallationConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GPUDriverInstallationConfig getDefaultInstanceForType()
Returns
TypeDescription
GPUDriverInstallationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGpuDriverVersion()

public GPUDriverInstallationConfig.GPUDriverVersion getGpuDriverVersion()

Mode for how the GPU driver is installed.

optional .google.container.v1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Returns
TypeDescription
GPUDriverInstallationConfig.GPUDriverVersion

The gpuDriverVersion.

getGpuDriverVersionValue()

public int getGpuDriverVersionValue()

Mode for how the GPU driver is installed.

optional .google.container.v1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for gpuDriverVersion.

hasGpuDriverVersion()

public boolean hasGpuDriverVersion()

Mode for how the GPU driver is installed.

optional .google.container.v1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Returns
TypeDescription
boolean

Whether the gpuDriverVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GPUDriverInstallationConfig other)

public GPUDriverInstallationConfig.Builder mergeFrom(GPUDriverInstallationConfig other)
Parameter
NameDescription
otherGPUDriverInstallationConfig
Returns
TypeDescription
GPUDriverInstallationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GPUDriverInstallationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GPUDriverInstallationConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setGpuDriverVersion(GPUDriverInstallationConfig.GPUDriverVersion value)

public GPUDriverInstallationConfig.Builder setGpuDriverVersion(GPUDriverInstallationConfig.GPUDriverVersion value)

Mode for how the GPU driver is installed.

optional .google.container.v1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Parameter
NameDescription
valueGPUDriverInstallationConfig.GPUDriverVersion

The gpuDriverVersion to set.

Returns
TypeDescription
GPUDriverInstallationConfig.Builder

This builder for chaining.

setGpuDriverVersionValue(int value)

public GPUDriverInstallationConfig.Builder setGpuDriverVersionValue(int value)

Mode for how the GPU driver is installed.

optional .google.container.v1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for gpuDriverVersion to set.

Returns
TypeDescription
GPUDriverInstallationConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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