Class StoragePoolType

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.StoragePoolType
All Implemented Interfaces:
StoragePoolTypeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class StoragePoolType extends com.google.protobuf.GeneratedMessage implements StoragePoolTypeOrBuilder
 
Protobuf type google.cloud.compute.v1.StoragePoolType
See Also:
  • Field Details

    • CREATION_TIMESTAMP_FIELD_NUMBER

      public static final int CREATION_TIMESTAMP_FIELD_NUMBER
      See Also:
    • DEPRECATED_FIELD_NUMBER

      public static final int DEPRECATED_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • KIND_FIELD_NUMBER

      public static final int KIND_FIELD_NUMBER
      See Also:
    • MAX_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER

      public static final int MAX_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER
      See Also:
    • MAX_POOL_PROVISIONED_IOPS_FIELD_NUMBER

      public static final int MAX_POOL_PROVISIONED_IOPS_FIELD_NUMBER
      See Also:
    • MAX_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER

      public static final int MAX_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER
      See Also:
    • MIN_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER

      public static final int MIN_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER
      See Also:
    • MIN_POOL_PROVISIONED_IOPS_FIELD_NUMBER

      public static final int MIN_POOL_PROVISIONED_IOPS_FIELD_NUMBER
      See Also:
    • MIN_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER

      public static final int MIN_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER
      See Also:
    • MIN_SIZE_GB_FIELD_NUMBER

      public static final int MIN_SIZE_GB_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • SUPPORTED_DISK_TYPES_FIELD_NUMBER

      public static final int SUPPORTED_DISK_TYPES_FIELD_NUMBER
      See Also:
    • ZONE_FIELD_NUMBER

      public static final int ZONE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasCreationTimestamp

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

      public String getCreationTimestamp()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface StoragePoolTypeOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface StoragePoolTypeOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • hasDeprecated

      public boolean hasDeprecated()
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
      Specified by:
      hasDeprecated in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the deprecated field is set.
    • getDeprecated

      public DeprecationStatus getDeprecated()
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
      Specified by:
      getDeprecated in interface StoragePoolTypeOrBuilder
      Returns:
      The deprecated.
    • getDeprecatedOrBuilder

      public DeprecationStatusOrBuilder getDeprecatedOrBuilder()
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
      Specified by:
      getDeprecatedOrBuilder in interface StoragePoolTypeOrBuilder
    • hasDescription

      public boolean hasDescription()
       [Output Only] An optional description of this resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       [Output Only] An optional description of this resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface StoragePoolTypeOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       [Output Only] An optional description of this resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface StoragePoolTypeOrBuilder
      Returns:
      The bytes for description.
    • hasId

      public boolean hasId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface StoragePoolTypeOrBuilder
      Returns:
      The id.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface StoragePoolTypeOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface StoragePoolTypeOrBuilder
      Returns:
      The bytes for kind.
    • hasMaxPoolProvisionedCapacityGb

      public boolean hasMaxPoolProvisionedCapacityGb()
       [Output Only] Maximum storage pool size in GB.
       
      optional int64 max_pool_provisioned_capacity_gb = 182139085;
      Specified by:
      hasMaxPoolProvisionedCapacityGb in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the maxPoolProvisionedCapacityGb field is set.
    • getMaxPoolProvisionedCapacityGb

      public long getMaxPoolProvisionedCapacityGb()
       [Output Only] Maximum storage pool size in GB.
       
      optional int64 max_pool_provisioned_capacity_gb = 182139085;
      Specified by:
      getMaxPoolProvisionedCapacityGb in interface StoragePoolTypeOrBuilder
      Returns:
      The maxPoolProvisionedCapacityGb.
    • hasMaxPoolProvisionedIops

      public boolean hasMaxPoolProvisionedIops()
       [Output Only] Maximum provisioned IOPS.
       
      optional int64 max_pool_provisioned_iops = 515270652;
      Specified by:
      hasMaxPoolProvisionedIops in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the maxPoolProvisionedIops field is set.
    • getMaxPoolProvisionedIops

      public long getMaxPoolProvisionedIops()
       [Output Only] Maximum provisioned IOPS.
       
      optional int64 max_pool_provisioned_iops = 515270652;
      Specified by:
      getMaxPoolProvisionedIops in interface StoragePoolTypeOrBuilder
      Returns:
      The maxPoolProvisionedIops.
    • hasMaxPoolProvisionedThroughput

      public boolean hasMaxPoolProvisionedThroughput()
       [Output Only] Maximum provisioned throughput.
       
      optional int64 max_pool_provisioned_throughput = 228928061;
      Specified by:
      hasMaxPoolProvisionedThroughput in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the maxPoolProvisionedThroughput field is set.
    • getMaxPoolProvisionedThroughput

      public long getMaxPoolProvisionedThroughput()
       [Output Only] Maximum provisioned throughput.
       
      optional int64 max_pool_provisioned_throughput = 228928061;
      Specified by:
      getMaxPoolProvisionedThroughput in interface StoragePoolTypeOrBuilder
      Returns:
      The maxPoolProvisionedThroughput.
    • hasMinPoolProvisionedCapacityGb

      public boolean hasMinPoolProvisionedCapacityGb()
       [Output Only] Minimum storage pool size in GB.
       
      optional int64 min_pool_provisioned_capacity_gb = 191022751;
      Specified by:
      hasMinPoolProvisionedCapacityGb in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the minPoolProvisionedCapacityGb field is set.
    • getMinPoolProvisionedCapacityGb

      public long getMinPoolProvisionedCapacityGb()
       [Output Only] Minimum storage pool size in GB.
       
      optional int64 min_pool_provisioned_capacity_gb = 191022751;
      Specified by:
      getMinPoolProvisionedCapacityGb in interface StoragePoolTypeOrBuilder
      Returns:
      The minPoolProvisionedCapacityGb.
    • hasMinPoolProvisionedIops

      public boolean hasMinPoolProvisionedIops()
       [Output Only] Minimum provisioned IOPS.
       
      optional int64 min_pool_provisioned_iops = 416473706;
      Specified by:
      hasMinPoolProvisionedIops in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the minPoolProvisionedIops field is set.
    • getMinPoolProvisionedIops

      public long getMinPoolProvisionedIops()
       [Output Only] Minimum provisioned IOPS.
       
      optional int64 min_pool_provisioned_iops = 416473706;
      Specified by:
      getMinPoolProvisionedIops in interface StoragePoolTypeOrBuilder
      Returns:
      The minPoolProvisionedIops.
    • hasMinPoolProvisionedThroughput

      public boolean hasMinPoolProvisionedThroughput()
       [Output Only] Minimum provisioned throughput.
       
      optional int64 min_pool_provisioned_throughput = 367761963;
      Specified by:
      hasMinPoolProvisionedThroughput in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the minPoolProvisionedThroughput field is set.
    • getMinPoolProvisionedThroughput

      public long getMinPoolProvisionedThroughput()
       [Output Only] Minimum provisioned throughput.
       
      optional int64 min_pool_provisioned_throughput = 367761963;
      Specified by:
      getMinPoolProvisionedThroughput in interface StoragePoolTypeOrBuilder
      Returns:
      The minPoolProvisionedThroughput.
    • hasMinSizeGb

      public boolean hasMinSizeGb()
       [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb
       instead.
       
      optional int64 min_size_gb = 385278188;
      Specified by:
      hasMinSizeGb in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the minSizeGb field is set.
    • getMinSizeGb

      public long getMinSizeGb()
       [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb
       instead.
       
      optional int64 min_size_gb = 385278188;
      Specified by:
      getMinSizeGb in interface StoragePoolTypeOrBuilder
      Returns:
      The minSizeGb.
    • hasName

      public boolean hasName()
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Specified by:
      getName in interface StoragePoolTypeOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface StoragePoolTypeOrBuilder
      Returns:
      The bytes for name.
    • hasSelfLink

      public boolean hasSelfLink()
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface StoragePoolTypeOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface StoragePoolTypeOrBuilder
      Returns:
      The bytes for selfLink.
    • hasSelfLinkWithId

      public boolean hasSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      hasSelfLinkWithId in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the selfLinkWithId field is set.
    • getSelfLinkWithId

      public String getSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithId in interface StoragePoolTypeOrBuilder
      Returns:
      The selfLinkWithId.
    • getSelfLinkWithIdBytes

      public com.google.protobuf.ByteString getSelfLinkWithIdBytes()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithIdBytes in interface StoragePoolTypeOrBuilder
      Returns:
      The bytes for selfLinkWithId.
    • getSupportedDiskTypesList

      public com.google.protobuf.ProtocolStringList getSupportedDiskTypesList()
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Specified by:
      getSupportedDiskTypesList in interface StoragePoolTypeOrBuilder
      Returns:
      A list containing the supportedDiskTypes.
    • getSupportedDiskTypesCount

      public int getSupportedDiskTypesCount()
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Specified by:
      getSupportedDiskTypesCount in interface StoragePoolTypeOrBuilder
      Returns:
      The count of supportedDiskTypes.
    • getSupportedDiskTypes

      public String getSupportedDiskTypes(int index)
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Specified by:
      getSupportedDiskTypes in interface StoragePoolTypeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The supportedDiskTypes at the given index.
    • getSupportedDiskTypesBytes

      public com.google.protobuf.ByteString getSupportedDiskTypesBytes(int index)
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Specified by:
      getSupportedDiskTypesBytes in interface StoragePoolTypeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the supportedDiskTypes at the given index.
    • hasZone

      public boolean hasZone()
       [Output Only] URL of the zone where the storage pool type resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Specified by:
      hasZone in interface StoragePoolTypeOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       [Output Only] URL of the zone where the storage pool type resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Specified by:
      getZone in interface StoragePoolTypeOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       [Output Only] URL of the zone where the storage pool type resides.
       You must specify this field as part of the HTTP request URL. It is
       not settable as a field in the request body.
       
      optional string zone = 3744684;
      Specified by:
      getZoneBytes in interface StoragePoolTypeOrBuilder
      Returns:
      The bytes for zone.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StoragePoolType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoragePoolType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoragePoolType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoragePoolType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoragePoolType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoragePoolType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StoragePoolType parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StoragePoolType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StoragePoolType parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StoragePoolType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StoragePoolType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StoragePoolType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StoragePoolType.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StoragePoolType.Builder newBuilder()
    • newBuilder

      public static StoragePoolType.Builder newBuilder(StoragePoolType prototype)
    • toBuilder

      public StoragePoolType.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StoragePoolType.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StoragePoolType getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StoragePoolType> parser()
    • getParserForType

      public com.google.protobuf.Parser<StoragePoolType> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StoragePoolType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder