Package com.google.container.v1beta1
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 Deprecated Methods Modifier and Type Method Description longgetAcceleratorCount()The number of the accelerator cards exposed to an instance.StringgetAcceleratorType()The accelerator type resource name.com.google.protobuf.ByteStringgetAcceleratorTypeBytes()The accelerator type resource name.GPUDriverInstallationConfiggetGpuDriverInstallationConfig()The configuration for auto installation of GPU driver.GPUDriverInstallationConfigOrBuildergetGpuDriverInstallationConfigOrBuilder()The configuration for auto installation of GPU driver.StringgetGpuPartitionSize()Size of partitions to create on the GPU.com.google.protobuf.ByteStringgetGpuPartitionSizeBytes()Size of partitions to create on the GPU.GPUSharingConfiggetGpuSharingConfig()The configuration for GPU sharing options.GPUSharingConfigOrBuildergetGpuSharingConfigOrBuilder()The configuration for GPU sharing options.longgetMaxTimeSharedClientsPerGpu()Deprecated.google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated.booleanhasGpuDriverInstallationConfig()The configuration for auto installation of GPU driver.booleanhasGpuSharingConfig()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.
-
getMaxTimeSharedClientsPerGpu
@Deprecated long getMaxTimeSharedClientsPerGpu()
Deprecated.google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. See google/container/v1beta1/cluster_service.proto;l=4516The number of time-shared GPU resources to expose for each physical GPU.
int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];- Returns:
- The maxTimeSharedClientsPerGpu.
-
hasGpuSharingConfig
boolean hasGpuSharingConfig()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;- Returns:
- Whether the gpuSharingConfig field is set.
-
getGpuSharingConfig
GPUSharingConfig getGpuSharingConfig()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;- Returns:
- The gpuSharingConfig.
-
getGpuSharingConfigOrBuilder
GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder()
The configuration for GPU sharing options.
optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;
-
hasGpuDriverInstallationConfig
boolean hasGpuDriverInstallationConfig()
The configuration for auto installation of GPU driver.
optional .google.container.v1beta1.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.v1beta1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;- Returns:
- The gpuDriverInstallationConfig.
-
getGpuDriverInstallationConfigOrBuilder
GPUDriverInstallationConfigOrBuilder getGpuDriverInstallationConfigOrBuilder()
The configuration for auto installation of GPU driver.
optional .google.container.v1beta1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;
-
-