Interface PersistentDiskSpecOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    Size in GB of the disk (default is 100GB).
    Type of the disk (default is "pd-standard").
    com.google.protobuf.ByteString
    Type of the disk (default is "pd-standard").

    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

    • getDiskType

      String getDiskType()
       Type of the disk (default is "pd-standard").
       Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
       "pd-standard" (Persistent Disk Hard Disk Drive)
       "pd-balanced" (Balanced Persistent Disk)
       "pd-extreme" (Extreme Persistent Disk)
       
      string disk_type = 1;
      Returns:
      The diskType.
    • getDiskTypeBytes

      com.google.protobuf.ByteString getDiskTypeBytes()
       Type of the disk (default is "pd-standard").
       Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
       "pd-standard" (Persistent Disk Hard Disk Drive)
       "pd-balanced" (Balanced Persistent Disk)
       "pd-extreme" (Extreme Persistent Disk)
       
      string disk_type = 1;
      Returns:
      The bytes for diskType.
    • getDiskSizeGb

      long getDiskSizeGb()
       Size in GB of the disk (default is 100GB).
       
      int64 disk_size_gb = 2;
      Returns:
      The diskSizeGb.