public interface AcceleratorOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCount()
public abstract long getCount()
How many accelerators of this type to attach.
int64 count = 2;
Type | Description |
long | The count. |
getType()
public abstract String getType()
The accelerator type string (for example, "nvidia-tesla-k80").
Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is
attached, the required runtime libraries will be made available to all
containers under /usr/local/nvidia
. The driver version to install must
be specified using the NVIDIA driver version parameter on the virtual
machine specification. Note that attaching a GPU increases the worker VM
startup time by a few minutes.
string type = 1;
Type | Description |
String | The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()
The accelerator type string (for example, "nvidia-tesla-k80").
Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is
attached, the required runtime libraries will be made available to all
containers under /usr/local/nvidia
. The driver version to install must
be specified using the NVIDIA driver version parameter on the virtual
machine specification. Note that attaching a GPU increases the worker VM
startup time by a few minutes.
string type = 1;
Type | Description |
ByteString | The bytes for type. |