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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
    • clear

      public ReservationBlock.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReservationBlock.Builder>
    • getDefaultInstanceForType

      public ReservationBlock getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReservationBlock build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReservationBlock buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReservationBlock.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReservationBlock.Builder>
    • mergeFrom

      public ReservationBlock.Builder mergeFrom(ReservationBlock other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasCount in interface ReservationBlockOrBuilder
      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:
      getCount in interface ReservationBlockOrBuilder
      Returns:
      The count.
    • setCount

      public ReservationBlock.Builder setCount(int value)
       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

      public ReservationBlock.Builder 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:
      hasCreationTimestamp in interface ReservationBlockOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339 text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface ReservationBlockOrBuilder
      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:
      getCreationTimestampBytes in interface ReservationBlockOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public ReservationBlock.Builder setCreationTimestamp(String value)
       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

      public ReservationBlock.Builder clearCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339 text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public ReservationBlock.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       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:
      hasHealthInfo in interface ReservationBlockOrBuilder
      Returns:
      Whether the healthInfo field is set.
    • getHealthInfo

      public ReservationBlockHealthInfo getHealthInfo()
       Output only. [Output Only] Health information for the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;
      Specified by:
      getHealthInfo in interface ReservationBlockOrBuilder
      Returns:
      The healthInfo.
    • setHealthInfo

       Output only. [Output Only] Health information for the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;
    • setHealthInfo

      public ReservationBlock.Builder setHealthInfo(ReservationBlockHealthInfo.Builder builderForValue)
       Output only. [Output Only] Health information for the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;
    • mergeHealthInfo

      public ReservationBlock.Builder mergeHealthInfo(ReservationBlockHealthInfo value)
       Output only. [Output Only] Health information for the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;
    • clearHealthInfo

      public ReservationBlock.Builder clearHealthInfo()
       Output only. [Output Only] Health information for the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;
    • getHealthInfoBuilder

      public ReservationBlockHealthInfo.Builder getHealthInfoBuilder()
       Output only. [Output Only] Health information for the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;
    • getHealthInfoOrBuilder

      public ReservationBlockHealthInfoOrBuilder getHealthInfoOrBuilder()
       Output only. [Output Only] Health information for the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockHealthInfo health_info = 235287729;
      Specified by:
      getHealthInfoOrBuilder in interface ReservationBlockOrBuilder
    • 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:
      hasId in interface ReservationBlockOrBuilder
      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:
      getId in interface ReservationBlockOrBuilder
      Returns:
      The id.
    • setId

      public ReservationBlock.Builder setId(long value)
       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

      public ReservationBlock.Builder 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:
      hasInUseCount in interface ReservationBlockOrBuilder
      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:
      getInUseCount in interface ReservationBlockOrBuilder
      Returns:
      The inUseCount.
    • setInUseCount

      public ReservationBlock.Builder setInUseCount(int value)
       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

      public ReservationBlock.Builder 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:
      hasInUseHostCount in interface ReservationBlockOrBuilder
      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:
      getInUseHostCount in interface ReservationBlockOrBuilder
      Returns:
      The inUseHostCount.
    • setInUseHostCount

      public ReservationBlock.Builder setInUseHostCount(int value)
       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

      public ReservationBlock.Builder 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:
      hasKind in interface ReservationBlockOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface ReservationBlockOrBuilder
      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:
      getKindBytes in interface ReservationBlockOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public ReservationBlock.Builder setKind(String value)
       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

      public ReservationBlock.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public ReservationBlock.Builder setKindBytes(com.google.protobuf.ByteString value)
       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:
      hasName in interface ReservationBlockOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public 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;
      Specified by:
      getName in interface ReservationBlockOrBuilder
      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:
      getNameBytes in interface ReservationBlockOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ReservationBlock.Builder setName(String value)
       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

      public ReservationBlock.Builder 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

      public ReservationBlock.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasPhysicalTopology in interface ReservationBlockOrBuilder
      Returns:
      Whether the physicalTopology field is set.
    • getPhysicalTopology

      public ReservationBlockPhysicalTopology getPhysicalTopology()
       Output only. [Output Only] The physical topology of the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
      Specified by:
      getPhysicalTopology in interface ReservationBlockOrBuilder
      Returns:
      The physicalTopology.
    • setPhysicalTopology

      public ReservationBlock.Builder setPhysicalTopology(ReservationBlockPhysicalTopology value)
       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

      public ReservationBlock.Builder mergePhysicalTopology(ReservationBlockPhysicalTopology value)
       Output only. [Output Only] The physical topology of the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
    • clearPhysicalTopology

      public ReservationBlock.Builder clearPhysicalTopology()
       Output only. [Output Only] The physical topology of the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
    • getPhysicalTopologyBuilder

      public ReservationBlockPhysicalTopology.Builder getPhysicalTopologyBuilder()
       Output only. [Output Only] The physical topology of the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
    • getPhysicalTopologyOrBuilder

      public ReservationBlockPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()
       Output only. [Output Only] The physical topology of the reservation block.
       
      optional .google.cloud.compute.v1.ReservationBlockPhysicalTopology physical_topology = 279778519;
      Specified by:
      getPhysicalTopologyOrBuilder in interface ReservationBlockOrBuilder
    • 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:
      hasReservationMaintenance in interface ReservationBlockOrBuilder
      Returns:
      Whether the reservationMaintenance field is set.
    • getReservationMaintenance

      public GroupMaintenanceInfo getReservationMaintenance()
       Output only. [Output Only] Maintenance information for this reservation block.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
      Specified by:
      getReservationMaintenance in interface ReservationBlockOrBuilder
      Returns:
      The reservationMaintenance.
    • setReservationMaintenance

      public ReservationBlock.Builder setReservationMaintenance(GroupMaintenanceInfo value)
       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

      public ReservationBlock.Builder mergeReservationMaintenance(GroupMaintenanceInfo value)
       Output only. [Output Only] Maintenance information for this reservation block.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
    • clearReservationMaintenance

      public ReservationBlock.Builder clearReservationMaintenance()
       Output only. [Output Only] Maintenance information for this reservation block.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
    • getReservationMaintenanceBuilder

      public GroupMaintenanceInfo.Builder getReservationMaintenanceBuilder()
       Output only. [Output Only] Maintenance information for this reservation block.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
    • getReservationMaintenanceOrBuilder

      public GroupMaintenanceInfoOrBuilder getReservationMaintenanceOrBuilder()
       Output only. [Output Only] Maintenance information for this reservation block.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_maintenance = 340607776;
      Specified by:
      getReservationMaintenanceOrBuilder in interface ReservationBlockOrBuilder
    • 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:
      hasReservationSubBlockCount in interface ReservationBlockOrBuilder
      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:
      getReservationSubBlockCount in interface ReservationBlockOrBuilder
      Returns:
      The reservationSubBlockCount.
    • setReservationSubBlockCount

      public ReservationBlock.Builder setReservationSubBlockCount(int value)
       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

      public ReservationBlock.Builder 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:
      hasReservationSubBlockInUseCount in interface ReservationBlockOrBuilder
      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:
      getReservationSubBlockInUseCount in interface ReservationBlockOrBuilder
      Returns:
      The reservationSubBlockInUseCount.
    • setReservationSubBlockInUseCount

      public ReservationBlock.Builder setReservationSubBlockInUseCount(int value)
       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

      public ReservationBlock.Builder 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:
      hasSelfLink in interface ReservationBlockOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface ReservationBlockOrBuilder
      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:
      getSelfLinkBytes in interface ReservationBlockOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public ReservationBlock.Builder setSelfLink(String value)
       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

      public ReservationBlock.Builder clearSelfLink()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public ReservationBlock.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       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:
      hasSelfLinkWithId in interface ReservationBlockOrBuilder
      Returns:
      Whether the selfLinkWithId field is set.
    • getSelfLinkWithId

      public String getSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithId in interface ReservationBlockOrBuilder
      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:
      getSelfLinkWithIdBytes in interface ReservationBlockOrBuilder
      Returns:
      The bytes for selfLinkWithId.
    • setSelfLinkWithId

      public ReservationBlock.Builder setSelfLinkWithId(String value)
       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

      public ReservationBlock.Builder 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

      public ReservationBlock.Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
       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:
      hasStatus in interface ReservationBlockOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public 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;
      Specified by:
      getStatus in interface ReservationBlockOrBuilder
      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:
      getStatusBytes in interface ReservationBlockOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public ReservationBlock.Builder setStatus(String value)
       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

      public ReservationBlock.Builder 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

      public ReservationBlock.Builder setStatusBytes(com.google.protobuf.ByteString value)
       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:
      hasZone in interface ReservationBlockOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       Output only. [Output Only] Zone in which the reservation block resides.
       
      optional string zone = 3744684;
      Specified by:
      getZone in interface ReservationBlockOrBuilder
      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:
      getZoneBytes in interface ReservationBlockOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public ReservationBlock.Builder setZone(String value)
       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

      public ReservationBlock.Builder clearZone()
       Output only. [Output Only] Zone in which the reservation block resides.
       
      optional string zone = 3744684;
      Returns:
      This builder for chaining.
    • setZoneBytes

      public ReservationBlock.Builder setZoneBytes(com.google.protobuf.ByteString value)
       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.