public final class Zone extends com.google.protobuf.GeneratedMessageV3 implements ZoneOrBuilder
Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.Protobuf type
google.cloud.compute.v1.Zone| Modifier and Type | Class and Description |
|---|---|
static class |
Zone.Builder
Represents a Zone resource.
|
static class |
Zone.Status
[Output Only] Status of the zone, 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 |
AVAILABLE_CPU_PLATFORMS_FIELD_NUMBER |
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 |
REGION_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
SUPPORTS_PZS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAvailableCpuPlatforms(int index)
[Output Only] Available cpu/platform selections for the zone.
|
com.google.protobuf.ByteString |
getAvailableCpuPlatformsBytes(int index)
[Output Only] Available cpu/platform selections for the zone.
|
int |
getAvailableCpuPlatformsCount()
[Output Only] Available cpu/platform selections for the zone.
|
com.google.protobuf.ProtocolStringList |
getAvailableCpuPlatformsList()
[Output Only] Available cpu/platform selections for the zone.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Zone |
getDefaultInstance() |
Zone |
getDefaultInstanceForType() |
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this zone.
|
DeprecationStatusOrBuilder |
getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this zone.
|
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<Zone> |
getParserForType() |
String |
getRegion()
[Output Only] Full URL reference to the region which hosts the zone.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] Full URL reference to the region which hosts the zone.
|
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 zone, either UP or DOWN.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] Status of the zone, either UP or DOWN.
|
boolean |
getSupportsPzs()
[Output Only] Reserved for future use.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDeprecated()
[Output Only] The deprecation status associated with this zone.
|
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 |
hasRegion()
[Output Only] Full URL reference to the region which hosts the zone.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStatus()
[Output Only] Status of the zone, either UP or DOWN.
|
boolean |
hasSupportsPzs()
[Output Only] Reserved for future use.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Zone.Builder |
newBuilder() |
static Zone.Builder |
newBuilder(Zone prototype) |
Zone.Builder |
newBuilderForType() |
protected Zone.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Zone |
parseDelimitedFrom(InputStream input) |
static Zone |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Zone |
parseFrom(byte[] data) |
static Zone |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Zone |
parseFrom(ByteBuffer data) |
static Zone |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Zone |
parseFrom(com.google.protobuf.ByteString data) |
static Zone |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Zone |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Zone |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Zone |
parseFrom(InputStream input) |
static Zone |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Zone> |
parser() |
Zone.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 AVAILABLE_CPU_PLATFORMS_FIELD_NUMBER
public 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 REGION_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
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 com.google.protobuf.ProtocolStringList getAvailableCpuPlatformsList()
[Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;getAvailableCpuPlatformsList in interface ZoneOrBuilderpublic int getAvailableCpuPlatformsCount()
[Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;getAvailableCpuPlatformsCount in interface ZoneOrBuilderpublic String getAvailableCpuPlatforms(int index)
[Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;getAvailableCpuPlatforms in interface ZoneOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAvailableCpuPlatformsBytes(int index)
[Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;getAvailableCpuPlatformsBytes in interface ZoneOrBuilderindex - The index of the value to return.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface ZoneOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface ZoneOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface ZoneOrBuilderpublic boolean hasDeprecated()
[Output Only] The deprecation status associated with this zone.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;hasDeprecated in interface ZoneOrBuilderpublic DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this zone.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecated in interface ZoneOrBuilderpublic DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this zone.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecatedOrBuilder in interface ZoneOrBuilderpublic boolean hasDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;hasDescription in interface ZoneOrBuilderpublic String getDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;getDescription in interface ZoneOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] Textual description of the resource.
optional string description = 422937596;getDescriptionBytes in interface ZoneOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface ZoneOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface ZoneOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#zone for zones.
optional string kind = 3292052;hasKind in interface ZoneOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#zone for zones.
optional string kind = 3292052;getKind in interface ZoneOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#zone for zones.
optional string kind = 3292052;getKindBytes in interface ZoneOrBuilderpublic boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;hasName in interface ZoneOrBuilderpublic String getName()
[Output Only] Name of the resource.
optional string name = 3373707;getName in interface ZoneOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;getNameBytes in interface ZoneOrBuilderpublic boolean hasRegion()
[Output Only] Full URL reference to the region which hosts the zone.
optional string region = 138946292;hasRegion in interface ZoneOrBuilderpublic String getRegion()
[Output Only] Full URL reference to the region which hosts the zone.
optional string region = 138946292;getRegion in interface ZoneOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] Full URL reference to the region which hosts the zone.
optional string region = 138946292;getRegionBytes in interface ZoneOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface ZoneOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface ZoneOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface ZoneOrBuilderpublic boolean hasStatus()
[Output Only] Status of the zone, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface ZoneOrBuilderpublic String getStatus()
[Output Only] Status of the zone, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface ZoneOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] Status of the zone, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface ZoneOrBuilderpublic boolean hasSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;hasSupportsPzs in interface ZoneOrBuilderpublic boolean getSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;getSupportsPzs in interface ZoneOrBuilderpublic 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 Zone parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Zone parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Zone parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Zone parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Zone parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Zone parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Zone parseFrom(InputStream input) throws IOException
IOExceptionpublic static Zone parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Zone parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Zone parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Zone parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Zone parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Zone.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Zone.Builder newBuilder()
public static Zone.Builder newBuilder(Zone prototype)
public Zone.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Zone.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Zone getDefaultInstance()
public static com.google.protobuf.Parser<Zone> parser()
public com.google.protobuf.Parser<Zone> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Zone getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.