Class UpcomingMaintenance (1.54.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.54.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  UpcomingMaintenance   extends   GeneratedMessageV3   implements   UpcomingMaintenanceOrBuilder  
   Upcoming Maintenance notification information.
 Protobuf type google.cloud.compute.v1.UpcomingMaintenance
    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
   
  CAN_RESCHEDULE_FIELD_NUMBER 
  
    
public   static   final   int   CAN_RESCHEDULE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LATEST_WINDOW_START_TIME_FIELD_NUMBER 
  
    
public   static   final   int   LATEST_WINDOW_START_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  MAINTENANCE_STATUS_FIELD_NUMBER 
  
    
public   static   final   int   MAINTENANCE_STATUS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TYPE_FIELD_NUMBER 
  
    
public   static   final   int   TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  WINDOW_END_TIME_FIELD_NUMBER 
  
    
public   static   final   int   WINDOW_END_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  WINDOW_START_TIME_FIELD_NUMBER 
  
    
public   static   final   int   WINDOW_START_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   UpcomingMaintenance   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   UpcomingMaintenance . Builder   newBuilder ()  
  
  newBuilder(UpcomingMaintenance prototype) 
  
    
public   static   UpcomingMaintenance . Builder   newBuilder ( UpcomingMaintenance   prototype )  
  
  
  parseDelimitedFrom(InputStream input) 
  
    
public   static   UpcomingMaintenance   parseDelimitedFrom ( InputStream   input )  
  
  
  
  parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpcomingMaintenance   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   UpcomingMaintenance   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpcomingMaintenance   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   UpcomingMaintenance   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpcomingMaintenance   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(CodedInputStream input) 
  
    
public   static   UpcomingMaintenance   parseFrom ( CodedInputStream   input )  
  
  
  
  parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpcomingMaintenance   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(InputStream input) 
  
    
public   static   UpcomingMaintenance   parseFrom ( InputStream   input )  
  
  
  
  parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpcomingMaintenance   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   UpcomingMaintenance   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UpcomingMaintenance   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<UpcomingMaintenance>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCanReschedule() 
  
    
public   boolean   getCanReschedule ()  
   Indicates if the maintenance can be customer triggered.
 optional bool can_reschedule = 95981977;
    
      
        Returns  
      
        Type Description  
      
        boolean The canReschedule.
 
     
  
  getDefaultInstanceForType() 
  
    
public   UpcomingMaintenance   getDefaultInstanceForType ()  
  
  getLatestWindowStartTime() 
  
    
public   String   getLatestWindowStartTime ()  
   The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
 optional string latest_window_start_time = 128032129;
    
      
        Returns  
      
        Type Description  
      
        String The latestWindowStartTime.
 
     
  
  getLatestWindowStartTimeBytes() 
  
    
public   ByteString   getLatestWindowStartTimeBytes ()  
   The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
 optional string latest_window_start_time = 128032129;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for latestWindowStartTime.
 
     
  
  getMaintenanceStatus() 
  
    
public   String   getMaintenanceStatus ()  
   Check the MaintenanceStatus enum for the list of possible values.
 optional string maintenance_status = 81645214;
    
      
        Returns  
      
        Type Description  
      
        String The maintenanceStatus.
 
     
  
  getMaintenanceStatusBytes() 
  
    
public   ByteString   getMaintenanceStatusBytes ()  
   Check the MaintenanceStatus enum for the list of possible values.
 optional string maintenance_status = 81645214;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for maintenanceStatus.
 
     
  
  getParserForType() 
  
    
public   Parser<UpcomingMaintenance>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getType() 
  
   Defines the type of maintenance.
 Check the Type enum for the list of possible values.
 optional string type = 3575610;
    
      
        Returns  
      
        Type Description  
      
        String The type.
 
     
  
  getTypeBytes() 
  
    
public   ByteString   getTypeBytes ()  
   Defines the type of maintenance.
 Check the Type enum for the list of possible values.
 optional string type = 3575610;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for type.
 
     
  
  getWindowEndTime() 
  
    
public   String   getWindowEndTime ()  
   The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
 optional string window_end_time = 271816480;
    
      
        Returns  
      
        Type Description  
      
        String The windowEndTime.
 
     
  
  getWindowEndTimeBytes() 
  
    
public   ByteString   getWindowEndTimeBytes ()  
   The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
 optional string window_end_time = 271816480;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for windowEndTime.
 
     
  
  getWindowStartTime() 
  
    
public   String   getWindowStartTime ()  
   The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
 optional string window_start_time = 473061433;
    
      
        Returns  
      
        Type Description  
      
        String The windowStartTime.
 
     
  
  getWindowStartTimeBytes() 
  
    
public   ByteString   getWindowStartTimeBytes ()  
   The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
 optional string window_start_time = 473061433;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for windowStartTime.
 
     
  
  hasCanReschedule() 
  
    
public   boolean   hasCanReschedule ()  
   Indicates if the maintenance can be customer triggered.
 optional bool can_reschedule = 95981977;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the canReschedule field is set.
 
     
  
  hasLatestWindowStartTime() 
  
    
public   boolean   hasLatestWindowStartTime ()  
   The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
 optional string latest_window_start_time = 128032129;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the latestWindowStartTime field is set.
 
     
  
  hasMaintenanceStatus() 
  
    
public   boolean   hasMaintenanceStatus ()  
   Check the MaintenanceStatus enum for the list of possible values.
 optional string maintenance_status = 81645214;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the maintenanceStatus field is set.
 
     
  
  hasType() 
  
   Defines the type of maintenance.
 Check the Type enum for the list of possible values.
 optional string type = 3575610;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the type field is set.
 
     
  
  hasWindowEndTime() 
  
    
public   boolean   hasWindowEndTime ()  
   The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
 optional string window_end_time = 271816480;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the windowEndTime field is set.
 
     
  
  hasWindowStartTime() 
  
    
public   boolean   hasWindowStartTime ()  
   The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
 optional string window_start_time = 473061433;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the windowStartTime field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   UpcomingMaintenance . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   UpcomingMaintenance . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   UpcomingMaintenance . 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."],[],[]]