Interface AcceleratorConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AcceleratorConfig, AcceleratorConfig.Builder

    public interface AcceleratorConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getAcceleratorCount

        long getAcceleratorCount()
         The number of the accelerator cards exposed to an instance.
         
        int64 accelerator_count = 1;
        Returns:
        The acceleratorCount.
      • getAcceleratorType

        String getAcceleratorType()
         The accelerator type resource name. List of supported accelerators
         [here](https://cloud.google.com/compute/docs/gpus)
         
        string accelerator_type = 2;
        Returns:
        The acceleratorType.
      • getAcceleratorTypeBytes

        com.google.protobuf.ByteString getAcceleratorTypeBytes()
         The accelerator type resource name. List of supported accelerators
         [here](https://cloud.google.com/compute/docs/gpus)
         
        string accelerator_type = 2;
        Returns:
        The bytes for acceleratorType.
      • getGpuPartitionSize

        String getGpuPartitionSize()
         Size of partitions to create on the GPU. Valid values are described in the
         NVIDIA [mig user
         guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
         
        string gpu_partition_size = 3;
        Returns:
        The gpuPartitionSize.
      • getGpuPartitionSizeBytes

        com.google.protobuf.ByteString getGpuPartitionSizeBytes()
         Size of partitions to create on the GPU. Valid values are described in the
         NVIDIA [mig user
         guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
         
        string gpu_partition_size = 3;
        Returns:
        The bytes for gpuPartitionSize.
      • hasGpuSharingConfig

        boolean hasGpuSharingConfig()
         The configuration for GPU sharing options.
         
        optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5;
        Returns:
        Whether the gpuSharingConfig field is set.
      • getGpuSharingConfig

        GPUSharingConfig getGpuSharingConfig()
         The configuration for GPU sharing options.
         
        optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5;
        Returns:
        The gpuSharingConfig.
      • getGpuSharingConfigOrBuilder

        GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder()
         The configuration for GPU sharing options.
         
        optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5;
      • hasGpuDriverInstallationConfig

        boolean hasGpuDriverInstallationConfig()
         The configuration for auto installation of GPU driver.
         
        optional .google.container.v1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;
        Returns:
        Whether the gpuDriverInstallationConfig field is set.
      • getGpuDriverInstallationConfig

        GPUDriverInstallationConfig getGpuDriverInstallationConfig()
         The configuration for auto installation of GPU driver.
         
        optional .google.container.v1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;
        Returns:
        The gpuDriverInstallationConfig.
      • getGpuDriverInstallationConfigOrBuilder

        GPUDriverInstallationConfigOrBuilder getGpuDriverInstallationConfigOrBuilder()
         The configuration for auto installation of GPU driver.
         
        optional .google.container.v1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;