Interface AcceleratorConfigOrBuilder

public interface AcceleratorConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorCount()

public abstract int getAcceleratorCount()

The number of the accelerator cards of this type exposed to this instance.

int32 accelerator_count = 2;

Returns
TypeDescription
int

The acceleratorCount.

getAcceleratorTypeUri()

public abstract String getAcceleratorTypeUri()

Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine 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 feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.

string accelerator_type_uri = 1;

Returns
TypeDescription
String

The acceleratorTypeUri.

getAcceleratorTypeUriBytes()

public abstract ByteString getAcceleratorTypeUriBytes()

Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine 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 feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.

string accelerator_type_uri = 1;

Returns
TypeDescription
ByteString

The bytes for acceleratorTypeUri.