Package com.google.container.v1beta1
Interface GPUSharingConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GPUSharingConfig,GPUSharingConfig.Builder
public interface GPUSharingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GPUSharingConfig.GPUSharingStrategygetGpuSharingStrategy()The type of GPU sharing strategy to enable on the GPU node.intgetGpuSharingStrategyValue()The type of GPU sharing strategy to enable on the GPU node.longgetMaxSharedClientsPerGpu()The max number of containers that can share a physical GPU.booleanhasGpuSharingStrategy()The type of GPU sharing strategy to enable on the GPU node.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMaxSharedClientsPerGpu
long getMaxSharedClientsPerGpu()
The max number of containers that can share a physical GPU.
int64 max_shared_clients_per_gpu = 1;- Returns:
- The maxSharedClientsPerGpu.
-
hasGpuSharingStrategy
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:
- Whether the gpuSharingStrategy field is set.
-
getGpuSharingStrategyValue
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:
- The enum numeric value on the wire for gpuSharingStrategy.
-
getGpuSharingStrategy
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:
- The gpuSharingStrategy.
-
-