public interface GPUSharingConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGpuSharingStrategy()
public abstract GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy()The type of GPU sharing strategy to enable on the GPU node.
optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2;
| Returns | |
|---|---|
| Type | Description |
GPUSharingConfig.GPUSharingStrategy |
The gpuSharingStrategy. |
getGpuSharingStrategyValue()
public abstract int getGpuSharingStrategyValue()The type of GPU sharing strategy to enable on the GPU node.
optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
long |
The maxSharedClientsPerGpu. |
hasGpuSharingStrategy()
public abstract boolean hasGpuSharingStrategy()The type of GPU sharing strategy to enable on the GPU node.
optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gpuSharingStrategy field is set. |