Class ReservationSubBlock

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.ReservationSubBlock
All Implemented Interfaces:
ReservationSubBlockOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ReservationSubBlock extends com.google.protobuf.GeneratedMessage implements ReservationSubBlockOrBuilder
 Represents a reservation subBlock resource.
 
Protobuf type google.cloud.compute.v1.ReservationSubBlock
See Also:
  • Field Details

    • ACCELERATOR_TOPOLOGIES_INFO_FIELD_NUMBER

      public static final int ACCELERATOR_TOPOLOGIES_INFO_FIELD_NUMBER
      See Also:
    • COUNT_FIELD_NUMBER

      public static final int COUNT_FIELD_NUMBER
      See Also:
    • CREATION_TIMESTAMP_FIELD_NUMBER

      public static final int CREATION_TIMESTAMP_FIELD_NUMBER
      See Also:
    • HEALTH_INFO_FIELD_NUMBER

      public static final int HEALTH_INFO_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • IN_USE_COUNT_FIELD_NUMBER

      public static final int IN_USE_COUNT_FIELD_NUMBER
      See Also:
    • IN_USE_HOST_COUNT_FIELD_NUMBER

      public static final int IN_USE_HOST_COUNT_FIELD_NUMBER
      See Also:
    • KIND_FIELD_NUMBER

      public static final int KIND_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PHYSICAL_TOPOLOGY_FIELD_NUMBER

      public static final int PHYSICAL_TOPOLOGY_FIELD_NUMBER
      See Also:
    • RESERVATION_SUB_BLOCK_MAINTENANCE_FIELD_NUMBER

      public static final int RESERVATION_SUB_BLOCK_MAINTENANCE_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • ZONE_FIELD_NUMBER

      public static final int ZONE_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ReservationSubBlock parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSubBlock parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSubBlock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSubBlock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSubBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSubBlock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSubBlock parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReservationSubBlock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReservationSubBlock parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReservationSubBlock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReservationSubBlock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReservationSubBlock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ReservationSubBlock.Builder newBuilder()
    • newBuilder

      public static ReservationSubBlock.Builder newBuilder(ReservationSubBlock prototype)
    • toBuilder

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

      protected ReservationSubBlock.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ReservationSubBlock getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ReservationSubBlock> parser()
    • getParserForType

      public com.google.protobuf.Parser<ReservationSubBlock> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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