Class GPUDriverInstallationConfig.Builder (2.57.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.v1beta1.GPUDriverInstallationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public GPUDriverInstallationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GPUDriverInstallationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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