Interface AcceleratorConfigOrBuilder

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

@Generated public interface AcceleratorConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The number of the guest accelerator cards exposed to this instance.
    Full or partial URL of the accelerator type resource to attach to this instance.
    com.google.protobuf.ByteString
    Full or partial URL of the accelerator type resource to attach to this instance.
    boolean
    The number of the guest accelerator cards exposed to this instance.
    boolean
    Full or partial URL of the accelerator type resource to attach to this instance.

    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 Details

    • hasAcceleratorCount

      boolean hasAcceleratorCount()
       The number of the guest accelerator cards exposed to this instance.
       
      optional int32 accelerator_count = 504879675;
      Returns:
      Whether the acceleratorCount field is set.
    • getAcceleratorCount

      int getAcceleratorCount()
       The number of the guest accelerator cards exposed to this instance.
       
      optional int32 accelerator_count = 504879675;
      Returns:
      The acceleratorCount.
    • hasAcceleratorType

      boolean hasAcceleratorType()
       Full or partial URL of the accelerator type resource to attach to this
       instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
       If you are creating an instance template, specify only the
       accelerator name.
       See GPUs on Compute Engine
       for a full list of accelerator types.
       
      optional string accelerator_type = 138031246;
      Returns:
      Whether the acceleratorType field is set.
    • getAcceleratorType

      String getAcceleratorType()
       Full or partial URL of the accelerator type resource to attach to this
       instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
       If you are creating an instance template, specify only the
       accelerator name.
       See GPUs on Compute Engine
       for a full list of accelerator types.
       
      optional string accelerator_type = 138031246;
      Returns:
      The acceleratorType.
    • getAcceleratorTypeBytes

      com.google.protobuf.ByteString getAcceleratorTypeBytes()
       Full or partial URL of the accelerator type resource to attach to this
       instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
       If you are creating an instance template, specify only the
       accelerator name.
       See GPUs on Compute Engine
       for a full list of accelerator types.
       
      optional string accelerator_type = 138031246;
      Returns:
      The bytes for acceleratorType.