public static interface AllocationPolicy.AcceleratorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
The number of accelerators of this type.
|
String |
getDriverVersion()
Optional.
|
com.google.protobuf.ByteString |
getDriverVersionBytes()
Optional.
|
boolean |
getInstallGpuDrivers()
Deprecated.
google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
deprecated. See google/cloud/batch/v1/job.proto;l=386
|
String |
getType()
The accelerator type.
|
com.google.protobuf.ByteString |
getTypeBytes()
The accelerator type.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getType()
The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`.
string type = 1;com.google.protobuf.ByteString getTypeBytes()
The accelerator type. For example, "nvidia-tesla-t4". See `gcloud compute accelerator-types list`.
string type = 1;long getCount()
The number of accelerators of this type.
int64 count = 2;@Deprecated boolean getInstallGpuDrivers()
Deprecated: please use instances[0].install_gpu_drivers instead.
bool install_gpu_drivers = 3 [deprecated = true];String getDriverVersion()
Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getDriverVersionBytes()
Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2025 Google LLC. All rights reserved.