Package com.google.cloud.compute.v1
Class ReservationBlock.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
com.google.cloud.compute.v1.ReservationBlock.Builder
- All Implemented Interfaces:
ReservationBlockOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationBlock
public static final class ReservationBlock.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
implements ReservationBlockOrBuilder
Represents a reservation block resource.Protobuf type
google.cloud.compute.v1.ReservationBlock-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.clearId()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.intgetCount()Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput 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.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReservationBlock other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.Output only.setCount(int value) Output only.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.Output only.setHealthInfo(ReservationBlockHealthInfo.Builder builderForValue) Output only.setId(long value) Output only.setInUseCount(int value) Output only.setInUseHostCount(int value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setPhysicalTopology(ReservationBlockPhysicalTopology.Builder builderForValue) Output only.Output only.setReservationMaintenance(GroupMaintenanceInfo.Builder builderForValue) Output only.setReservationSubBlockCount(int value) Output only.setReservationSubBlockInUseCount(int value) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setSelfLinkWithId(String value) Output only.setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setStatusBytes(com.google.protobuf.ByteString value) Output only.Output only.setZoneBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationBlock.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
-
mergeFrom
public ReservationBlock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationBlock.Builder>- Throws:
IOException
-
hasCount
public boolean hasCount()Output only. [Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;- Specified by:
hasCountin interfaceReservationBlockOrBuilder- Returns:
- Whether the count field is set.
-
getCount
public int getCount()Output only. [Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;- Specified by:
getCountin interfaceReservationBlockOrBuilder- Returns:
- The count.
-
setCount
Output only. [Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
clearCount
Output only. [Output Only] The number of resources that are allocated in this reservation block.
optional int32 count = 94851343;- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceReservationBlockOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceReservationBlockOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceReservationBlockOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasHealthInfo
public boolean hasHealthInfo()Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;- Specified by:
hasHealthInfoin interfaceReservationBlockOrBuilder- Returns:
- Whether the healthInfo field is set.
-
getHealthInfo
Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;- Specified by:
getHealthInfoin interfaceReservationBlockOrBuilder- Returns:
- The healthInfo.
-
setHealthInfo
Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729; -
setHealthInfo
Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729; -
mergeHealthInfo
Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729; -
clearHealthInfo
Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729; -
getHealthInfoBuilder
Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729; -
getHealthInfoOrBuilder
Output only. [Output Only] Health information for the reservation block.
optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;- Specified by:
getHealthInfoOrBuilderin interfaceReservationBlockOrBuilder
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceReservationBlockOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceReservationBlockOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasInUseCount
public 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;- Specified by:
hasInUseCountin interfaceReservationBlockOrBuilder- Returns:
- Whether the inUseCount field is set.
-
getInUseCount
public 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;- Specified by:
getInUseCountin interfaceReservationBlockOrBuilder- Returns:
- The inUseCount.
-
setInUseCount
Output only. [Output Only] The number of instances that are currently in use on this reservation block.
optional int32 in_use_count = 493458877;- Parameters:
value- The inUseCount to set.- Returns:
- This builder for chaining.
-
clearInUseCount
Output only. [Output Only] The number of instances that are currently in use on this reservation block.
optional int32 in_use_count = 493458877;- Returns:
- This builder for chaining.
-
hasInUseHostCount
public 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;- Specified by:
hasInUseHostCountin interfaceReservationBlockOrBuilder- Returns:
- Whether the inUseHostCount field is set.
-
getInUseHostCount
public 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;- Specified by:
getInUseHostCountin interfaceReservationBlockOrBuilder- Returns:
- The inUseHostCount.
-
setInUseHostCount
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;- Parameters:
value- The inUseHostCount to set.- Returns:
- This builder for chaining.
-
clearInUseHostCount
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:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Specified by:
hasKindin interfaceReservationBlockOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Specified by:
getKindin interfaceReservationBlockOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceReservationBlockOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public 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;- Specified by:
hasNamein interfaceReservationBlockOrBuilder- Returns:
- Whether the name field is set.
-
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;- Specified by:
getNamein interfaceReservationBlockOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceReservationBlockOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPhysicalTopology
public boolean hasPhysicalTopology()Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;- Specified by:
hasPhysicalTopologyin interfaceReservationBlockOrBuilder- Returns:
- Whether the physicalTopology field is set.
-
getPhysicalTopology
Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;- Specified by:
getPhysicalTopologyin interfaceReservationBlockOrBuilder- Returns:
- The physicalTopology.
-
setPhysicalTopology
Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519; -
setPhysicalTopology
public ReservationBlock.Builder setPhysicalTopology(ReservationBlockPhysicalTopology.Builder builderForValue) Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519; -
mergePhysicalTopology
Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519; -
clearPhysicalTopology
Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519; -
getPhysicalTopologyBuilder
Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519; -
getPhysicalTopologyOrBuilder
Output only. [Output Only] The physical topology of the reservation block.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;- Specified by:
getPhysicalTopologyOrBuilderin interfaceReservationBlockOrBuilder
-
hasReservationMaintenance
public boolean hasReservationMaintenance()Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Specified by:
hasReservationMaintenancein interfaceReservationBlockOrBuilder- Returns:
- Whether the reservationMaintenance field is set.
-
getReservationMaintenance
Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Specified by:
getReservationMaintenancein interfaceReservationBlockOrBuilder- Returns:
- The reservationMaintenance.
-
setReservationMaintenance
Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
setReservationMaintenance
public ReservationBlock.Builder setReservationMaintenance(GroupMaintenanceInfo.Builder builderForValue) Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
mergeReservationMaintenance
Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
clearReservationMaintenance
Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
getReservationMaintenanceBuilder
Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776; -
getReservationMaintenanceOrBuilder
Output only. [Output Only] Maintenance information for this reservation block.
optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;- Specified by:
getReservationMaintenanceOrBuilderin interfaceReservationBlockOrBuilder
-
hasReservationSubBlockCount
public boolean hasReservationSubBlockCount()Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;- Specified by:
hasReservationSubBlockCountin interfaceReservationBlockOrBuilder- Returns:
- Whether the reservationSubBlockCount field is set.
-
getReservationSubBlockCount
public int getReservationSubBlockCount()Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;- Specified by:
getReservationSubBlockCountin interfaceReservationBlockOrBuilder- Returns:
- The reservationSubBlockCount.
-
setReservationSubBlockCount
Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;- Parameters:
value- The reservationSubBlockCount to set.- Returns:
- This builder for chaining.
-
clearReservationSubBlockCount
Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
optional int32 reservation_sub_block_count = 330782955;- Returns:
- This builder for chaining.
-
hasReservationSubBlockInUseCount
public 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;- Specified by:
hasReservationSubBlockInUseCountin interfaceReservationBlockOrBuilder- Returns:
- Whether the reservationSubBlockInUseCount field is set.
-
getReservationSubBlockInUseCount
public 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;- Specified by:
getReservationSubBlockInUseCountin interfaceReservationBlockOrBuilder- Returns:
- The reservationSubBlockInUseCount.
-
setReservationSubBlockInUseCount
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;- Parameters:
value- The reservationSubBlockInUseCount to set.- Returns:
- This builder for chaining.
-
clearReservationSubBlockInUseCount
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:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceReservationBlockOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceReservationBlockOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceReservationBlockOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasSelfLinkWithId
public boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Specified by:
hasSelfLinkWithIdin interfaceReservationBlockOrBuilder- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdin interfaceReservationBlockOrBuilder- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
public 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;- Specified by:
getSelfLinkWithIdBytesin interfaceReservationBlockOrBuilder- Returns:
- The bytes for selfLinkWithId.
-
setSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The selfLinkWithId to set.- Returns:
- This builder for chaining.
-
clearSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- This builder for chaining.
-
setSelfLinkWithIdBytes
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The bytes for selfLinkWithId to set.- Returns:
- This builder for chaining.
-
hasStatus
public 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;- Specified by:
hasStatusin interfaceReservationBlockOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceReservationBlockOrBuilder- Returns:
- The status.
-
getStatusBytes
public 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;- Specified by:
getStatusBytesin interfaceReservationBlockOrBuilder- Returns:
- The bytes for status.
-
setStatus
Output only. [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- This builder for chaining.
-
setStatusBytes
Output only. [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasZone
public boolean hasZone()Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Specified by:
hasZonein interfaceReservationBlockOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Specified by:
getZonein interfaceReservationBlockOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceReservationBlockOrBuilder- Returns:
- The bytes for zone.
-
setZone
Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Returns:
- This builder for chaining.
-
setZoneBytes
Output only. [Output Only] Zone in which the reservation block resides.
optional string zone = 3744684;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-