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
public interface ZoneOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>
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.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.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.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.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.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAvailableCpuPlatformsList
List<String> 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
String getAvailableCpuPlatforms(int index)
[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 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 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] 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] Type of the resource. Always compute#zone for zones.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[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 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 zone, 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 zone, 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.
-
-