Class GPUDirectConfig.Builder (2.86.0)

public static final class GPUDirectConfig.Builder extends GeneratedMessage.Builder<GPUDirectConfig.Builder> implements GPUDirectConfigOrBuilder

GPUDirectConfig specifies the GPU direct strategy on the node pool.

Protobuf type google.container.v1.GPUDirectConfig

Static Methods

getDescriptor()

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

Methods

build()

public GPUDirectConfig build()
Returns
Type Description
GPUDirectConfig

buildPartial()

public GPUDirectConfig buildPartial()
Returns
Type Description
GPUDirectConfig

clear()

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

clearGpuDirectStrategy()

public GPUDirectConfig.Builder clearGpuDirectStrategy()

The type of GPU direct strategy to enable on the node pool.

optional .google.container.v1.GPUDirectConfig.GPUDirectStrategy gpu_direct_strategy = 1;

Returns
Type Description
GPUDirectConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public GPUDirectConfig getDefaultInstanceForType()
Returns
Type Description
GPUDirectConfig

getDescriptorForType()

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

getGpuDirectStrategy()

public GPUDirectConfig.GPUDirectStrategy getGpuDirectStrategy()

The type of GPU direct strategy to enable on the node pool.

optional .google.container.v1.GPUDirectConfig.GPUDirectStrategy gpu_direct_strategy = 1;

Returns
Type Description
GPUDirectConfig.GPUDirectStrategy

The gpuDirectStrategy.

getGpuDirectStrategyValue()

public int getGpuDirectStrategyValue()

The type of GPU direct strategy to enable on the node pool.

optional .google.container.v1.GPUDirectConfig.GPUDirectStrategy gpu_direct_strategy = 1;

Returns
Type Description
int

The enum numeric value on the wire for gpuDirectStrategy.

hasGpuDirectStrategy()

public boolean hasGpuDirectStrategy()

The type of GPU direct strategy to enable on the node pool.

optional .google.container.v1.GPUDirectConfig.GPUDirectStrategy gpu_direct_strategy = 1;

Returns
Type Description
boolean

Whether the gpuDirectStrategy field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GPUDirectConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGpuDirectStrategy(GPUDirectConfig.GPUDirectStrategy value)

public GPUDirectConfig.Builder setGpuDirectStrategy(GPUDirectConfig.GPUDirectStrategy value)

The type of GPU direct strategy to enable on the node pool.

optional .google.container.v1.GPUDirectConfig.GPUDirectStrategy gpu_direct_strategy = 1;

Parameter
Name Description
value GPUDirectConfig.GPUDirectStrategy

The gpuDirectStrategy to set.

Returns
Type Description
GPUDirectConfig.Builder

This builder for chaining.

setGpuDirectStrategyValue(int value)

public GPUDirectConfig.Builder setGpuDirectStrategyValue(int value)

The type of GPU direct strategy to enable on the node pool.

optional .google.container.v1.GPUDirectConfig.GPUDirectStrategy gpu_direct_strategy = 1;

Parameter
Name Description
value int

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

Returns
Type Description
GPUDirectConfig.Builder

This builder for chaining.