public interface AcceleratorConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getAcceleratorCount()
The number of the accelerator cards of this type exposed to this instance.
|
String |
getAcceleratorTypeUri()
Full URL, partial URI, or short name of the accelerator type resource to
expose to this instance.
|
ByteString |
getAcceleratorTypeUriBytes()
Full URL, partial URI, or short name of the accelerator type resource to
expose to this instance.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getAcceleratorTypeUri()
Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes). Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` * `nvidia-tesla-k80` **Auto Zone Exception**: If you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, `nvidia-tesla-k80`.
string accelerator_type_uri = 1;
ByteString getAcceleratorTypeUriBytes()
Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes). Examples: * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` * `nvidia-tesla-k80` **Auto Zone Exception**: If you are using the Dataproc [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, `nvidia-tesla-k80`.
string accelerator_type_uri = 1;
int getAcceleratorCount()
The number of the accelerator cards of this type exposed to this instance.
int32 accelerator_count = 2;
Copyright © 2022 Google LLC. All rights reserved.