- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class Region.Builder extends 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 type google.cloud.compute.v1.Region
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Region.BuilderImplements
RegionOrBuilderMethods
addAllQuotas(Iterable<? extends Quota> values)
public Region.Builder addAllQuotas(Iterable<? extends Quota> values)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Quota> |
Type | Description |
Region.Builder |
addAllZones(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The zones to add. |
Type | Description |
Region.Builder | This builder for chaining. |
addQuotas(Quota value)
public Region.Builder addQuotas(Quota value)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
value | Quota |
Type | Description |
Region.Builder |
addQuotas(Quota.Builder builderForValue)
public Region.Builder addQuotas(Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
builderForValue | Quota.Builder |
Type | Description |
Region.Builder |
addQuotas(int index, Quota value)
public Region.Builder addQuotas(int index, Quota value)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
value | Quota |
Type | Description |
Region.Builder |
addQuotas(int index, Quota.Builder builderForValue)
public Region.Builder addQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
builderForValue | Quota.Builder |
Type | Description |
Region.Builder |
addQuotasBuilder()
public Quota.Builder addQuotasBuilder()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Type | Description |
Quota.Builder |
addQuotasBuilder(int index)
public Quota.Builder addQuotasBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
Type | Description |
Quota.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Region.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Region.Builder |
addZones(String value)
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;
Name | Description |
value | String The zones to add. |
Type | Description |
Region.Builder | This builder for chaining. |
addZonesBytes(ByteString value)
public Region.Builder addZonesBytes(ByteString value)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
Name | Description |
value | ByteString The bytes of the zones to add. |
Type | Description |
Region.Builder | This builder for chaining. |
build()
public Region build()
Type | Description |
Region |
buildPartial()
public Region buildPartial()
Type | Description |
Region |
clear()
public Region.Builder clear()
Type | Description |
Region.Builder |
clearCreationTimestamp()
public Region.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
Region.Builder | This builder for chaining. |
clearDeprecated()
public Region.Builder clearDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Type | Description |
Region.Builder |
clearDescription()
public Region.Builder clearDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;
Type | Description |
Region.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Region.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Region.Builder |
clearId()
public Region.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
Region.Builder | This builder for chaining. |
clearKind()
public Region.Builder clearKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
Type | Description |
Region.Builder | This builder for chaining. |
clearName()
public Region.Builder clearName()
[Output Only] Name of the resource.
optional string name = 3373707;
Type | Description |
Region.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Region.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Region.Builder |
clearQuotas()
public Region.Builder clearQuotas()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Type | Description |
Region.Builder |
clearSelfLink()
public Region.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
Region.Builder | 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;
Type | Description |
Region.Builder | This builder for chaining. |
clearSupportsPzs()
public Region.Builder clearSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
Type | Description |
Region.Builder | 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;
Type | Description |
Region.Builder | This builder for chaining. |
clone()
public Region.Builder clone()
Type | Description |
Region.Builder |
getCreationTimestamp()
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
ByteString | The bytes for creationTimestamp. |
getDefaultInstanceForType()
public Region getDefaultInstanceForType()
Type | Description |
Region |
getDeprecated()
public DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Type | Description |
DeprecationStatus | The deprecated. |
getDeprecatedBuilder()
public DeprecationStatus.Builder getDeprecatedBuilder()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Type | Description |
DeprecationStatus.Builder |
getDeprecatedOrBuilder()
public DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Type | Description |
DeprecationStatusOrBuilder |
getDescription()
public String getDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
[Output Only] Textual description of the resource.
optional string description = 422937596;
Type | Description |
ByteString | The bytes for description. |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
long | The id. |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getName()
public String getName()
[Output Only] Name of the resource.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getQuotas(int index)
public Quota getQuotas(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
Type | Description |
Quota |
getQuotasBuilder(int index)
public Quota.Builder getQuotasBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
Type | Description |
Quota.Builder |
getQuotasBuilderList()
public List<Quota.Builder> getQuotasBuilderList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Type | Description |
List<Builder> |
getQuotasCount()
public int getQuotasCount()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Type | Description |
int |
getQuotasList()
public List<Quota> getQuotasList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Type | Description |
List<Quota> |
getQuotasOrBuilder(int index)
public QuotaOrBuilder getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
Type | Description |
QuotaOrBuilder |
getQuotasOrBuilderList()
public List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Type | Description |
List<? extends com.google.cloud.compute.v1.QuotaOrBuilder> |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
ByteString | The bytes for selfLink. |
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;
Type | Description |
String | The status. |
getStatusBytes()
public 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;
Type | Description |
ByteString | The bytes for status. |
getSupportsPzs()
public boolean getSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
Type | Description |
boolean | The supportsPzs. |
getZones(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The zones at the given index. |
getZonesBytes(int index)
public ByteString getZonesBytes(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the zones at the given index. |
getZonesCount()
public int getZonesCount()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
Type | Description |
int | The count of zones. |
getZonesList()
public ProtocolStringList getZonesList()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
Type | Description |
ProtocolStringList | A list containing the zones. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasDeprecated()
public boolean hasDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Type | Description |
boolean | Whether the deprecated field is set. |
hasDescription()
public boolean hasDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;
Type | Description |
boolean | Whether the description field is set. |
hasId()
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
boolean | Whether the id field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
hasName()
public boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;
Type | Description |
boolean | Whether the name field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
boolean | Whether the selfLink field is set. |
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;
Type | Description |
boolean | Whether the status field is set. |
hasSupportsPzs()
public boolean hasSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
Type | Description |
boolean | Whether the supportsPzs field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDeprecated(DeprecationStatus value)
public Region.Builder mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Name | Description |
value | DeprecationStatus |
Type | Description |
Region.Builder |
mergeFrom(Region other)
public Region.Builder mergeFrom(Region other)
Name | Description |
other | Region |
Type | Description |
Region.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Region.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Region.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Region.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Region.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Region.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Region.Builder |
removeQuotas(int index)
public Region.Builder removeQuotas(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
Type | Description |
Region.Builder |
setCreationTimestamp(String value)
public Region.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | String The creationTimestamp to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public Region.Builder setCreationTimestampBytes(ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | ByteString The bytes for creationTimestamp to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setDeprecated(DeprecationStatus value)
public Region.Builder setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Name | Description |
value | DeprecationStatus |
Type | Description |
Region.Builder |
setDeprecated(DeprecationStatus.Builder builderForValue)
public Region.Builder setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
Name | Description |
builderForValue | DeprecationStatus.Builder |
Type | Description |
Region.Builder |
setDescription(String value)
public Region.Builder setDescription(String value)
[Output Only] Textual description of the resource.
optional string description = 422937596;
Name | Description |
value | String The description to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Region.Builder setDescriptionBytes(ByteString value)
[Output Only] Textual description of the resource.
optional string description = 422937596;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Region.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Region.Builder |
setId(long value)
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;
Name | Description |
value | long The id to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setKind(String value)
public Region.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
Name | Description |
value | String The kind to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public Region.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
Name | Description |
value | ByteString The bytes for kind to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setName(String value)
public Region.Builder setName(String value)
[Output Only] Name of the resource.
optional string name = 3373707;
Name | Description |
value | String The name to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Region.Builder setNameBytes(ByteString value)
[Output Only] Name of the resource.
optional string name = 3373707;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setQuotas(int index, Quota value)
public Region.Builder setQuotas(int index, Quota value)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
value | Quota |
Type | Description |
Region.Builder |
setQuotas(int index, Quota.Builder builderForValue)
public Region.Builder setQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Name | Description |
index | int |
builderForValue | Quota.Builder |
Type | Description |
Region.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Region.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Region.Builder |
setSelfLink(String value)
public Region.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | String The selfLink to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public Region.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | ByteString The bytes for selfLink to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setStatus(String value)
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;
Name | Description |
value | String The status to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setStatusBytes(ByteString value)
public Region.Builder setStatusBytes(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;
Name | Description |
value | ByteString The bytes for status to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setSupportsPzs(boolean value)
public Region.Builder setSupportsPzs(boolean value)
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
Name | Description |
value | boolean The supportsPzs to set. |
Type | Description |
Region.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Region.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Region.Builder |
setZones(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The zones to set. |
Type | Description |
Region.Builder | This builder for chaining. |