Class ReservationSubBlock.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlock.Builder>
com.google.cloud.compute.v1.ReservationSubBlock.Builder
All Implemented Interfaces:
ReservationSubBlockOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReservationSubBlock

public static final class ReservationSubBlock.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlock.Builder> implements ReservationSubBlockOrBuilder
 Represents a reservation subBlock resource.
 
Protobuf type google.cloud.compute.v1.ReservationSubBlock
  • 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<ReservationSubBlock.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<ReservationSubBlock.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<ReservationSubBlock.Builder>
    • getDefaultInstanceForType

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

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

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

      public ReservationSubBlock.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<ReservationSubBlock.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlock.Builder>
    • mergeFrom

      public ReservationSubBlock.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<ReservationSubBlock.Builder>
      Throws:
      IOException
    • hasAcceleratorTopologiesInfo

      public boolean hasAcceleratorTopologiesInfo()
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
      Specified by:
      hasAcceleratorTopologiesInfo in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the acceleratorTopologiesInfo field is set.
    • getAcceleratorTopologiesInfo

      public AcceleratorTopologiesInfo getAcceleratorTopologiesInfo()
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
      Specified by:
      getAcceleratorTopologiesInfo in interface ReservationSubBlockOrBuilder
      Returns:
      The acceleratorTopologiesInfo.
    • setAcceleratorTopologiesInfo

      public ReservationSubBlock.Builder setAcceleratorTopologiesInfo(AcceleratorTopologiesInfo value)
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
    • setAcceleratorTopologiesInfo

      public ReservationSubBlock.Builder setAcceleratorTopologiesInfo(AcceleratorTopologiesInfo.Builder builderForValue)
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
    • mergeAcceleratorTopologiesInfo

      public ReservationSubBlock.Builder mergeAcceleratorTopologiesInfo(AcceleratorTopologiesInfo value)
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
    • clearAcceleratorTopologiesInfo

      public ReservationSubBlock.Builder clearAcceleratorTopologiesInfo()
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
    • getAcceleratorTopologiesInfoBuilder

      public AcceleratorTopologiesInfo.Builder getAcceleratorTopologiesInfoBuilder()
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
    • getAcceleratorTopologiesInfoOrBuilder

      public AcceleratorTopologiesInfoOrBuilder getAcceleratorTopologiesInfoOrBuilder()
       Output only. [Output Only] Slice info for the reservation subBlock.
       
      optional .google.cloud.compute.v1.AcceleratorTopologiesInfo accelerator_topologies_info = 84833420;
      Specified by:
      getAcceleratorTopologiesInfoOrBuilder in interface ReservationSubBlockOrBuilder
    • hasCount

      public boolean hasCount()
       Output only. [Output Only] The number of hosts that are allocated in this
       reservation subBlock.
       
      optional int32 count = 94851343;
      Specified by:
      hasCount in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      public int getCount()
       Output only. [Output Only] The number of hosts that are allocated in this
       reservation subBlock.
       
      optional int32 count = 94851343;
      Specified by:
      getCount in interface ReservationSubBlockOrBuilder
      Returns:
      The count.
    • setCount

      public ReservationSubBlock.Builder setCount(int value)
       Output only. [Output Only] The number of hosts that are allocated in this
       reservation subBlock.
       
      optional int32 count = 94851343;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public ReservationSubBlock.Builder clearCount()
       Output only. [Output Only] The number of hosts that are allocated in this
       reservation subBlock.
       
      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 ReservationSubBlockOrBuilder
      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 ReservationSubBlockOrBuilder
      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 ReservationSubBlockOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public ReservationSubBlock.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 ReservationSubBlock.Builder clearCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339 text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public ReservationSubBlock.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 subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockHealthInfo health_info = 235287729;
      Specified by:
      hasHealthInfo in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the healthInfo field is set.
    • getHealthInfo

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

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

       Output only. [Output Only] Health information for the reservation subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockHealthInfo health_info = 235287729;
    • mergeHealthInfo

       Output only. [Output Only] Health information for the reservation subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockHealthInfo health_info = 235287729;
    • clearHealthInfo

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

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

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

      public ReservationSubBlock.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 ReservationSubBlock.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 subBlock.
       
      optional int32 in_use_count = 493458877;
      Specified by:
      hasInUseCount in interface ReservationSubBlockOrBuilder
      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 subBlock.
       
      optional int32 in_use_count = 493458877;
      Specified by:
      getInUseCount in interface ReservationSubBlockOrBuilder
      Returns:
      The inUseCount.
    • setInUseCount

      public ReservationSubBlock.Builder setInUseCount(int value)
       Output only. [Output Only] The number of instances that are currently in use on this
       reservation subBlock.
       
      optional int32 in_use_count = 493458877;
      Parameters:
      value - The inUseCount to set.
      Returns:
      This builder for chaining.
    • clearInUseCount

      public ReservationSubBlock.Builder clearInUseCount()
       Output only. [Output Only] The number of instances that are currently in use on this
       reservation subBlock.
       
      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 ReservationSubBlockOrBuilder
      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 ReservationSubBlockOrBuilder
      Returns:
      The inUseHostCount.
    • setInUseHostCount

      public ReservationSubBlock.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 ReservationSubBlock.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#reservationSubBlock for reservation subBlocks.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface ReservationSubBlockOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface ReservationSubBlockOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public ReservationSubBlock.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

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

      public ReservationSubBlock.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks.
       
      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 subBlock 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 ReservationSubBlockOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Output only. [Output Only] The name of this reservation subBlock 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 ReservationSubBlockOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. [Output Only] The name of this reservation subBlock 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 ReservationSubBlockOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ReservationSubBlock.Builder setName(String value)
       Output only. [Output Only] The name of this reservation subBlock 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 ReservationSubBlock.Builder clearName()
       Output only. [Output Only] The name of this reservation subBlock 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 ReservationSubBlock.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The name of this reservation subBlock 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 subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockPhysicalTopology physical_topology = 279778519;
      Specified by:
      hasPhysicalTopology in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the physicalTopology field is set.
    • getPhysicalTopology

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

       Output only. [Output Only] The physical topology of the reservation subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockPhysicalTopology physical_topology = 279778519;
    • setPhysicalTopology

      public ReservationSubBlock.Builder setPhysicalTopology(ReservationSubBlockPhysicalTopology.Builder builderForValue)
       Output only. [Output Only] The physical topology of the reservation subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockPhysicalTopology physical_topology = 279778519;
    • mergePhysicalTopology

       Output only. [Output Only] The physical topology of the reservation subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockPhysicalTopology physical_topology = 279778519;
    • clearPhysicalTopology

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

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

      public ReservationSubBlockPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()
       Output only. [Output Only] The physical topology of the reservation subBlock.
       
      optional .google.cloud.compute.v1.ReservationSubBlockPhysicalTopology physical_topology = 279778519;
      Specified by:
      getPhysicalTopologyOrBuilder in interface ReservationSubBlockOrBuilder
    • hasReservationSubBlockMaintenance

      public boolean hasReservationSubBlockMaintenance()
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
      Specified by:
      hasReservationSubBlockMaintenance in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the reservationSubBlockMaintenance field is set.
    • getReservationSubBlockMaintenance

      public GroupMaintenanceInfo getReservationSubBlockMaintenance()
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
      Specified by:
      getReservationSubBlockMaintenance in interface ReservationSubBlockOrBuilder
      Returns:
      The reservationSubBlockMaintenance.
    • setReservationSubBlockMaintenance

      public ReservationSubBlock.Builder setReservationSubBlockMaintenance(GroupMaintenanceInfo value)
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
    • setReservationSubBlockMaintenance

      public ReservationSubBlock.Builder setReservationSubBlockMaintenance(GroupMaintenanceInfo.Builder builderForValue)
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
    • mergeReservationSubBlockMaintenance

      public ReservationSubBlock.Builder mergeReservationSubBlockMaintenance(GroupMaintenanceInfo value)
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
    • clearReservationSubBlockMaintenance

      public ReservationSubBlock.Builder clearReservationSubBlockMaintenance()
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
    • getReservationSubBlockMaintenanceBuilder

      public GroupMaintenanceInfo.Builder getReservationSubBlockMaintenanceBuilder()
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
    • getReservationSubBlockMaintenanceOrBuilder

      public GroupMaintenanceInfoOrBuilder getReservationSubBlockMaintenanceOrBuilder()
       Output only. Maintenance information for this reservation subBlock.
       
      optional .google.cloud.compute.v1.GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
      Specified by:
      getReservationSubBlockMaintenanceOrBuilder in interface ReservationSubBlockOrBuilder
    • 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 ReservationSubBlockOrBuilder
      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 ReservationSubBlockOrBuilder
      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 ReservationSubBlockOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public ReservationSubBlock.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 ReservationSubBlock.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 ReservationSubBlock.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 ReservationSubBlockOrBuilder
      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 ReservationSubBlockOrBuilder
      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 ReservationSubBlockOrBuilder
      Returns:
      The bytes for selfLinkWithId.
    • setSelfLinkWithId

      public ReservationSubBlock.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 ReservationSubBlock.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 ReservationSubBlock.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 subBlock.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      hasStatus in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
       Output only. [Output Only] Status of the reservation subBlock.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatus in interface ReservationSubBlockOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Output only. [Output Only] Status of the reservation subBlock.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatusBytes in interface ReservationSubBlockOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public ReservationSubBlock.Builder setStatus(String value)
       Output only. [Output Only] Status of the reservation subBlock.
       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 ReservationSubBlock.Builder clearStatus()
       Output only. [Output Only] Status of the reservation subBlock.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public ReservationSubBlock.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Status of the reservation subBlock.
       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 subBlock resides.
       
      optional string zone = 3744684;
      Specified by:
      hasZone in interface ReservationSubBlockOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       Output only. [Output Only] Zone in which the reservation subBlock resides.
       
      optional string zone = 3744684;
      Specified by:
      getZone in interface ReservationSubBlockOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] Zone in which the reservation subBlock resides.
       
      optional string zone = 3744684;
      Specified by:
      getZoneBytes in interface ReservationSubBlockOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public ReservationSubBlock.Builder setZone(String value)
       Output only. [Output Only] Zone in which the reservation subBlock resides.
       
      optional string zone = 3744684;
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

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

      public ReservationSubBlock.Builder setZoneBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Zone in which the reservation subBlock resides.
       
      optional string zone = 3744684;
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.