Interface AcceleratorConfigOrBuilder (4.50.0)

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
Type Description
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/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4
  • projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4
  • nvidia-tesla-t4

    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-t4.

string accelerator_type_uri = 1;

Returns
Type Description
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/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4
  • projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4
  • nvidia-tesla-t4

    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-t4.

string accelerator_type_uri = 1;

Returns
Type Description
ByteString

The bytes for acceleratorTypeUri.