Interface LocalDiskOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    Specifies the number of such disks.
    int
    Specifies the size of the disk in base-2 GB.
    Specifies the desired disk type on the node.
    com.google.protobuf.ByteString
    Specifies the desired disk type on the node.
    boolean
    Specifies the number of such disks.
    boolean
    Specifies the size of the disk in base-2 GB.
    boolean
    Specifies the desired disk type on the node.

    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

    • hasDiskCount

      boolean hasDiskCount()
       Specifies the number of such disks.
       
      optional int32 disk_count = 182933485;
      Returns:
      Whether the diskCount field is set.
    • getDiskCount

      int getDiskCount()
       Specifies the number of such disks.
       
      optional int32 disk_count = 182933485;
      Returns:
      The diskCount.
    • hasDiskSizeGb

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

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

      boolean hasDiskType()
       Specifies the desired disk type on the node. This disk type must be a
       local storage type (e.g.: local-ssd).
       Note that for nodeTemplates, this should be the name of the disk type and
       not its URL.
       
      optional string disk_type = 93009052;
      Returns:
      Whether the diskType field is set.
    • getDiskType

      String getDiskType()
       Specifies the desired disk type on the node. This disk type must be a
       local storage type (e.g.: local-ssd).
       Note that for nodeTemplates, this should be the name of the disk type and
       not its URL.
       
      optional string disk_type = 93009052;
      Returns:
      The diskType.
    • getDiskTypeBytes

      com.google.protobuf.ByteString getDiskTypeBytes()
       Specifies the desired disk type on the node. This disk type must be a
       local storage type (e.g.: local-ssd).
       Note that for nodeTemplates, this should be the name of the disk type and
       not its URL.
       
      optional string disk_type = 93009052;
      Returns:
      The bytes for diskType.