Class Region.Builder

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

public static final class Region.Builder extends com.google.protobuf.GeneratedMessage.Builder<Region.Builder> implements RegionOrBuilder
 Represents a Region resource.

 A region is a geographical area where a resource is located. For more
 information, readRegions
 and Zones.
 
Protobuf type google.cloud.compute.v1.Region
  • 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<Region.Builder>
    • clear

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

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

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

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

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

      public Region.Builder mergeFrom(Region other)
    • isInitialized

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

      public Region.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<Region.Builder>
      Throws:
      IOException
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface RegionOrBuilder
      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 RegionOrBuilder
      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 RegionOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

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

      public Region.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 region.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
      Specified by:
      hasDeprecated in interface RegionOrBuilder
      Returns:
      Whether the deprecated field is set.
    • getDeprecated

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

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

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

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

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

      public DeprecationStatus.Builder getDeprecatedBuilder()
       [Output Only] The deprecation status associated with this region.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
    • getDeprecatedOrBuilder

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

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

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

      public com.google.protobuf.ByteString getDescriptionBytes()
       [Output Only] Textual description of the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface RegionOrBuilder
      Returns:
      The bytes for description.
    • setDescription

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

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

      public Region.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       [Output Only] Textual description of the 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 RegionOrBuilder
      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 RegionOrBuilder
      Returns:
      The id.
    • setId

      public Region.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 Region.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. Always compute#region for
       regions.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface RegionOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

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

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

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

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

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

      public boolean hasName()
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface RegionOrBuilder
      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 RegionOrBuilder
      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 RegionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Region.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 Region.Builder clearName()
       [Output Only] Name of the resource.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Region.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.
    • hasQuotaStatusWarning

      public boolean hasQuotaStatusWarning()
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
      Specified by:
      hasQuotaStatusWarning in interface RegionOrBuilder
      Returns:
      Whether the quotaStatusWarning field is set.
    • getQuotaStatusWarning

      public QuotaStatusWarning getQuotaStatusWarning()
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
      Specified by:
      getQuotaStatusWarning in interface RegionOrBuilder
      Returns:
      The quotaStatusWarning.
    • setQuotaStatusWarning

      public Region.Builder setQuotaStatusWarning(QuotaStatusWarning value)
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
    • setQuotaStatusWarning

      public Region.Builder setQuotaStatusWarning(QuotaStatusWarning.Builder builderForValue)
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
    • mergeQuotaStatusWarning

      public Region.Builder mergeQuotaStatusWarning(QuotaStatusWarning value)
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
    • clearQuotaStatusWarning

      public Region.Builder clearQuotaStatusWarning()
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
    • getQuotaStatusWarningBuilder

      public QuotaStatusWarning.Builder getQuotaStatusWarningBuilder()
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
    • getQuotaStatusWarningOrBuilder

      public QuotaStatusWarningOrBuilder getQuotaStatusWarningOrBuilder()
       Output only. [Output Only] Warning of fetching the `quotas` field for this region. This
       field is populated only if fetching of the `quotas` field fails.
       
      optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430;
      Specified by:
      getQuotaStatusWarningOrBuilder in interface RegionOrBuilder
    • getQuotasList

      public List<Quota> getQuotasList()
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
      Specified by:
      getQuotasList in interface RegionOrBuilder
    • getQuotasCount

      public int getQuotasCount()
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
      Specified by:
      getQuotasCount in interface RegionOrBuilder
    • getQuotas

      public Quota getQuotas(int index)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
      Specified by:
      getQuotas in interface RegionOrBuilder
    • setQuotas

      public Region.Builder setQuotas(int index, Quota value)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • setQuotas

      public Region.Builder setQuotas(int index, Quota.Builder builderForValue)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • addQuotas

      public Region.Builder addQuotas(Quota value)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • addQuotas

      public Region.Builder addQuotas(int index, Quota value)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • addQuotas

      public Region.Builder addQuotas(Quota.Builder builderForValue)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • addQuotas

      public Region.Builder addQuotas(int index, Quota.Builder builderForValue)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • addAllQuotas

      public Region.Builder addAllQuotas(Iterable<? extends Quota> values)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • clearQuotas

      public Region.Builder clearQuotas()
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • removeQuotas

      public Region.Builder removeQuotas(int index)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • getQuotasBuilder

      public Quota.Builder getQuotasBuilder(int index)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • getQuotasOrBuilder

      public QuotaOrBuilder getQuotasOrBuilder(int index)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
      Specified by:
      getQuotasOrBuilder in interface RegionOrBuilder
    • getQuotasOrBuilderList

      public List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
      Specified by:
      getQuotasOrBuilderList in interface RegionOrBuilder
    • addQuotasBuilder

      public Quota.Builder addQuotasBuilder()
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • addQuotasBuilder

      public Quota.Builder addQuotasBuilder(int index)
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • getQuotasBuilderList

      public List<Quota.Builder> getQuotasBuilderList()
       [Output Only] Quotas assigned to this region.
       
      repeated .google.cloud.compute.v1.Quota quotas = 125341947;
    • hasSelfLink

      public boolean hasSelfLink()
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface RegionOrBuilder
      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 RegionOrBuilder
      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 RegionOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public Region.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 Region.Builder clearSelfLink()
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public Region.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.
    • hasStatus

      public boolean hasStatus()
       [Output Only] Status of the region, either UP orDOWN.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      hasStatus in interface RegionOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
       [Output Only] Status of the region, either UP orDOWN.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatus in interface RegionOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       [Output Only] Status of the region, either UP orDOWN.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatusBytes in interface RegionOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public Region.Builder setStatus(String value)
       [Output Only] Status of the region, either UP orDOWN.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public Region.Builder clearStatus()
       [Output Only] Status of the region, either UP orDOWN.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public Region.Builder setStatusBytes(com.google.protobuf.ByteString value)
       [Output Only] Status of the region, either UP orDOWN.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.
    • hasSupportsPzs

      public boolean hasSupportsPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool supports_pzs = 83983214;
      Specified by:
      hasSupportsPzs in interface RegionOrBuilder
      Returns:
      Whether the supportsPzs field is set.
    • getSupportsPzs

      public boolean getSupportsPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool supports_pzs = 83983214;
      Specified by:
      getSupportsPzs in interface RegionOrBuilder
      Returns:
      The supportsPzs.
    • setSupportsPzs

      public Region.Builder setSupportsPzs(boolean value)
       Output only. [Output Only] Reserved for future use.
       
      optional bool supports_pzs = 83983214;
      Parameters:
      value - The supportsPzs to set.
      Returns:
      This builder for chaining.
    • clearSupportsPzs

      public Region.Builder clearSupportsPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool supports_pzs = 83983214;
      Returns:
      This builder for chaining.
    • getZonesList

      public com.google.protobuf.ProtocolStringList getZonesList()
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Specified by:
      getZonesList in interface RegionOrBuilder
      Returns:
      A list containing the zones.
    • getZonesCount

      public int getZonesCount()
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Specified by:
      getZonesCount in interface RegionOrBuilder
      Returns:
      The count of zones.
    • getZones

      public String getZones(int index)
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Specified by:
      getZones in interface RegionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The zones at the given index.
    • getZonesBytes

      public com.google.protobuf.ByteString getZonesBytes(int index)
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Specified by:
      getZonesBytes in interface RegionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the zones at the given index.
    • setZones

      public Region.Builder setZones(int index, String value)
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Parameters:
      index - The index to set the value at.
      value - The zones to set.
      Returns:
      This builder for chaining.
    • addZones

      public Region.Builder addZones(String value)
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Parameters:
      value - The zones to add.
      Returns:
      This builder for chaining.
    • addAllZones

      public Region.Builder addAllZones(Iterable<String> values)
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Parameters:
      values - The zones to add.
      Returns:
      This builder for chaining.
    • clearZones

      public Region.Builder clearZones()
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Returns:
      This builder for chaining.
    • addZonesBytes

      public Region.Builder addZonesBytes(com.google.protobuf.ByteString value)
       [Output Only] A list of zones available in this region, in the form of
       resource URLs.
       
      repeated string zones = 116085319;
      Parameters:
      value - The bytes of the zones to add.
      Returns:
      This builder for chaining.