Package com.google.container.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAcceleratorCount()
The number of the accelerator cards exposed to an instance.String
getAcceleratorType()
The accelerator type resource name.com.google.protobuf.ByteString
getAcceleratorTypeBytes()
The accelerator type resource name.GPUDriverInstallationConfig
getGpuDriverInstallationConfig()
The configuration for auto installation of GPU driver.GPUDriverInstallationConfigOrBuilder
getGpuDriverInstallationConfigOrBuilder()
The configuration for auto installation of GPU driver.String
getGpuPartitionSize()
Size of partitions to create on the GPU.com.google.protobuf.ByteString
getGpuPartitionSizeBytes()
Size of partitions to create on the GPU.GPUSharingConfig
getGpuSharingConfig()
The configuration for GPU sharing options.GPUSharingConfigOrBuilder
getGpuSharingConfigOrBuilder()
The configuration for GPU sharing options.boolean
hasGpuDriverInstallationConfig()
The configuration for auto installation of GPU driver.boolean
hasGpuSharingConfig()
The configuration for GPU sharing options.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-