Interface StoragePoolDiskOrBuilder

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

@Generated public interface StoragePoolDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getAttachedInstancesList

      List<String> getAttachedInstancesList()
       Output only. [Output Only] Instances this disk is attached to.
       
      repeated string attached_instances = 65255843;
      Returns:
      A list containing the attachedInstances.
    • getAttachedInstancesCount

      int getAttachedInstancesCount()
       Output only. [Output Only] Instances this disk is attached to.
       
      repeated string attached_instances = 65255843;
      Returns:
      The count of attachedInstances.
    • getAttachedInstances

      String getAttachedInstances(int index)
       Output only. [Output Only] Instances this disk is attached to.
       
      repeated string attached_instances = 65255843;
      Parameters:
      index - The index of the element to return.
      Returns:
      The attachedInstances at the given index.
    • getAttachedInstancesBytes

      com.google.protobuf.ByteString getAttachedInstancesBytes(int index)
       Output only. [Output Only] Instances this disk is attached to.
       
      repeated string attached_instances = 65255843;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the attachedInstances at the given index.
    • hasCreationTimestamp

      boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The bytes for creationTimestamp.
    • hasDisk

      boolean hasDisk()
       Output only. [Output Only] The URL of the disk.
       
      optional string disk = 3083677;
      Returns:
      Whether the disk field is set.
    • getDisk

      String getDisk()
       Output only. [Output Only] The URL of the disk.
       
      optional string disk = 3083677;
      Returns:
      The disk.
    • getDiskBytes

      com.google.protobuf.ByteString getDiskBytes()
       Output only. [Output Only] The URL of the disk.
       
      optional string disk = 3083677;
      Returns:
      The bytes for disk.
    • hasName

      boolean hasName()
       Output only. [Output Only] The name of the disk.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Output only. [Output Only] The name of the disk.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. [Output Only] The name of the disk.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • hasProvisionedIops

      boolean hasProvisionedIops()
       Output only. [Output Only] The number of IOPS provisioned for the disk.
       
      optional int64 provisioned_iops = 186769108;
      Returns:
      Whether the provisionedIops field is set.
    • getProvisionedIops

      long getProvisionedIops()
       Output only. [Output Only] The number of IOPS provisioned for the disk.
       
      optional int64 provisioned_iops = 186769108;
      Returns:
      The provisionedIops.
    • hasProvisionedThroughput

      boolean hasProvisionedThroughput()
       Output only. [Output Only] The throughput provisioned for the disk.
       
      optional int64 provisioned_throughput = 526524181;
      Returns:
      Whether the provisionedThroughput field is set.
    • getProvisionedThroughput

      long getProvisionedThroughput()
       Output only. [Output Only] The throughput provisioned for the disk.
       
      optional int64 provisioned_throughput = 526524181;
      Returns:
      The provisionedThroughput.
    • getResourcePoliciesList

      List<String> getResourcePoliciesList()
       Output only. [Output Only] Resource policies applied to disk for automatic snapshot
       creations.
       
      repeated string resource_policies = 22220385;
      Returns:
      A list containing the resourcePolicies.
    • getResourcePoliciesCount

      int getResourcePoliciesCount()
       Output only. [Output Only] Resource policies applied to disk for automatic snapshot
       creations.
       
      repeated string resource_policies = 22220385;
      Returns:
      The count of resourcePolicies.
    • getResourcePolicies

      String getResourcePolicies(int index)
       Output only. [Output Only] Resource policies applied to disk for automatic snapshot
       creations.
       
      repeated string resource_policies = 22220385;
      Parameters:
      index - The index of the element to return.
      Returns:
      The resourcePolicies at the given index.
    • getResourcePoliciesBytes

      com.google.protobuf.ByteString getResourcePoliciesBytes(int index)
       Output only. [Output Only] Resource policies applied to disk for automatic snapshot
       creations.
       
      repeated string resource_policies = 22220385;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resourcePolicies at the given index.
    • hasSizeGb

      boolean hasSizeGb()
       Output only. [Output Only] The disk size, in GB.
       
      optional int64 size_gb = 494929369;
      Returns:
      Whether the sizeGb field is set.
    • getSizeGb

      long getSizeGb()
       Output only. [Output Only] The disk size, in GB.
       
      optional int64 size_gb = 494929369;
      Returns:
      The sizeGb.
    • hasStatus

      boolean hasStatus()
       Output only. [Output Only] The disk status.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      Whether the status field is set.
    • getStatus

      String getStatus()
       Output only. [Output Only] The disk status.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      The status.
    • getStatusBytes

      com.google.protobuf.ByteString getStatusBytes()
       Output only. [Output Only] The disk status.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      The bytes for status.
    • hasType

      boolean hasType()
       Output only. [Output Only] The disk type.
       
      optional string type = 3575610;
      Returns:
      Whether the type field is set.
    • getType

      String getType()
       Output only. [Output Only] The disk type.
       
      optional string type = 3575610;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       Output only. [Output Only] The disk type.
       
      optional string type = 3575610;
      Returns:
      The bytes for type.
    • hasUsedBytes

      boolean hasUsedBytes()
       Output only. [Output Only] Amount of disk space used.
       
      optional int64 used_bytes = 231640425;
      Returns:
      Whether the usedBytes field is set.
    • getUsedBytes

      long getUsedBytes()
       Output only. [Output Only] Amount of disk space used.
       
      optional int64 used_bytes = 231640425;
      Returns:
      The usedBytes.