Interface DiskSpecOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    Size in GB of the boot disk (default is 100GB).
    Type of the boot disk.
    com.google.protobuf.ByteString
    Type of the boot disk.

    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

    • getBootDiskType

      String getBootDiskType()
       Type of the boot disk. For non-A3U machines, the default value is
       "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
       Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
       "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
       
      string boot_disk_type = 1;
      Returns:
      The bootDiskType.
    • getBootDiskTypeBytes

      com.google.protobuf.ByteString getBootDiskTypeBytes()
       Type of the boot disk. For non-A3U machines, the default value is
       "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced".
       Valid values: "pd-ssd" (Persistent Disk Solid State Drive),
       "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
       
      string boot_disk_type = 1;
      Returns:
      The bytes for bootDiskType.
    • getBootDiskSizeGb

      int getBootDiskSizeGb()
       Size in GB of the boot disk (default is 100GB).
       
      int32 boot_disk_size_gb = 2;
      Returns:
      The bootDiskSizeGb.