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 String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.DeprecationStatus
getDeprecated()
[Output Only] The deprecation status associated with this region.DeprecationStatusOrBuilder
getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this region.String
getDescription()
[Output Only] Textual description of the resource.com.google.protobuf.ByteString
getDescriptionBytes()
[Output Only] Textual description of the resource.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getName()
[Output Only] Name of the resource.com.google.protobuf.ByteString
getNameBytes()
[Output Only] Name of the resource.Quota
getQuotas(int index)
[Output Only] Quotas assigned to this region.int
getQuotasCount()
[Output Only] Quotas assigned to this region.List<Quota>
getQuotasList()
[Output Only] Quotas assigned to this region.QuotaOrBuilder
getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this region.List<? extends QuotaOrBuilder>
getQuotasOrBuilderList()
[Output Only] Quotas assigned to this region.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.String
getStatus()
[Output Only] Status of the region, either UP or DOWN.com.google.protobuf.ByteString
getStatusBytes()
[Output Only] Status of the region, either UP or DOWN.boolean
getSupportsPzs()
[Output Only] Reserved for future use.String
getZones(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.com.google.protobuf.ByteString
getZonesBytes(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.int
getZonesCount()
[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.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDeprecated()
[Output Only] The deprecation status associated with this region.boolean
hasDescription()
[Output Only] Textual description of the resource.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
[Output Only] Name of the resource.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasStatus()
[Output Only] Status of the region, either UP or DOWN.boolean
hasSupportsPzs()
[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.
-
-