Class GPUDriverInstallationConfig.Builder (2.86.0)

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

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

Protobuf type google.container.v1beta1.GPUDriverInstallationConfig

Static Methods

getDescriptor()

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

Methods

build()

public GPUDriverInstallationConfig build()
Returns
Type Description
GPUDriverInstallationConfig

buildPartial()

public GPUDriverInstallationConfig buildPartial()
Returns
Type Description
GPUDriverInstallationConfig

clear()

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

clearGpuDriverVersion()

public GPUDriverInstallationConfig.Builder clearGpuDriverVersion()

Mode for how the GPU driver is installed.

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

Returns
Type Description
GPUDriverInstallationConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public GPUDriverInstallationConfig getDefaultInstanceForType()
Returns
Type Description
GPUDriverInstallationConfig

getDescriptorForType()

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

getGpuDriverVersion()

public GPUDriverInstallationConfig.GPUDriverVersion getGpuDriverVersion()

Mode for how the GPU driver is installed.

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

Returns
Type Description
GPUDriverInstallationConfig.GPUDriverVersion

The gpuDriverVersion.

getGpuDriverVersionValue()

public int getGpuDriverVersionValue()

Mode for how the GPU driver is installed.

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

Returns
Type Description
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.v1beta1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Returns
Type Description
boolean

Whether the gpuDriverVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GPUDriverInstallationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GPUDriverInstallationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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.v1beta1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Parameter
Name Description
value GPUDriverInstallationConfig.GPUDriverVersion

The gpuDriverVersion to set.

Returns
Type Description
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.v1beta1.GPUDriverInstallationConfig.GPUDriverVersion gpu_driver_version = 1;

Parameter
Name Description
value int

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

Returns
Type Description
GPUDriverInstallationConfig.Builder

This builder for chaining.