Class StoragePoolType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StoragePoolType.Builder>
com.google.cloud.compute.v1.StoragePoolType.Builder
All Implemented Interfaces:
StoragePoolTypeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StoragePoolType

public static final class StoragePoolType.Builder extends com.google.protobuf.GeneratedMessage.Builder<StoragePoolType.Builder> implements StoragePoolTypeOrBuilder
 
Protobuf type google.cloud.compute.v1.StoragePoolType
  • 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.Builder<StoragePoolType.Builder>
    • clear

      public StoragePoolType.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StoragePoolType.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StoragePoolType.Builder>
    • getDefaultInstanceForType

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

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

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

      public StoragePoolType.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePoolType.Builder>
    • mergeFrom

      public StoragePoolType.Builder mergeFrom(StoragePoolType other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StoragePoolType.Builder>
    • mergeFrom

      public StoragePoolType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePoolType.Builder>
      Throws:
      IOException
    • 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.
    • setCreationTimestamp

      public StoragePoolType.Builder setCreationTimestamp(String value)
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The creationTimestamp to set.
      Returns:
      This builder for chaining.
    • clearCreationTimestamp

      public StoragePoolType.Builder clearCreationTimestamp()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public StoragePoolType.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The bytes for creationTimestamp to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDeprecated

      public StoragePoolType.Builder setDeprecated(DeprecationStatus value)
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
    • setDeprecated

      public StoragePoolType.Builder setDeprecated(DeprecationStatus.Builder builderForValue)
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
    • mergeDeprecated

      public StoragePoolType.Builder mergeDeprecated(DeprecationStatus value)
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
    • clearDeprecated

      public StoragePoolType.Builder clearDeprecated()
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
    • getDeprecatedBuilder

      public DeprecationStatus.Builder getDeprecatedBuilder()
       [Output Only] The deprecation status associated with this storage pool
       type.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
    • 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.
    • setDescription

      public StoragePoolType.Builder setDescription(String value)
       [Output Only] An optional description of this resource.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public StoragePoolType.Builder clearDescription()
       [Output Only] An optional description of this resource.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public StoragePoolType.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       [Output Only] An optional description of this resource.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • 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.
    • setId

      public StoragePoolType.Builder setId(long value)
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public StoragePoolType.Builder clearId()
       [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      This builder for chaining.
    • 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.
    • setKind

      public StoragePoolType.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public StoragePoolType.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public StoragePoolType.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • 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.
    • setMaxPoolProvisionedCapacityGb

      public StoragePoolType.Builder setMaxPoolProvisionedCapacityGb(long value)
       [Output Only] Maximum storage pool size in GB.
       
      optional int64 max_pool_provisioned_capacity_gb = 182139085;
      Parameters:
      value - The maxPoolProvisionedCapacityGb to set.
      Returns:
      This builder for chaining.
    • clearMaxPoolProvisionedCapacityGb

      public StoragePoolType.Builder clearMaxPoolProvisionedCapacityGb()
       [Output Only] Maximum storage pool size in GB.
       
      optional int64 max_pool_provisioned_capacity_gb = 182139085;
      Returns:
      This builder for chaining.
    • 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.
    • setMaxPoolProvisionedIops

      public StoragePoolType.Builder setMaxPoolProvisionedIops(long value)
       [Output Only] Maximum provisioned IOPS.
       
      optional int64 max_pool_provisioned_iops = 515270652;
      Parameters:
      value - The maxPoolProvisionedIops to set.
      Returns:
      This builder for chaining.
    • clearMaxPoolProvisionedIops

      public StoragePoolType.Builder clearMaxPoolProvisionedIops()
       [Output Only] Maximum provisioned IOPS.
       
      optional int64 max_pool_provisioned_iops = 515270652;
      Returns:
      This builder for chaining.
    • 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.
    • setMaxPoolProvisionedThroughput

      public StoragePoolType.Builder setMaxPoolProvisionedThroughput(long value)
       [Output Only] Maximum provisioned throughput.
       
      optional int64 max_pool_provisioned_throughput = 228928061;
      Parameters:
      value - The maxPoolProvisionedThroughput to set.
      Returns:
      This builder for chaining.
    • clearMaxPoolProvisionedThroughput

      public StoragePoolType.Builder clearMaxPoolProvisionedThroughput()
       [Output Only] Maximum provisioned throughput.
       
      optional int64 max_pool_provisioned_throughput = 228928061;
      Returns:
      This builder for chaining.
    • 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.
    • setMinPoolProvisionedCapacityGb

      public StoragePoolType.Builder setMinPoolProvisionedCapacityGb(long value)
       [Output Only] Minimum storage pool size in GB.
       
      optional int64 min_pool_provisioned_capacity_gb = 191022751;
      Parameters:
      value - The minPoolProvisionedCapacityGb to set.
      Returns:
      This builder for chaining.
    • clearMinPoolProvisionedCapacityGb

      public StoragePoolType.Builder clearMinPoolProvisionedCapacityGb()
       [Output Only] Minimum storage pool size in GB.
       
      optional int64 min_pool_provisioned_capacity_gb = 191022751;
      Returns:
      This builder for chaining.
    • 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.
    • setMinPoolProvisionedIops

      public StoragePoolType.Builder setMinPoolProvisionedIops(long value)
       [Output Only] Minimum provisioned IOPS.
       
      optional int64 min_pool_provisioned_iops = 416473706;
      Parameters:
      value - The minPoolProvisionedIops to set.
      Returns:
      This builder for chaining.
    • clearMinPoolProvisionedIops

      public StoragePoolType.Builder clearMinPoolProvisionedIops()
       [Output Only] Minimum provisioned IOPS.
       
      optional int64 min_pool_provisioned_iops = 416473706;
      Returns:
      This builder for chaining.
    • 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.
    • setMinPoolProvisionedThroughput

      public StoragePoolType.Builder setMinPoolProvisionedThroughput(long value)
       [Output Only] Minimum provisioned throughput.
       
      optional int64 min_pool_provisioned_throughput = 367761963;
      Parameters:
      value - The minPoolProvisionedThroughput to set.
      Returns:
      This builder for chaining.
    • clearMinPoolProvisionedThroughput

      public StoragePoolType.Builder clearMinPoolProvisionedThroughput()
       [Output Only] Minimum provisioned throughput.
       
      optional int64 min_pool_provisioned_throughput = 367761963;
      Returns:
      This builder for chaining.
    • 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.
    • setMinSizeGb

      public StoragePoolType.Builder setMinSizeGb(long value)
       [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb
       instead.
       
      optional int64 min_size_gb = 385278188;
      Parameters:
      value - The minSizeGb to set.
      Returns:
      This builder for chaining.
    • clearMinSizeGb

      public StoragePoolType.Builder clearMinSizeGb()
       [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb
       instead.
       
      optional int64 min_size_gb = 385278188;
      Returns:
      This builder for chaining.
    • 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.
    • setName

      public StoragePoolType.Builder setName(String value)
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public StoragePoolType.Builder clearName()
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public StoragePoolType.Builder setNameBytes(com.google.protobuf.ByteString value)
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSelfLink

      public StoragePoolType.Builder setSelfLink(String value)
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The selfLink to set.
      Returns:
      This builder for chaining.
    • clearSelfLink

      public StoragePoolType.Builder clearSelfLink()
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public StoragePoolType.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The bytes for selfLink to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSelfLinkWithId

      public StoragePoolType.Builder setSelfLinkWithId(String value)
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Parameters:
      value - The selfLinkWithId to set.
      Returns:
      This builder for chaining.
    • clearSelfLinkWithId

      public StoragePoolType.Builder clearSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Returns:
      This builder for chaining.
    • setSelfLinkWithIdBytes

      public StoragePoolType.Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Parameters:
      value - The bytes for selfLinkWithId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSupportedDiskTypes

      public StoragePoolType.Builder setSupportedDiskTypes(int index, String value)
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Parameters:
      index - The index to set the value at.
      value - The supportedDiskTypes to set.
      Returns:
      This builder for chaining.
    • addSupportedDiskTypes

      public StoragePoolType.Builder addSupportedDiskTypes(String value)
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Parameters:
      value - The supportedDiskTypes to add.
      Returns:
      This builder for chaining.
    • addAllSupportedDiskTypes

      public StoragePoolType.Builder addAllSupportedDiskTypes(Iterable<String> values)
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Parameters:
      values - The supportedDiskTypes to add.
      Returns:
      This builder for chaining.
    • clearSupportedDiskTypes

      public StoragePoolType.Builder clearSupportedDiskTypes()
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Returns:
      This builder for chaining.
    • addSupportedDiskTypesBytes

      public StoragePoolType.Builder addSupportedDiskTypesBytes(com.google.protobuf.ByteString value)
       [Output Only] The list of disk types supported in this storage pool type.
       
      repeated string supported_disk_types = 150587272;
      Parameters:
      value - The bytes of the supportedDiskTypes to add.
      Returns:
      This builder for chaining.
    • 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.
    • setZone

      public StoragePoolType.Builder setZone(String value)
       [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;
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

      public StoragePoolType.Builder clearZone()
       [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;
      Returns:
      This builder for chaining.
    • setZoneBytes

      public StoragePoolType.Builder setZoneBytes(com.google.protobuf.ByteString value)
       [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;
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.