Interface WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCount()
      Optional.
      String getType()
      Optional.
      com.google.protobuf.ByteString getTypeBytes()
      Optional.
      • 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()
         Optional. Type of accelerator resource to attach to the instance, for
         example,
         `"nvidia-tesla-p100"`.
         
        string type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Optional. Type of accelerator resource to attach to the instance, for
         example,
         `"nvidia-tesla-p100"`.
         
        string type = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for type.
      • getCount

        int getCount()
         Optional. Number of accelerator cards exposed to the instance.
         
        int32 count = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count.