Class GroupMaintenanceInfo (1.74.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.74.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  GroupMaintenanceInfo   extends   GeneratedMessageV3   implements   GroupMaintenanceInfoOrBuilder  
   Maintenance Info for ReservationBlocks.
 Protobuf type google.cloud.compute.v1.GroupMaintenanceInfo
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER 
  
    
public   static   final   int   MAINTENANCE_ONGOING_COUNT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  MAINTENANCE_PENDING_COUNT_FIELD_NUMBER 
  
    
public   static   final   int   MAINTENANCE_PENDING_COUNT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SCHEDULING_TYPE_FIELD_NUMBER 
  
    
public   static   final   int   SCHEDULING_TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  UPCOMING_GROUP_MAINTENANCE_FIELD_NUMBER 
  
    
public   static   final   int   UPCOMING_GROUP_MAINTENANCE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   GroupMaintenanceInfo   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   GroupMaintenanceInfo . Builder   newBuilder ()  
  
  newBuilder(GroupMaintenanceInfo prototype) 
  
    
public   static   GroupMaintenanceInfo . Builder   newBuilder ( GroupMaintenanceInfo   prototype )  
  
  
  parseDelimitedFrom(InputStream input) 
  
    
public   static   GroupMaintenanceInfo   parseDelimitedFrom ( InputStream   input )  
  
  
  
  parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GroupMaintenanceInfo   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(CodedInputStream input) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( CodedInputStream   input )  
  
  
  
  parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(InputStream input) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( InputStream   input )  
  
  
  
  parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GroupMaintenanceInfo   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<GroupMaintenanceInfo>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   GroupMaintenanceInfo   getDefaultInstanceForType ()  
  
  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;
    
      
        Returns  
      
        Type Description  
      
        int The maintenanceOngoingCount.
 
     
  
  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;
    
      
        Returns  
      
        Type Description  
      
        int The maintenancePendingCount.
 
     
  
  getParserForType() 
  
    
public   Parser<GroupMaintenanceInfo>   getParserForType ()  
  
  Overrides 
  
  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;
    
      
        Returns  
      
        Type Description  
      
        String The schedulingType.
 
     
  
  getSchedulingTypeBytes() 
  
    
public   ByteString   getSchedulingTypeBytes ()  
   The type of maintenance for the reservation.
 Check the SchedulingType enum for the list of possible values.
 optional string scheduling_type = 199835397;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for schedulingType.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getUpcomingGroupMaintenance() 
  
    
public   UpcomingMaintenance   getUpcomingGroupMaintenance ()  
   Maintenance information on this group of VMs.
 
 optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
 
getUpcomingGroupMaintenanceOrBuilder() 
  
    
public   UpcomingMaintenanceOrBuilder   getUpcomingGroupMaintenanceOrBuilder ()  
   Maintenance information on this group of VMs.
 
 optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
 
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;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the maintenanceOngoingCount field is set.
 
     
  
  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;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the maintenancePendingCount field is set.
 
     
  
  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;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the schedulingType field is set.
 
     
  
  hasUpcomingGroupMaintenance() 
  
    
public   boolean   hasUpcomingGroupMaintenance ()  
   Maintenance information on this group of VMs.
 
 optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_group_maintenance = 393438448;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the upcomingGroupMaintenance field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   GroupMaintenanceInfo . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   GroupMaintenanceInfo . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   GroupMaintenanceInfo . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]