Class MaintenanceWindow (2.71.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.71.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  MaintenanceWindow   extends   GeneratedMessageV3   implements   MaintenanceWindowOrBuilder  
   MaintenanceWindow defines the maintenance window to be used for the cluster.
 Protobuf type google.container.v1.MaintenanceWindow
    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
   
  DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER 
  
    
public   static   final   int   DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  MAINTENANCE_EXCLUSIONS_FIELD_NUMBER 
  
    
public   static   final   int   MAINTENANCE_EXCLUSIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  RECURRING_WINDOW_FIELD_NUMBER 
  
    
public   static   final   int   RECURRING_WINDOW_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   MaintenanceWindow   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   MaintenanceWindow . Builder   newBuilder ()  
  
  newBuilder(MaintenanceWindow prototype) 
  
    
public   static   MaintenanceWindow . Builder   newBuilder ( MaintenanceWindow   prototype )  
  
  
  parseDelimitedFrom(InputStream input) 
  
    
public   static   MaintenanceWindow   parseDelimitedFrom ( InputStream   input )  
  
  
  
  parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MaintenanceWindow   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   MaintenanceWindow   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MaintenanceWindow   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   MaintenanceWindow   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MaintenanceWindow   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(CodedInputStream input) 
  
    
public   static   MaintenanceWindow   parseFrom ( CodedInputStream   input )  
  
  
  
  parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MaintenanceWindow   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(InputStream input) 
  
    
public   static   MaintenanceWindow   parseFrom ( InputStream   input )  
  
  
  
  parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MaintenanceWindow   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   MaintenanceWindow   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   MaintenanceWindow   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<MaintenanceWindow>   parser ()  
  
  Methods
   
  containsMaintenanceExclusions(String key) 
  
    
public   boolean   containsMaintenanceExclusions ( String   key )  
   Exceptions to maintenance window. Non-emergency maintenance should not
 occur in these windows.
 map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDailyMaintenanceWindow() 
  
    
public   DailyMaintenanceWindow   getDailyMaintenanceWindow ()  
   DailyMaintenanceWindow specifies a daily maintenance operation window.
 .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
getDailyMaintenanceWindowOrBuilder() 
  
    
public   DailyMaintenanceWindowOrBuilder   getDailyMaintenanceWindowOrBuilder ()  
   DailyMaintenanceWindow specifies a daily maintenance operation window.
 .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
getDefaultInstanceForType() 
  
    
public   MaintenanceWindow   getDefaultInstanceForType ()  
  
  getMaintenanceExclusions() (deprecated) 
  
    
public   Map<String , TimeWindow >  getMaintenanceExclusions ()  
  
  
  getMaintenanceExclusionsCount() 
  
    
public   int   getMaintenanceExclusionsCount ()  
   Exceptions to maintenance window. Non-emergency maintenance should not
 occur in these windows.
 map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getMaintenanceExclusionsMap() 
  
    
public   Map<String , TimeWindow >  getMaintenanceExclusionsMap ()  
   Exceptions to maintenance window. Non-emergency maintenance should not
 occur in these windows.
 map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
getMaintenanceExclusionsOrDefault(String key, TimeWindow defaultValue) 
  
    
public   TimeWindow   getMaintenanceExclusionsOrDefault ( String   key ,   TimeWindow   defaultValue )  
   Exceptions to maintenance window. Non-emergency maintenance should not
 occur in these windows.
 map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
getMaintenanceExclusionsOrThrow(String key) 
  
    
public   TimeWindow   getMaintenanceExclusionsOrThrow ( String   key )  
   Exceptions to maintenance window. Non-emergency maintenance should not
 occur in these windows.
 map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  getParserForType() 
  
    
public   Parser<MaintenanceWindow>   getParserForType ()  
  
  Overrides 
  
  getPolicyCase() 
  
    
public   MaintenanceWindow . PolicyCase   getPolicyCase ()  
  
  getRecurringWindow() 
  
    
public   RecurringTimeWindow   getRecurringWindow ()  
   RecurringWindow specifies some number of recurring time periods for
 maintenance to occur. The time windows may be overlapping. If no
 maintenance windows are set, maintenance can occur at any time.
 .google.container.v1.RecurringTimeWindow recurring_window = 3;
getRecurringWindowOrBuilder() 
  
    
public   RecurringTimeWindowOrBuilder   getRecurringWindowOrBuilder ()  
   RecurringWindow specifies some number of recurring time periods for
 maintenance to occur. The time windows may be overlapping. If no
 maintenance windows are set, maintenance can occur at any time.
 .google.container.v1.RecurringTimeWindow recurring_window = 3;
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hasDailyMaintenanceWindow() 
  
    
public   boolean   hasDailyMaintenanceWindow ()  
   DailyMaintenanceWindow specifies a daily maintenance operation window.
 .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the dailyMaintenanceWindow field is set.
 
     
  
  hasRecurringWindow() 
  
    
public   boolean   hasRecurringWindow ()  
   RecurringWindow specifies some number of recurring time periods for
 maintenance to occur. The time windows may be overlapping. If no
 maintenance windows are set, maintenance can occur at any time.
 .google.container.v1.RecurringTimeWindow recurring_window = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the recurringWindow field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  internalGetMapFieldReflection(int number) 
  
    
protected   MapFieldReflectionAccessor   internalGetMapFieldReflection ( int   number )  
  
    
      
        Parameter  
      
        Name Description  
      
        numberint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.MapFieldReflectionAccessor  
     
  
  Overrides 
  com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   MaintenanceWindow . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   MaintenanceWindow . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   MaintenanceWindow . 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-28 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-28 UTC."],[],[]]