Package com.google.container.v1
Interface AcceleratorConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AcceleratorConfig,AcceleratorConfig.Builder
@Generated
public interface AcceleratorConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe number of the accelerator cards exposed to an instance.The accelerator type resource name.com.google.protobuf.ByteStringThe accelerator type resource name.The configuration for auto installation of GPU driver.The configuration for auto installation of GPU driver.Size of partitions to create on the GPU.com.google.protobuf.ByteStringSize of partitions to create on the GPU.The configuration for GPU sharing options.The configuration for GPU sharing options.booleanThe configuration for auto installation of GPU driver.booleanThe configuration for GPU sharing options.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
-
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;
-