Interface GPUSharingConfigOrBuilder (2.31.0)

public interface GPUSharingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGpuSharingStrategy()

public abstract GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy()

The type of GPU sharing strategy to enable on the GPU node.

optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2;

Returns
TypeDescription
GPUSharingConfig.GPUSharingStrategy

The gpuSharingStrategy.

getGpuSharingStrategyValue()

public abstract int getGpuSharingStrategyValue()

The type of GPU sharing strategy to enable on the GPU node.

optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for gpuSharingStrategy.

getMaxSharedClientsPerGpu()

public abstract long getMaxSharedClientsPerGpu()

The max number of containers that can share a physical GPU.

int64 max_shared_clients_per_gpu = 1;

Returns
TypeDescription
long

The maxSharedClientsPerGpu.

hasGpuSharingStrategy()

public abstract boolean hasGpuSharingStrategy()

The type of GPU sharing strategy to enable on the GPU node.

optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2;

Returns
TypeDescription
boolean

Whether the gpuSharingStrategy field is set.