Package com.google.cloud.dataproc.v1
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 Modifier and Type Method 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.com.google.protobuf.ByteString
getAcceleratorTypeUriBytes()
Full URL, partial URI, or short name of the accelerator type resource to expose to this instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAcceleratorTypeUri
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/v1/acceleratorTypes). Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80` * `projects/[project_id]/zones/[zone]/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;
- Returns:
- The acceleratorTypeUri.
-
getAcceleratorTypeUriBytes
com.google.protobuf.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/v1/acceleratorTypes). Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80` * `projects/[project_id]/zones/[zone]/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;
- Returns:
- The bytes for acceleratorTypeUri.
-
getAcceleratorCount
int getAcceleratorCount()
The number of the accelerator cards of this type exposed to this instance.
int32 accelerator_count = 2;
- Returns:
- The acceleratorCount.
-
-