Interface AcceleratorOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Accelerator, Accelerator.Builder

    public interface AcceleratorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCount()
      How many accelerators of this type to attach.
      String getType()
      The accelerator type string (for example, "nvidia-tesla-k80").
      com.google.protobuf.ByteString getTypeBytes()
      The accelerator type string (for example, "nvidia-tesla-k80").
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getType

        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;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.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;
        Returns:
        The bytes for type.
      • getCount

        long getCount()
         How many accelerators of this type to attach.
         
        int64 count = 2;
        Returns:
        The count.