Interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getDiskSizeGb()
      Specifies the size of the disk in base-2 GB.
      String getInterface()
      Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
      com.google.protobuf.ByteString getInterfaceBytes()
      Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
      boolean hasDiskSizeGb()
      Specifies the size of the disk in base-2 GB.
      boolean hasInterface()
      Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
      • 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

      • hasDiskSizeGb

        boolean hasDiskSizeGb()
         Specifies the size of the disk in base-2 GB.
         
        optional int64 disk_size_gb = 316263735;
        Returns:
        Whether the diskSizeGb field is set.
      • getDiskSizeGb

        long getDiskSizeGb()
         Specifies the size of the disk in base-2 GB.
         
        optional int64 disk_size_gb = 316263735;
        Returns:
        The diskSizeGb.
      • hasInterface

        boolean hasInterface()
         Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
         Check the Interface enum for the list of possible values.
         
        optional string interface = 502623545;
        Returns:
        Whether the interface field is set.
      • getInterface

        String getInterface()
         Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
         Check the Interface enum for the list of possible values.
         
        optional string interface = 502623545;
        Returns:
        The interface.
      • getInterfaceBytes

        com.google.protobuf.ByteString getInterfaceBytes()
         Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
         Check the Interface enum for the list of possible values.
         
        optional string interface = 502623545;
        Returns:
        The bytes for interface.