Package com.google.cloud.compute.v1
Interface ZoneOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Zone,Zone.Builder
@Generated
public interface ZoneOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAvailableCpuPlatforms(int index) [Output Only] Available cpu/platform selections for the zone.com.google.protobuf.ByteStringgetAvailableCpuPlatformsBytes(int index) [Output Only] Available cpu/platform selections for the zone.int[Output Only] Available cpu/platform selections for the zone.[Output Only] Available cpu/platform selections for the zone.[Output Only] Creation timestamp inRFC3339 text format.com.google.protobuf.ByteString[Output Only] Creation timestamp inRFC3339 text format.[Output Only] The deprecation status associated with this zone.[Output Only] The deprecation status associated with this zone.[Output Only] Textual description of the resource.com.google.protobuf.ByteString[Output Only] Textual description of the resource.longgetId()[Output Only] The unique identifier for the resource.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()[Output Only] Name of the resource.com.google.protobuf.ByteString[Output Only] Name of the resource.[Output Only] Full URL reference to the region which hosts the zone.com.google.protobuf.ByteString[Output Only] Full URL reference to the region which hosts the zone.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.[Output Only] Status of the zone, either UP orDOWN.com.google.protobuf.ByteString[Output Only] Status of the zone, either UP orDOWN.booleanOutput only.boolean[Output Only] Creation timestamp inRFC3339 text format.boolean[Output Only] The deprecation status associated with this zone.boolean[Output Only] Textual description of the resource.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()Output only.booleanhasName()[Output Only] Name of the resource.boolean[Output Only] Full URL reference to the region which hosts the zone.boolean[Output Only] Server-defined URL for the resource.boolean[Output Only] Status of the zone, either UP orDOWN.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAvailableCpuPlatformsList
[Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;- Returns:
- A list containing the availableCpuPlatforms.
-
getAvailableCpuPlatformsCount
int getAvailableCpuPlatformsCount()[Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;- Returns:
- The count of availableCpuPlatforms.
-
getAvailableCpuPlatforms
[Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;- Parameters:
index- The index of the element to return.- Returns:
- The availableCpuPlatforms at the given index.
-
getAvailableCpuPlatformsBytes
com.google.protobuf.ByteString getAvailableCpuPlatformsBytes(int index) [Output Only] Available cpu/platform selections for the zone.
repeated string available_cpu_platforms = 175536531;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the availableCpuPlatforms at the given index.
-
hasCreationTimestamp
boolean hasCreationTimestamp()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDeprecated
boolean hasDeprecated()[Output Only] The deprecation status associated with this zone.
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 zone.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Returns:
- The deprecated.
-
getDeprecatedOrBuilder
DeprecationStatusOrBuilder getDeprecatedOrBuilder()[Output Only] The deprecation status associated with this zone.
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. [Output Only] Type of the resource. Always compute#zone for zones.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Always compute#zone for zones.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#zone for zones.
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.
-
hasRegion
boolean hasRegion()[Output Only] Full URL reference to the region which hosts the zone.
optional string region = 138946292;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()[Output Only] Full URL reference to the region which hosts the zone.
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()[Output Only] Full URL reference to the region which hosts the zone.
optional string region = 138946292;- Returns:
- The bytes for region.
-
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 zone, either UP orDOWN. 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 zone, either UP orDOWN. 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 zone, either UP orDOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The bytes for status.
-
hasSupportsPzs
boolean hasSupportsPzs()Output only. [Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;- Returns:
- Whether the supportsPzs field is set.
-
getSupportsPzs
boolean getSupportsPzs()Output only. [Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;- Returns:
- The supportsPzs.
-