Package com.google.cloud.compute.v1
Class Region.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Region.Builder> implements RegionOrBuilder
Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.
Protobuf typegoogle.cloud.compute.v1.Region
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Region.BuilderaddAllQuotas(Iterable<? extends Quota> values)[Output Only] Quotas assigned to this region.Region.BuilderaddAllZones(Iterable<String> values)[Output Only] A list of zones available in this region, in the form of resource URLs.Region.BuilderaddQuotas(int index, Quota value)[Output Only] Quotas assigned to this region.Region.BuilderaddQuotas(int index, Quota.Builder builderForValue)[Output Only] Quotas assigned to this region.Region.BuilderaddQuotas(Quota value)[Output Only] Quotas assigned to this region.Region.BuilderaddQuotas(Quota.Builder builderForValue)[Output Only] Quotas assigned to this region.Quota.BuilderaddQuotasBuilder()[Output Only] Quotas assigned to this region.Quota.BuilderaddQuotasBuilder(int index)[Output Only] Quotas assigned to this region.Region.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Region.BuilderaddZones(String value)[Output Only] A list of zones available in this region, in the form of resource URLs.Region.BuilderaddZonesBytes(com.google.protobuf.ByteString value)[Output Only] A list of zones available in this region, in the form of resource URLs.Regionbuild()RegionbuildPartial()Region.Builderclear()Region.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.Region.BuilderclearDeprecated()[Output Only] The deprecation status associated with this region.Region.BuilderclearDescription()[Output Only] Textual description of the resource.Region.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Region.BuilderclearId()[Output Only] The unique identifier for the resource.Region.BuilderclearKind()[Output Only] Type of the resource.Region.BuilderclearName()[Output Only] Name of the resource.Region.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Region.BuilderclearQuotas()[Output Only] Quotas assigned to this region.Region.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.Region.BuilderclearStatus()[Output Only] Status of the region, either UP or DOWN.Region.BuilderclearSupportsPzs()[Output Only] Reserved for future use.Region.BuilderclearZones()[Output Only] A list of zones available in this region, in the form of resource URLs.Region.Builderclone()StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.RegiongetDefaultInstanceForType()DeprecationStatusgetDeprecated()[Output Only] The deprecation status associated with this region.DeprecationStatus.BuildergetDeprecatedBuilder()[Output Only] The deprecation status associated with this region.DeprecationStatusOrBuildergetDeprecatedOrBuilder()[Output Only] The deprecation status associated with this region.StringgetDescription()[Output Only] Textual description of the resource.com.google.protobuf.ByteStringgetDescriptionBytes()[Output Only] Textual description of the resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()[Output Only] Name of the resource.com.google.protobuf.ByteStringgetNameBytes()[Output Only] Name of the resource.QuotagetQuotas(int index)[Output Only] Quotas assigned to this region.Quota.BuildergetQuotasBuilder(int index)[Output Only] Quotas assigned to this region.List<Quota.Builder>getQuotasBuilderList()[Output Only] Quotas assigned to this region.intgetQuotasCount()[Output Only] Quotas assigned to this region.List<Quota>getQuotasList()[Output Only] Quotas assigned to this region.QuotaOrBuildergetQuotasOrBuilder(int index)[Output Only] Quotas assigned to this region.List<? extends QuotaOrBuilder>getQuotasOrBuilderList()[Output Only] Quotas assigned to this region.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.StringgetStatus()[Output Only] Status of the region, either UP or DOWN.com.google.protobuf.ByteStringgetStatusBytes()[Output Only] Status of the region, either UP or DOWN.booleangetSupportsPzs()[Output Only] Reserved for future use.StringgetZones(int index)[Output Only] A list of zones available in this region, in the form of resource URLs.com.google.protobuf.ByteStringgetZonesBytes(int index)[Output Only] A list of zones available in this region, in the form of resource URLs.intgetZonesCount()[Output Only] A list of zones available in this region, in the form of resource URLs.com.google.protobuf.ProtocolStringListgetZonesList()[Output Only] A list of zones available in this region, in the form of resource URLs.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDeprecated()[Output Only] The deprecation status associated with this region.booleanhasDescription()[Output Only] Textual description of the resource.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasName()[Output Only] Name of the resource.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasStatus()[Output Only] Status of the region, either UP or DOWN.booleanhasSupportsPzs()[Output Only] Reserved for future use.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Region.BuildermergeDeprecated(DeprecationStatus value)[Output Only] The deprecation status associated with this region.Region.BuildermergeFrom(Region other)Region.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Region.BuildermergeFrom(com.google.protobuf.Message other)Region.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Region.BuilderremoveQuotas(int index)[Output Only] Quotas assigned to this region.Region.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.Region.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.Region.BuildersetDeprecated(DeprecationStatus value)[Output Only] The deprecation status associated with this region.Region.BuildersetDeprecated(DeprecationStatus.Builder builderForValue)[Output Only] The deprecation status associated with this region.Region.BuildersetDescription(String value)[Output Only] Textual description of the resource.Region.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)[Output Only] Textual description of the resource.Region.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Region.BuildersetId(long value)[Output Only] The unique identifier for the resource.Region.BuildersetKind(String value)[Output Only] Type of the resource.Region.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.Region.BuildersetName(String value)[Output Only] Name of the resource.Region.BuildersetNameBytes(com.google.protobuf.ByteString value)[Output Only] Name of the resource.Region.BuildersetQuotas(int index, Quota value)[Output Only] Quotas assigned to this region.Region.BuildersetQuotas(int index, Quota.Builder builderForValue)[Output Only] Quotas assigned to this region.Region.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Region.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.Region.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.Region.BuildersetStatus(String value)[Output Only] Status of the region, either UP or DOWN.Region.BuildersetStatusBytes(com.google.protobuf.ByteString value)[Output Only] Status of the region, either UP or DOWN.Region.BuildersetSupportsPzs(boolean value)[Output Only] Reserved for future use.Region.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Region.BuildersetZones(int index, String value)[Output Only] A list of zones available in this region, in the form of resource URLs.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
clear
public Region.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
getDefaultInstanceForType
public Region getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Region build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Region buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Region.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
setField
public Region.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
clearField
public Region.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
clearOneof
public Region.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
setRepeatedField
public Region.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
addRepeatedField
public Region.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
mergeFrom
public Region.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Region.Builder>
-
mergeFrom
public Region.Builder mergeFrom(Region other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
mergeFrom
public Region.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Region.Builder>- Throws:
IOException
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceRegionOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceRegionOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceRegionOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Region.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 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 in RFC3339 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 in RFC3339 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:
hasDeprecatedin interfaceRegionOrBuilder- 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:
getDeprecatedin interfaceRegionOrBuilder- 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:
getDeprecatedOrBuilderin interfaceRegionOrBuilder
-
hasDescription
public boolean hasDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceRegionOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceRegionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] Textual description of the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceRegionOrBuilder- 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:
hasIdin interfaceRegionOrBuilder- 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:
getIdin interfaceRegionOrBuilder- 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] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;- Specified by:
hasKindin interfaceRegionOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;- Specified by:
getKindin interfaceRegionOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceRegionOrBuilder- Returns:
- The bytes for kind.
-
setKind
public Region.Builder setKind(String value)
[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] 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] 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:
hasNamein interfaceRegionOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
[Output Only] Name of the resource.
optional string name = 3373707;- Specified by:
getNamein interfaceRegionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRegionOrBuilder- 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.
-
getQuotasList
public List<Quota> getQuotasList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasListin interfaceRegionOrBuilder
-
getQuotasCount
public int getQuotasCount()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasCountin interfaceRegionOrBuilder
-
getQuotas
public Quota getQuotas(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasin interfaceRegionOrBuilder
-
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:
getQuotasOrBuilderin interfaceRegionOrBuilder
-
getQuotasOrBuilderList
public List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasOrBuilderListin interfaceRegionOrBuilder
-
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:
hasSelfLinkin interfaceRegionOrBuilder- 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:
getSelfLinkin interfaceRegionOrBuilder- 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:
getSelfLinkBytesin interfaceRegionOrBuilder- 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 or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
hasStatusin interfaceRegionOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public String getStatus()
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceRegionOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceRegionOrBuilder- Returns:
- The bytes for status.
-
setStatus
public Region.Builder setStatus(String value)
[Output Only] Status of the region, either UP or DOWN. 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 or DOWN. 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 or DOWN. 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] Reserved for future use.
optional bool supports_pzs = 83983214;- Specified by:
hasSupportsPzsin interfaceRegionOrBuilder- Returns:
- Whether the supportsPzs field is set.
-
getSupportsPzs
public boolean getSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;- Specified by:
getSupportsPzsin interfaceRegionOrBuilder- Returns:
- The supportsPzs.
-
setSupportsPzs
public Region.Builder setSupportsPzs(boolean value)
[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] 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:
getZonesListin interfaceRegionOrBuilder- 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:
getZonesCountin interfaceRegionOrBuilder- 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:
getZonesin interfaceRegionOrBuilder- 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:
getZonesBytesin interfaceRegionOrBuilder- 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.
-
setUnknownFields
public final Region.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
mergeUnknownFields
public final Region.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
-