Package com.google.cloud.dataproc.v1
Interface GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GkeNodePoolConfig.GkeNodePoolAcceleratorConfig
,GkeNodePoolConfig.GkeNodePoolAcceleratorConfig.Builder
- Enclosing class:
- GkeNodePoolConfig
public static interface GkeNodePoolConfig.GkeNodePoolAcceleratorConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAcceleratorCount()
The number of accelerator cards exposed to an instance.String
getAcceleratorType()
The accelerator type resource namename (see GPUs on Compute Engine).com.google.protobuf.ByteString
getAcceleratorTypeBytes()
The accelerator type resource namename (see GPUs on Compute Engine).String
getGpuPartitionSize()
Size of partitions to create on the GPU.com.google.protobuf.ByteString
getGpuPartitionSizeBytes()
Size of partitions to create on the GPU.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAcceleratorCount
long getAcceleratorCount()
The number of accelerator cards exposed to an instance.
int64 accelerator_count = 1;
- Returns:
- The acceleratorCount.
-
getAcceleratorType
String getAcceleratorType()
The accelerator type resource namename (see GPUs on Compute Engine).
string accelerator_type = 2;
- Returns:
- The acceleratorType.
-
getAcceleratorTypeBytes
com.google.protobuf.ByteString getAcceleratorTypeBytes()
The accelerator type resource namename (see GPUs on Compute Engine).
string accelerator_type = 2;
- Returns:
- The bytes for acceleratorType.
-
getGpuPartitionSize
String getGpuPartitionSize()
Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
string gpu_partition_size = 3;
- Returns:
- The gpuPartitionSize.
-
getGpuPartitionSizeBytes
com.google.protobuf.ByteString getGpuPartitionSizeBytes()
Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
string gpu_partition_size = 3;
- Returns:
- The bytes for gpuPartitionSize.
-
-