Package com.google.cloud.compute.v1
Interface ReservationBlockOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReservationBlock,ReservationBlock.Builder
@Generated
public interface ReservationBlockOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.longgetId()Output only.intOutput only.intOutput only.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.intOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanhasCount()Output only.booleanOutput only.booleanOutput only.booleanhasId()Output only.booleanOutput only.booleanOutput only.booleanhasKind()Output only.booleanhasName()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasZone()Output 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
-
hasCount
boolean hasCount()Output only. [Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;- Returns:
- Whether the count field is set.
-
getCount
int getCount()Output only. [Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;- Returns:
- The count.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasHealthInfo
boolean hasHealthInfo()Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;- Returns:
- Whether the healthInfo field is set.
-
getHealthInfo
ReservationBlockHealthInfo getHealthInfo()Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;- Returns:
- The healthInfo.
-
getHealthInfoOrBuilder
ReservationBlockHealthInfoOrBuilder getHealthInfoOrBuilder()Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729; -
hasId
boolean hasId()Output only. [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. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasInUseCount
boolean hasInUseCount()Output only. [Output Only] The number of instances that are currently in use on this reservation block.
optional int32 in_use_count = 493458877;- Returns:
- Whether the inUseCount field is set.
-
getInUseCount
int getInUseCount()Output only. [Output Only] The number of instances that are currently in use on this reservation block.
optional int32 in_use_count = 493458877;- Returns:
- The inUseCount.
-
hasInUseHostCount
boolean hasInUseHostCount()Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use.
optional int32 in_use_host_count = 364069834;- Returns:
- Whether the inUseHostCount field is set.
-
getInUseHostCount
int getInUseHostCount()Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use.
optional int32 in_use_host_count = 364069834;- Returns:
- The inUseHostCount.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()Output only. [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()Output only. [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?optional string name = 3373707;- Returns:
- The bytes for name.
-
hasPhysicalTopology
boolean hasPhysicalTopology()Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;- Returns:
- Whether the physicalTopology field is set.
-
getPhysicalTopology
ReservationBlockPhysicalTopology getPhysicalTopology()Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;- Returns:
- The physicalTopology.
-
getPhysicalTopologyOrBuilder
ReservationBlockPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519; -
hasReservationMaintenance
boolean hasReservationMaintenance()Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Returns:
- Whether the reservationMaintenance field is set.
-
getReservationMaintenance
GroupMaintenanceInfo getReservationMaintenance()Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Returns:
- The reservationMaintenance.
-
getReservationMaintenanceOrBuilder
GroupMaintenanceInfoOrBuilder getReservationMaintenanceOrBuilder()Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
hasReservationSubBlockCount
boolean hasReservationSubBlockCount()Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;- Returns:
- Whether the reservationSubBlockCount field is set.
-
getReservationSubBlockCount
int getReservationSubBlockCount()Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;- Returns:
- The reservationSubBlockCount.
-
hasReservationSubBlockInUseCount
boolean hasReservationSubBlockInUseCount()Output only. [Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.
optional int32 reservation_sub_block_in_use_count = 186007137;- Returns:
- Whether the reservationSubBlockInUseCount field is set.
-
getReservationSubBlockInUseCount
int getReservationSubBlockInUseCount()Output only. [Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.
optional int32 reservation_sub_block_in_use_count = 186007137;- Returns:
- The reservationSubBlockInUseCount.
-
hasSelfLink
boolean hasSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
String getSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
com.google.protobuf.ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- The bytes for selfLinkWithId.
-
hasStatus
boolean hasStatus()Output only. [Output Only] Status of the reservation block. 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. [Output Only] Status of the reservation block. 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. [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The bytes for status.
-
hasZone
boolean hasZone()Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Returns:
- Whether the zone field is set.
-
getZone
String getZone()Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Returns:
- The bytes for zone.
-