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 Type
    Method
    Description
    The type of GPU sharing strategy to enable on the GPU node.
    int
    The type of GPU sharing strategy to enable on the GPU node.
    long
    The max number of containers that can share a physical GPU.
    boolean
    The type of GPU sharing strategy to enable on the GPU node.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.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.