Class GroupMaintenanceInfo

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

@Generated public final class GroupMaintenanceInfo extends com.google.protobuf.GeneratedMessage implements GroupMaintenanceInfoOrBuilder
 Maintenance Info for ReservationBlocks.
 
Protobuf type google.cloud.compute.v1.GroupMaintenanceInfo
See Also:
  • Field Details

    • INSTANCE_MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER

      public static final int INSTANCE_MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER
      See Also:
    • INSTANCE_MAINTENANCE_PENDING_COUNT_FIELD_NUMBER

      public static final int INSTANCE_MAINTENANCE_PENDING_COUNT_FIELD_NUMBER
      See Also:
    • MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER

      public static final int MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER
      See Also:
    • MAINTENANCE_PENDING_COUNT_FIELD_NUMBER

      public static final int MAINTENANCE_PENDING_COUNT_FIELD_NUMBER
      See Also:
    • SCHEDULING_TYPE_FIELD_NUMBER

      public static final int SCHEDULING_TYPE_FIELD_NUMBER
      See Also:
    • SUBBLOCK_INFRA_MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER

      public static final int SUBBLOCK_INFRA_MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER
      See Also:
    • SUBBLOCK_INFRA_MAINTENANCE_PENDING_COUNT_FIELD_NUMBER

      public static final int SUBBLOCK_INFRA_MAINTENANCE_PENDING_COUNT_FIELD_NUMBER
      See Also:
    • UPCOMING_GROUP_MAINTENANCE_FIELD_NUMBER

      public static final int UPCOMING_GROUP_MAINTENANCE_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
    • hasInstanceMaintenanceOngoingCount

      public boolean hasInstanceMaintenanceOngoingCount()
       Describes number of instances that have ongoing maintenance.
       
      optional int32 instance_maintenance_ongoing_count = 137611253;
      Specified by:
      hasInstanceMaintenanceOngoingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the instanceMaintenanceOngoingCount field is set.
    • getInstanceMaintenanceOngoingCount

      public int getInstanceMaintenanceOngoingCount()
       Describes number of instances that have ongoing maintenance.
       
      optional int32 instance_maintenance_ongoing_count = 137611253;
      Specified by:
      getInstanceMaintenanceOngoingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The instanceMaintenanceOngoingCount.
    • hasInstanceMaintenancePendingCount

      public boolean hasInstanceMaintenancePendingCount()
       Describes number of instances that have pending maintenance.
       
      optional int32 instance_maintenance_pending_count = 76612881;
      Specified by:
      hasInstanceMaintenancePendingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the instanceMaintenancePendingCount field is set.
    • getInstanceMaintenancePendingCount

      public int getInstanceMaintenancePendingCount()
       Describes number of instances that have pending maintenance.
       
      optional int32 instance_maintenance_pending_count = 76612881;
      Specified by:
      getInstanceMaintenancePendingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The instanceMaintenancePendingCount.
    • hasMaintenanceOngoingCount

      public boolean hasMaintenanceOngoingCount()
       Progress for ongoing maintenance for this group of VMs/hosts.
       Describes number of hosts in the block that have ongoing maintenance.
       
      optional int32 maintenance_ongoing_count = 219781919;
      Specified by:
      hasMaintenanceOngoingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the maintenanceOngoingCount field is set.
    • getMaintenanceOngoingCount

      public int getMaintenanceOngoingCount()
       Progress for ongoing maintenance for this group of VMs/hosts.
       Describes number of hosts in the block that have ongoing maintenance.
       
      optional int32 maintenance_ongoing_count = 219781919;
      Specified by:
      getMaintenanceOngoingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The maintenanceOngoingCount.
    • hasMaintenancePendingCount

      public boolean hasMaintenancePendingCount()
       Progress for ongoing maintenance for this group of VMs/hosts.
       Describes number of hosts in the block that have pending maintenance.
       
      optional int32 maintenance_pending_count = 158783547;
      Specified by:
      hasMaintenancePendingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the maintenancePendingCount field is set.
    • getMaintenancePendingCount

      public int getMaintenancePendingCount()
       Progress for ongoing maintenance for this group of VMs/hosts.
       Describes number of hosts in the block that have pending maintenance.
       
      optional int32 maintenance_pending_count = 158783547;
      Specified by:
      getMaintenancePendingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The maintenancePendingCount.
    • hasSchedulingType

      public boolean hasSchedulingType()
       The type of maintenance for the reservation.
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Specified by:
      hasSchedulingType in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the schedulingType field is set.
    • getSchedulingType

      public String getSchedulingType()
       The type of maintenance for the reservation.
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Specified by:
      getSchedulingType in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The schedulingType.
    • getSchedulingTypeBytes

      public com.google.protobuf.ByteString getSchedulingTypeBytes()
       The type of maintenance for the reservation.
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Specified by:
      getSchedulingTypeBytes in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The bytes for schedulingType.
    • hasSubblockInfraMaintenanceOngoingCount

      public boolean hasSubblockInfraMaintenanceOngoingCount()
       Describes number of subblock Infrastructure that has ongoing maintenance.
       Here, Subblock Infrastructure Maintenance pertains to upstream hardware
       contained in the Subblock that is necessary for a VM Family(e.g. NVLink
       Domains). Not all VM Families will support this field.
       
      optional int32 subblock_infra_maintenance_ongoing_count = 366161790;
      Specified by:
      hasSubblockInfraMaintenanceOngoingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the subblockInfraMaintenanceOngoingCount field is set.
    • getSubblockInfraMaintenanceOngoingCount

      public int getSubblockInfraMaintenanceOngoingCount()
       Describes number of subblock Infrastructure that has ongoing maintenance.
       Here, Subblock Infrastructure Maintenance pertains to upstream hardware
       contained in the Subblock that is necessary for a VM Family(e.g. NVLink
       Domains). Not all VM Families will support this field.
       
      optional int32 subblock_infra_maintenance_ongoing_count = 366161790;
      Specified by:
      getSubblockInfraMaintenanceOngoingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The subblockInfraMaintenanceOngoingCount.
    • hasSubblockInfraMaintenancePendingCount

      public boolean hasSubblockInfraMaintenancePendingCount()
       Describes number of subblock Infrastructure that has pending maintenance.
       Here, Subblock Infrastructure Maintenance pertains to upstream hardware
       contained in the Subblock that is necessary for a VM Family (e.g. NVLink
       Domains). Not all VM Families will support this field.
       
      optional int32 subblock_infra_maintenance_pending_count = 305163418;
      Specified by:
      hasSubblockInfraMaintenancePendingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the subblockInfraMaintenancePendingCount field is set.
    • getSubblockInfraMaintenancePendingCount

      public int getSubblockInfraMaintenancePendingCount()
       Describes number of subblock Infrastructure that has pending maintenance.
       Here, Subblock Infrastructure Maintenance pertains to upstream hardware
       contained in the Subblock that is necessary for a VM Family (e.g. NVLink
       Domains). Not all VM Families will support this field.
       
      optional int32 subblock_infra_maintenance_pending_count = 305163418;
      Specified by:
      getSubblockInfraMaintenancePendingCount in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The subblockInfraMaintenancePendingCount.
    • hasUpcomingGroupMaintenance

      public boolean hasUpcomingGroupMaintenance()
       Maintenance information on this group of VMs.
       
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
      Specified by:
      hasUpcomingGroupMaintenance in interface GroupMaintenanceInfoOrBuilder
      Returns:
      Whether the upcomingGroupMaintenance field is set.
    • getUpcomingGroupMaintenance

      public UpcomingMaintenance getUpcomingGroupMaintenance()
       Maintenance information on this group of VMs.
       
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
      Specified by:
      getUpcomingGroupMaintenance in interface GroupMaintenanceInfoOrBuilder
      Returns:
      The upcomingGroupMaintenance.
    • getUpcomingGroupMaintenanceOrBuilder

      public UpcomingMaintenanceOrBuilder getUpcomingGroupMaintenanceOrBuilder()
       Maintenance information on this group of VMs.
       
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
      Specified by:
      getUpcomingGroupMaintenanceOrBuilder in interface GroupMaintenanceInfoOrBuilder
    • 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 GroupMaintenanceInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GroupMaintenanceInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static GroupMaintenanceInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GroupMaintenanceInfo> 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 GroupMaintenanceInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder