Interface RegionOrBuilder (1.52.0)

public interface RegionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDeprecated()

public abstract DeprecationStatus getDeprecated()

[Output Only] The deprecation status associated with this region.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
DeprecationStatus

The deprecated.

getDeprecatedOrBuilder()

public abstract DeprecationStatusOrBuilder getDeprecatedOrBuilder()

[Output Only] The deprecation status associated with this region.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
DeprecationStatusOrBuilder

getDescription()

public abstract String getDescription()

[Output Only] Textual description of the resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

[Output Only] Textual description of the resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getId()

public abstract long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#region for regions.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#region for regions.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public abstract String getName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getQuotas(int index)

public abstract Quota getQuotas(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

getQuotasCount()

public abstract int getQuotasCount()

[Output Only] Quotas assigned to this region.

repeated .google.cloud.compute.v1.Quota quotas = 125341947;

Returns
Type Description
int

getQuotasList()

public abstract List<Quota> getQuotasList()

[Output Only] Quotas assigned to this region.

repeated .google.cloud.compute.v1.Quota quotas = 125341947;

Returns
Type Description
List<Quota>

getQuotasOrBuilder(int index)

public abstract QuotaOrBuilder getQuotasOrBuilder(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
QuotaOrBuilder

getQuotasOrBuilderList()

public abstract List<? extends QuotaOrBuilder> getQuotasOrBuilderList()

[Output Only] Quotas assigned to this region.

repeated .google.cloud.compute.v1.Quota quotas = 125341947;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.QuotaOrBuilder>
public abstract String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getStatus()

public abstract 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;

Returns
Type Description
String

The status.

getStatusBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for status.

getSupportsPzs()

public abstract boolean getSupportsPzs()

[Output Only] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
Type Description
boolean

The supportsPzs.

getZones(int index)

public abstract String getZones(int index)

[Output Only] A list of zones available in this region, in the form of resource URLs.

repeated string zones = 116085319;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The zones at the given index.

getZonesBytes(int index)

public abstract ByteString getZonesBytes(int index)

[Output Only] A list of zones available in this region, in the form of resource URLs.

repeated string zones = 116085319;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the zones at the given index.

getZonesCount()

public abstract int getZonesCount()

[Output Only] A list of zones available in this region, in the form of resource URLs.

repeated string zones = 116085319;

Returns
Type Description
int

The count of zones.

getZonesList()

public abstract List<String> getZonesList()

[Output Only] A list of zones available in this region, in the form of resource URLs.

repeated string zones = 116085319;

Returns
Type Description
List<String>

A list containing the zones.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDeprecated()

public abstract boolean hasDeprecated()

[Output Only] The deprecation status associated with this region.

optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;

Returns
Type Description
boolean

Whether the deprecated field is set.

hasDescription()

public abstract boolean hasDescription()

[Output Only] Textual description of the resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasId()

public abstract boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#region for regions.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasName()

public abstract boolean hasName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasStatus()

public abstract 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;

Returns
Type Description
boolean

Whether the status field is set.

hasSupportsPzs()

public abstract boolean hasSupportsPzs()

[Output Only] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
Type Description
boolean

Whether the supportsPzs field is set.