Class StoragePool.Builder

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

public static final class StoragePool.Builder extends com.google.protobuf.GeneratedMessage.Builder<StoragePool.Builder> implements StoragePoolOrBuilder
 Represents a zonal storage pool resource.
 
Protobuf type google.cloud.compute.v1.StoragePool
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StoragePool.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StoragePool.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StoragePool.Builder>
    • clear

      public StoragePool.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<StoragePool.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<StoragePool.Builder>
    • getDefaultInstanceForType

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

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

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

      public StoragePool.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<StoragePool.Builder>
    • mergeFrom

      public StoragePool.Builder mergeFrom(StoragePool other)
    • isInitialized

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

      public StoragePool.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<StoragePool.Builder>
      Throws:
      IOException
    • hasCapacityProvisioningType

      public boolean hasCapacityProvisioningType()
       Provisioning type of the byte capacity of the pool.
       Check the CapacityProvisioningType enum for the list of possible values.
       
      optional string capacity_provisioning_type = 251610375;
      Specified by:
      hasCapacityProvisioningType in interface StoragePoolOrBuilder
      Returns:
      Whether the capacityProvisioningType field is set.
    • getCapacityProvisioningType

      public String getCapacityProvisioningType()
       Provisioning type of the byte capacity of the pool.
       Check the CapacityProvisioningType enum for the list of possible values.
       
      optional string capacity_provisioning_type = 251610375;
      Specified by:
      getCapacityProvisioningType in interface StoragePoolOrBuilder
      Returns:
      The capacityProvisioningType.
    • getCapacityProvisioningTypeBytes

      public com.google.protobuf.ByteString getCapacityProvisioningTypeBytes()
       Provisioning type of the byte capacity of the pool.
       Check the CapacityProvisioningType enum for the list of possible values.
       
      optional string capacity_provisioning_type = 251610375;
      Specified by:
      getCapacityProvisioningTypeBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for capacityProvisioningType.
    • setCapacityProvisioningType

      public StoragePool.Builder setCapacityProvisioningType(String value)
       Provisioning type of the byte capacity of the pool.
       Check the CapacityProvisioningType enum for the list of possible values.
       
      optional string capacity_provisioning_type = 251610375;
      Parameters:
      value - The capacityProvisioningType to set.
      Returns:
      This builder for chaining.
    • clearCapacityProvisioningType

      public StoragePool.Builder clearCapacityProvisioningType()
       Provisioning type of the byte capacity of the pool.
       Check the CapacityProvisioningType enum for the list of possible values.
       
      optional string capacity_provisioning_type = 251610375;
      Returns:
      This builder for chaining.
    • setCapacityProvisioningTypeBytes

      public StoragePool.Builder setCapacityProvisioningTypeBytes(com.google.protobuf.ByteString value)
       Provisioning type of the byte capacity of the pool.
       Check the CapacityProvisioningType enum for the list of possible values.
       
      optional string capacity_provisioning_type = 251610375;
      Parameters:
      value - The bytes for capacityProvisioningType to set.
      Returns:
      This builder for chaining.
    • hasCreationTimestamp

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

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

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

      public StoragePool.Builder setCreationTimestamp(String value)
       Output only. [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 StoragePool.Builder clearCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public StoragePool.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       Output only. [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.
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface StoragePoolOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface StoragePoolOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public StoragePool.Builder setDescription(String value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public StoragePool.Builder clearDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public StoragePool.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasExapoolProvisionedCapacityGb

      public boolean hasExapoolProvisionedCapacityGb()
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
      Specified by:
      hasExapoolProvisionedCapacityGb in interface StoragePoolOrBuilder
      Returns:
      Whether the exapoolProvisionedCapacityGb field is set.
    • getExapoolProvisionedCapacityGb

      public StoragePoolExapoolProvisionedCapacityGb getExapoolProvisionedCapacityGb()
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
      Specified by:
      getExapoolProvisionedCapacityGb in interface StoragePoolOrBuilder
      Returns:
      The exapoolProvisionedCapacityGb.
    • setExapoolProvisionedCapacityGb

      public StoragePool.Builder setExapoolProvisionedCapacityGb(StoragePoolExapoolProvisionedCapacityGb value)
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
    • setExapoolProvisionedCapacityGb

      public StoragePool.Builder setExapoolProvisionedCapacityGb(StoragePoolExapoolProvisionedCapacityGb.Builder builderForValue)
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
    • mergeExapoolProvisionedCapacityGb

      public StoragePool.Builder mergeExapoolProvisionedCapacityGb(StoragePoolExapoolProvisionedCapacityGb value)
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
    • clearExapoolProvisionedCapacityGb

      public StoragePool.Builder clearExapoolProvisionedCapacityGb()
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
    • getExapoolProvisionedCapacityGbBuilder

      public StoragePoolExapoolProvisionedCapacityGb.Builder getExapoolProvisionedCapacityGbBuilder()
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
    • getExapoolProvisionedCapacityGbOrBuilder

      public StoragePoolExapoolProvisionedCapacityGbOrBuilder getExapoolProvisionedCapacityGbOrBuilder()
       Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB
       
      optional .google.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGb exapool_provisioned_capacity_gb = 345174240;
      Specified by:
      getExapoolProvisionedCapacityGbOrBuilder in interface StoragePoolOrBuilder
    • hasId

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

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

      public StoragePool.Builder setId(long value)
       Output only. [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 StoragePool.Builder clearId()
       Output only. [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. Always compute#storagePool
       for storage pools.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface StoragePoolOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Always compute#storagePool
       for storage pools.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface StoragePoolOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Always compute#storagePool
       for storage pools.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public StoragePool.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Always compute#storagePool
       for storage pools.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public StoragePool.Builder clearKind()
       Output only. [Output Only] Type of the resource. Always compute#storagePool
       for storage pools.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public StoragePool.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Always compute#storagePool
       for storage pools.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • hasLabelFingerprint

      public boolean hasLabelFingerprint()
       A fingerprint for the labels being applied to this storage pool, which is
       essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a storage pool.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      hasLabelFingerprint in interface StoragePoolOrBuilder
      Returns:
      Whether the labelFingerprint field is set.
    • getLabelFingerprint

      public String getLabelFingerprint()
       A fingerprint for the labels being applied to this storage pool, which is
       essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a storage pool.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      getLabelFingerprint in interface StoragePoolOrBuilder
      Returns:
      The labelFingerprint.
    • getLabelFingerprintBytes

      public com.google.protobuf.ByteString getLabelFingerprintBytes()
       A fingerprint for the labels being applied to this storage pool, which is
       essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a storage pool.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      getLabelFingerprintBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for labelFingerprint.
    • setLabelFingerprint

      public StoragePool.Builder setLabelFingerprint(String value)
       A fingerprint for the labels being applied to this storage pool, which is
       essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a storage pool.
       
      optional string label_fingerprint = 178124825;
      Parameters:
      value - The labelFingerprint to set.
      Returns:
      This builder for chaining.
    • clearLabelFingerprint

      public StoragePool.Builder clearLabelFingerprint()
       A fingerprint for the labels being applied to this storage pool, which is
       essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a storage pool.
       
      optional string label_fingerprint = 178124825;
      Returns:
      This builder for chaining.
    • setLabelFingerprintBytes

      public StoragePool.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
       A fingerprint for the labels being applied to this storage pool, which is
       essentially a hash of the labels set used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a storage pool.
       
      optional string label_fingerprint = 178124825;
      Parameters:
      value - The bytes for labelFingerprint to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: StoragePoolOrBuilder
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsCount in interface StoragePoolOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
      Specified by:
      containsLabels in interface StoragePoolOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface StoragePoolOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsMap in interface StoragePoolOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsOrDefault in interface StoragePoolOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsOrThrow in interface StoragePoolOrBuilder
    • clearLabels

      public StoragePool.Builder clearLabels()
    • removeLabels

      public StoragePool.Builder removeLabels(String key)
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public StoragePool.Builder putLabels(String key, String value)
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • putAllLabels

      public StoragePool.Builder putAllLabels(Map<String,String> values)
       Labels to apply to this storage pool. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • hasName

      public boolean hasName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`
       which means the first character must be a lowercase letter, and all
       following characters must be a dash, lowercase letter, or digit, except
       the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface StoragePoolOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`
       which means the first character must be a lowercase letter, and all
       following characters must be a dash, lowercase letter, or digit, except
       the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface StoragePoolOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`
       which means the first character must be a lowercase letter, and all
       following characters must be a dash, lowercase letter, or digit, except
       the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for name.
    • setName

      public StoragePool.Builder setName(String value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`
       which means the first character must be a lowercase letter, and all
       following characters must be a dash, lowercase letter, or digit, except
       the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public StoragePool.Builder clearName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`
       which means the first character must be a lowercase letter, and all
       following characters must be a dash, lowercase letter, or digit, except
       the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public StoragePool.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`
       which means the first character must be a lowercase letter, and all
       following characters must be a dash, lowercase letter, or digit, except
       the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasParams

      public boolean hasParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
      Specified by:
      hasParams in interface StoragePoolOrBuilder
      Returns:
      Whether the params field is set.
    • getParams

      public StoragePoolParams getParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
      Specified by:
      getParams in interface StoragePoolOrBuilder
      Returns:
      The params.
    • setParams

      public StoragePool.Builder setParams(StoragePoolParams value)
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
    • setParams

      public StoragePool.Builder setParams(StoragePoolParams.Builder builderForValue)
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
    • mergeParams

      public StoragePool.Builder mergeParams(StoragePoolParams value)
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
    • clearParams

      public StoragePool.Builder clearParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
    • getParamsBuilder

      public StoragePoolParams.Builder getParamsBuilder()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
    • getParamsOrBuilder

      public StoragePoolParamsOrBuilder getParamsOrBuilder()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.StoragePoolParams params = 78313862;
      Specified by:
      getParamsOrBuilder in interface StoragePoolOrBuilder
    • hasPerformanceProvisioningType

      public boolean hasPerformanceProvisioningType()
       Provisioning type of the performance-related parameters of the pool,
       such as throughput and IOPS.
       Check the PerformanceProvisioningType enum for the list of possible values.
       
      optional string performance_provisioning_type = 468553469;
      Specified by:
      hasPerformanceProvisioningType in interface StoragePoolOrBuilder
      Returns:
      Whether the performanceProvisioningType field is set.
    • getPerformanceProvisioningType

      public String getPerformanceProvisioningType()
       Provisioning type of the performance-related parameters of the pool,
       such as throughput and IOPS.
       Check the PerformanceProvisioningType enum for the list of possible values.
       
      optional string performance_provisioning_type = 468553469;
      Specified by:
      getPerformanceProvisioningType in interface StoragePoolOrBuilder
      Returns:
      The performanceProvisioningType.
    • getPerformanceProvisioningTypeBytes

      public com.google.protobuf.ByteString getPerformanceProvisioningTypeBytes()
       Provisioning type of the performance-related parameters of the pool,
       such as throughput and IOPS.
       Check the PerformanceProvisioningType enum for the list of possible values.
       
      optional string performance_provisioning_type = 468553469;
      Specified by:
      getPerformanceProvisioningTypeBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for performanceProvisioningType.
    • setPerformanceProvisioningType

      public StoragePool.Builder setPerformanceProvisioningType(String value)
       Provisioning type of the performance-related parameters of the pool,
       such as throughput and IOPS.
       Check the PerformanceProvisioningType enum for the list of possible values.
       
      optional string performance_provisioning_type = 468553469;
      Parameters:
      value - The performanceProvisioningType to set.
      Returns:
      This builder for chaining.
    • clearPerformanceProvisioningType

      public StoragePool.Builder clearPerformanceProvisioningType()
       Provisioning type of the performance-related parameters of the pool,
       such as throughput and IOPS.
       Check the PerformanceProvisioningType enum for the list of possible values.
       
      optional string performance_provisioning_type = 468553469;
      Returns:
      This builder for chaining.
    • setPerformanceProvisioningTypeBytes

      public StoragePool.Builder setPerformanceProvisioningTypeBytes(com.google.protobuf.ByteString value)
       Provisioning type of the performance-related parameters of the pool,
       such as throughput and IOPS.
       Check the PerformanceProvisioningType enum for the list of possible values.
       
      optional string performance_provisioning_type = 468553469;
      Parameters:
      value - The bytes for performanceProvisioningType to set.
      Returns:
      This builder for chaining.
    • hasPoolProvisionedCapacityGb

      public boolean hasPoolProvisionedCapacityGb()
       Size of the storage pool in GiB. For more information about the size
       limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
       
      optional int64 pool_provisioned_capacity_gb = 478537682;
      Specified by:
      hasPoolProvisionedCapacityGb in interface StoragePoolOrBuilder
      Returns:
      Whether the poolProvisionedCapacityGb field is set.
    • getPoolProvisionedCapacityGb

      public long getPoolProvisionedCapacityGb()
       Size of the storage pool in GiB. For more information about the size
       limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
       
      optional int64 pool_provisioned_capacity_gb = 478537682;
      Specified by:
      getPoolProvisionedCapacityGb in interface StoragePoolOrBuilder
      Returns:
      The poolProvisionedCapacityGb.
    • setPoolProvisionedCapacityGb

      public StoragePool.Builder setPoolProvisionedCapacityGb(long value)
       Size of the storage pool in GiB. For more information about the size
       limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
       
      optional int64 pool_provisioned_capacity_gb = 478537682;
      Parameters:
      value - The poolProvisionedCapacityGb to set.
      Returns:
      This builder for chaining.
    • clearPoolProvisionedCapacityGb

      public StoragePool.Builder clearPoolProvisionedCapacityGb()
       Size of the storage pool in GiB. For more information about the size
       limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
       
      optional int64 pool_provisioned_capacity_gb = 478537682;
      Returns:
      This builder for chaining.
    • hasPoolProvisionedIops

      public boolean hasPoolProvisionedIops()
       Provisioned IOPS of the storage pool. Only relevant if the storage pool
       type is hyperdisk-balanced.
       
      optional int64 pool_provisioned_iops = 112092311;
      Specified by:
      hasPoolProvisionedIops in interface StoragePoolOrBuilder
      Returns:
      Whether the poolProvisionedIops field is set.
    • getPoolProvisionedIops

      public long getPoolProvisionedIops()
       Provisioned IOPS of the storage pool. Only relevant if the storage pool
       type is hyperdisk-balanced.
       
      optional int64 pool_provisioned_iops = 112092311;
      Specified by:
      getPoolProvisionedIops in interface StoragePoolOrBuilder
      Returns:
      The poolProvisionedIops.
    • setPoolProvisionedIops

      public StoragePool.Builder setPoolProvisionedIops(long value)
       Provisioned IOPS of the storage pool. Only relevant if the storage pool
       type is hyperdisk-balanced.
       
      optional int64 pool_provisioned_iops = 112092311;
      Parameters:
      value - The poolProvisionedIops to set.
      Returns:
      This builder for chaining.
    • clearPoolProvisionedIops

      public StoragePool.Builder clearPoolProvisionedIops()
       Provisioned IOPS of the storage pool. Only relevant if the storage pool
       type is hyperdisk-balanced.
       
      optional int64 pool_provisioned_iops = 112092311;
      Returns:
      This builder for chaining.
    • hasPoolProvisionedThroughput

      public boolean hasPoolProvisionedThroughput()
       Provisioned throughput of the storage pool in MiB/s. Only relevant if the
       storage pool type is hyperdisk-balanced or hyperdisk-throughput.
       
      optional int64 pool_provisioned_throughput = 169215640;
      Specified by:
      hasPoolProvisionedThroughput in interface StoragePoolOrBuilder
      Returns:
      Whether the poolProvisionedThroughput field is set.
    • getPoolProvisionedThroughput

      public long getPoolProvisionedThroughput()
       Provisioned throughput of the storage pool in MiB/s. Only relevant if the
       storage pool type is hyperdisk-balanced or hyperdisk-throughput.
       
      optional int64 pool_provisioned_throughput = 169215640;
      Specified by:
      getPoolProvisionedThroughput in interface StoragePoolOrBuilder
      Returns:
      The poolProvisionedThroughput.
    • setPoolProvisionedThroughput

      public StoragePool.Builder setPoolProvisionedThroughput(long value)
       Provisioned throughput of the storage pool in MiB/s. Only relevant if the
       storage pool type is hyperdisk-balanced or hyperdisk-throughput.
       
      optional int64 pool_provisioned_throughput = 169215640;
      Parameters:
      value - The poolProvisionedThroughput to set.
      Returns:
      This builder for chaining.
    • clearPoolProvisionedThroughput

      public StoragePool.Builder clearPoolProvisionedThroughput()
       Provisioned throughput of the storage pool in MiB/s. Only relevant if the
       storage pool type is hyperdisk-balanced or hyperdisk-throughput.
       
      optional int64 pool_provisioned_throughput = 169215640;
      Returns:
      This builder for chaining.
    • hasResourceStatus

      public boolean hasResourceStatus()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
      Specified by:
      hasResourceStatus in interface StoragePoolOrBuilder
      Returns:
      Whether the resourceStatus field is set.
    • getResourceStatus

      public StoragePoolResourceStatus getResourceStatus()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
      Specified by:
      getResourceStatus in interface StoragePoolOrBuilder
      Returns:
      The resourceStatus.
    • setResourceStatus

      public StoragePool.Builder setResourceStatus(StoragePoolResourceStatus value)
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
    • setResourceStatus

      public StoragePool.Builder setResourceStatus(StoragePoolResourceStatus.Builder builderForValue)
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
    • mergeResourceStatus

      public StoragePool.Builder mergeResourceStatus(StoragePoolResourceStatus value)
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
    • clearResourceStatus

      public StoragePool.Builder clearResourceStatus()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
    • getResourceStatusBuilder

      public StoragePoolResourceStatus.Builder getResourceStatusBuilder()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
    • getResourceStatusOrBuilder

      public StoragePoolResourceStatusOrBuilder getResourceStatusOrBuilder()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
      Specified by:
      getResourceStatusOrBuilder in interface StoragePoolOrBuilder
    • hasSelfLink

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

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

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

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

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

      public StoragePool.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined fully-qualified URL for this 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's resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      hasSelfLinkWithId in interface StoragePoolOrBuilder
      Returns:
      Whether the selfLinkWithId field is set.
    • getSelfLinkWithId

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

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

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

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

      public StoragePool.Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Parameters:
      value - The bytes for selfLinkWithId to set.
      Returns:
      This builder for chaining.
    • hasState

      public boolean hasState()
       Output only. [Output Only] The status of storage pool creation.
      
      
       - CREATING: Storage pool is provisioning.
       storagePool.
       - FAILED: Storage pool creation failed.
       - READY: Storage pool is ready for use.
       - DELETING: Storage pool is deleting.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      hasState in interface StoragePoolOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
       Output only. [Output Only] The status of storage pool creation.
      
      
       - CREATING: Storage pool is provisioning.
       storagePool.
       - FAILED: Storage pool creation failed.
       - READY: Storage pool is ready for use.
       - DELETING: Storage pool is deleting.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getState in interface StoragePoolOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
       Output only. [Output Only] The status of storage pool creation.
      
      
       - CREATING: Storage pool is provisioning.
       storagePool.
       - FAILED: Storage pool creation failed.
       - READY: Storage pool is ready for use.
       - DELETING: Storage pool is deleting.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getStateBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for state.
    • setState

      public StoragePool.Builder setState(String value)
       Output only. [Output Only] The status of storage pool creation.
      
      
       - CREATING: Storage pool is provisioning.
       storagePool.
       - FAILED: Storage pool creation failed.
       - READY: Storage pool is ready for use.
       - DELETING: Storage pool is deleting.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public StoragePool.Builder clearState()
       Output only. [Output Only] The status of storage pool creation.
      
      
       - CREATING: Storage pool is provisioning.
       storagePool.
       - FAILED: Storage pool creation failed.
       - READY: Storage pool is ready for use.
       - DELETING: Storage pool is deleting.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      This builder for chaining.
    • setStateBytes

      public StoragePool.Builder setStateBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The status of storage pool creation.
      
      
       - CREATING: Storage pool is provisioning.
       storagePool.
       - FAILED: Storage pool creation failed.
       - READY: Storage pool is ready for use.
       - DELETING: Storage pool is deleting.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Parameters:
      value - The bytes for state to set.
      Returns:
      This builder for chaining.
    • hasStatus

      public boolean hasStatus()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
      Specified by:
      hasStatus in interface StoragePoolOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public StoragePoolResourceStatus getStatus()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
      Specified by:
      getStatus in interface StoragePoolOrBuilder
      Returns:
      The status.
    • setStatus

       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
    • setStatus

      public StoragePool.Builder setStatus(StoragePoolResourceStatus.Builder builderForValue)
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
    • mergeStatus

      public StoragePool.Builder mergeStatus(StoragePoolResourceStatus value)
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
    • clearStatus

      public StoragePool.Builder clearStatus()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
    • getStatusBuilder

      public StoragePoolResourceStatus.Builder getStatusBuilder()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
    • getStatusOrBuilder

      public StoragePoolResourceStatusOrBuilder getStatusOrBuilder()
       Output only. [Output Only] Status information for the storage pool resource.
       
      optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
      Specified by:
      getStatusOrBuilder in interface StoragePoolOrBuilder
    • hasStoragePoolType

      public boolean hasStoragePoolType()
       Type of the storage pool.
       
      optional string storage_pool_type = 285999289;
      Specified by:
      hasStoragePoolType in interface StoragePoolOrBuilder
      Returns:
      Whether the storagePoolType field is set.
    • getStoragePoolType

      public String getStoragePoolType()
       Type of the storage pool.
       
      optional string storage_pool_type = 285999289;
      Specified by:
      getStoragePoolType in interface StoragePoolOrBuilder
      Returns:
      The storagePoolType.
    • getStoragePoolTypeBytes

      public com.google.protobuf.ByteString getStoragePoolTypeBytes()
       Type of the storage pool.
       
      optional string storage_pool_type = 285999289;
      Specified by:
      getStoragePoolTypeBytes in interface StoragePoolOrBuilder
      Returns:
      The bytes for storagePoolType.
    • setStoragePoolType

      public StoragePool.Builder setStoragePoolType(String value)
       Type of the storage pool.
       
      optional string storage_pool_type = 285999289;
      Parameters:
      value - The storagePoolType to set.
      Returns:
      This builder for chaining.
    • clearStoragePoolType

      public StoragePool.Builder clearStoragePoolType()
       Type of the storage pool.
       
      optional string storage_pool_type = 285999289;
      Returns:
      This builder for chaining.
    • setStoragePoolTypeBytes

      public StoragePool.Builder setStoragePoolTypeBytes(com.google.protobuf.ByteString value)
       Type of the storage pool.
       
      optional string storage_pool_type = 285999289;
      Parameters:
      value - The bytes for storagePoolType to set.
      Returns:
      This builder for chaining.
    • hasZone

      public boolean hasZone()
       Output only. [Output Only] URL of the zone where the storage pool 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 StoragePoolOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       Output only. [Output Only] URL of the zone where the storage pool 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 StoragePoolOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] URL of the zone where the storage pool 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 StoragePoolOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public StoragePool.Builder setZone(String value)
       Output only. [Output Only] URL of the zone where the storage pool 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 StoragePool.Builder clearZone()
       Output only. [Output Only] URL of the zone where the storage pool 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 StoragePool.Builder setZoneBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the zone where the storage pool 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.