- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 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 RegionOrBuilderRepresents 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
RegionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.Quota> |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The zones to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Quota |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Quota.Builder |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Quota |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Quota.Builder |
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
|
addQuotasBuilder()
public Quota.Builder addQuotasBuilder()[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Quota.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Region.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zones to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the zones to add. |
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
This builder for chaining. |
build()
public Region build()| Returns | |
|---|---|
| Type | Description |
Region |
|
buildPartial()
public Region buildPartial()| Returns | |
|---|---|
| Type | Description |
Region |
|
clear()
public Region.Builder clear()| Returns | |
|---|---|
| Type | Description |
Region.Builder |
|
clearCreationTimestamp()
public Region.Builder clearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
|
clearDescription()
public Region.Builder clearDescription()[Output Only] Textual description of the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Region.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
This builder for chaining. |
clearName()
public Region.Builder clearName()[Output Only] Name of the resource.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Region.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
|
clearQuotaStatusWarning()
public Region.Builder clearQuotaStatusWarning() [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;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
|
clearQuotas()
public Region.Builder clearQuotas()[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
|
clearSelfLink()
public Region.Builder clearSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
This builder for chaining. |
clearSupportsPzs()
public Region.Builder clearSupportsPzs()[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Region.Builder |
This builder for chaining. |
clone()
public Region.Builder clone()| Returns | |
|---|---|
| Type | Description |
Region.Builder |
|
getCreationTimestamp()
public String getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
< |