Package com.google.container.v1
Interface GPUSharingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GPUSharingConfig,GPUSharingConfig.Builder
@Generated
public interface GPUSharingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe type of GPU sharing strategy to enable on the GPU node.intThe type of GPU sharing strategy to enable on the GPU node.longThe max number of containers that can share a physical GPU.booleanThe type of GPU sharing strategy to enable on the GPU node.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGpuSharingStrategy
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:
- Whether the gpuSharingStrategy field is set.
-
getGpuSharingStrategyValue
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:
- 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.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2;- Returns:
- The gpuSharingStrategy.