Interface AcceleratorsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    Number of accelerator cards exposed to the guest.
    The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
    com.google.protobuf.ByteString
    The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
    boolean
    Number of accelerator cards exposed to the guest.
    boolean
    The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.

    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

    • hasGuestAcceleratorCount

      boolean hasGuestAcceleratorCount()
       Number of accelerator cards exposed to the guest.
       
      optional int32 guest_accelerator_count = 479079316;
      Returns:
      Whether the guestAcceleratorCount field is set.
    • getGuestAcceleratorCount

      int getGuestAcceleratorCount()
       Number of accelerator cards exposed to the guest.
       
      optional int32 guest_accelerator_count = 479079316;
      Returns:
      The guestAcceleratorCount.
    • hasGuestAcceleratorType

      boolean hasGuestAcceleratorType()
       The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
       
      optional string guest_accelerator_type = 293064725;
      Returns:
      Whether the guestAcceleratorType field is set.
    • getGuestAcceleratorType

      String getGuestAcceleratorType()
       The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
       
      optional string guest_accelerator_type = 293064725;
      Returns:
      The guestAcceleratorType.
    • getGuestAcceleratorTypeBytes

      com.google.protobuf.ByteString getGuestAcceleratorTypeBytes()
       The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
       
      optional string guest_accelerator_type = 293064725;
      Returns:
      The bytes for guestAcceleratorType.