Package com.google.cloud.compute.v1
Interface RegionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Region,Region.Builder
public interface RegionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.DeprecationStatusgetDeprecated()[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.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.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.List<String>getZonesList()[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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDeprecated
boolean hasDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Returns:
- Whether the deprecated field is set.
-
getDeprecated
DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Returns:
- The deprecated.
-
getDeprecatedOrBuilder
DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
hasDescription
boolean hasDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] Textual description of the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()
[Output Only] Name of the resource.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;- Returns:
- The bytes for name.
-
getQuotasList
List<Quota> getQuotasList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotas
Quota getQuotas(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasCount
int getQuotasCount()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasOrBuilderList
List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasOrBuilder
QuotaOrBuilder getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasStatus
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:
- Whether the status field is set.
-
getStatus
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:
- The status.
-
getStatusBytes
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;- Returns:
- The bytes for status.
-
hasSupportsPzs
boolean hasSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;- Returns:
- Whether the supportsPzs field is set.
-
getSupportsPzs
boolean getSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;- Returns:
- The supportsPzs.
-
getZonesList
List<String> getZonesList()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;- Returns:
- A list containing the zones.
-
getZonesCount
int getZonesCount()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;- Returns:
- The count of zones.
-
getZones
String getZones(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;- Parameters:
index- The index of the element to return.- Returns:
- The zones at the given index.
-
getZonesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the zones at the given index.
-
-