public final class Region extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
Region.Builder
Represents a Region resource.
|
static class |
Region.Status
[Output Only] Status of the region, either UP or DOWN.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DEPRECATED_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
QUOTAS_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
SUPPORTS_PZS_FIELD_NUMBER |
static int |
ZONES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Region |
getDefaultInstance() |
Region |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Region> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Region.Builder |
newBuilder() |
static Region.Builder |
newBuilder(Region prototype) |
Region.Builder |
newBuilderForType() |
protected Region.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Region |
parseDelimitedFrom(InputStream input) |
static Region |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Region |
parseFrom(byte[] data) |
static Region |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Region |
parseFrom(ByteBuffer data) |
static Region |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Region |
parseFrom(com.google.protobuf.ByteString data) |
static Region |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Region |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Region |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Region |
parseFrom(InputStream input) |
static Region |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Region> |
parser() |
Region.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int QUOTAS_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int SUPPORTS_PZS_FIELD_NUMBER
public static final int ZONES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface RegionOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface RegionOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface RegionOrBuilderpublic boolean hasDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;hasDeprecated in interface RegionOrBuilderpublic DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecated in interface RegionOrBuilderpublic DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecatedOrBuilder in interface RegionOrBuilderpublic boolean hasDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;hasDescription in interface RegionOrBuilderpublic String getDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;getDescription in interface RegionOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] Textual description of the resource.
optional string description = 422937596;getDescriptionBytes in interface RegionOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface RegionOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface RegionOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;hasKind in interface RegionOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;getKind in interface RegionOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;getKindBytes in interface RegionOrBuilderpublic boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;hasName in interface RegionOrBuilderpublic String getName()
[Output Only] Name of the resource.
optional string name = 3373707;getName in interface RegionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;getNameBytes in interface RegionOrBuilderpublic List<Quota> getQuotasList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;getQuotasList in interface RegionOrBuilderpublic List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;getQuotasOrBuilderList in interface RegionOrBuilderpublic int getQuotasCount()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;getQuotasCount in interface RegionOrBuilderpublic Quota getQuotas(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;getQuotas in interface RegionOrBuilderpublic QuotaOrBuilder getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;getQuotasOrBuilder in interface RegionOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface RegionOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface RegionOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface RegionOrBuilderpublic 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;hasStatus in interface RegionOrBuilderpublic 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;getStatus in interface RegionOrBuilderpublic 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;getStatusBytes in interface RegionOrBuilderpublic boolean hasSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;hasSupportsPzs in interface RegionOrBuilderpublic boolean getSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;getSupportsPzs in interface RegionOrBuilderpublic com.google.protobuf.ProtocolStringList getZonesList()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;getZonesList in interface RegionOrBuilderpublic int getZonesCount()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;getZonesCount in interface RegionOrBuilderpublic String getZones(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;getZones in interface RegionOrBuilderindex - The index of the element to return.public 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;getZonesBytes in interface RegionOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Region parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Region parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Region parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Region parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Region parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Region parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Region parseFrom(InputStream input) throws IOException
IOExceptionpublic static Region parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Region parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Region parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Region parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Region parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Region.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Region.Builder newBuilder()
public static Region.Builder newBuilder(Region prototype)
public Region.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Region.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Region getDefaultInstance()
public static com.google.protobuf.Parser<Region> parser()
public com.google.protobuf.Parser<Region> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Region getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.