Class PatchDeployments.MonthlySchedule.Builder (2.59.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.59.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  PatchDeployments . MonthlySchedule . Builder   extends   GeneratedMessageV3 . Builder<PatchDeployments . MonthlySchedule . Builder >  implements   PatchDeployments . MonthlyScheduleOrBuilder  
   Represents a monthly schedule. An example of a valid monthly schedule is
 "on the third Tuesday of the month" or "on the 15th of the month".
 Protobuf type google.cloud.osconfig.v1beta.MonthlySchedule
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   PatchDeployments . MonthlySchedule   build ()  
  
  buildPartial() 
  
    
public   PatchDeployments . MonthlySchedule   buildPartial ()  
  
  clear() 
  
    
public   PatchDeployments . MonthlySchedule . Builder   clear ()  
  
  Overrides 
  
  clearDayOfMonth() 
  
    
public   PatchDeployments . MonthlySchedule . Builder   clearDayOfMonth ()  
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearMonthDay() 
  
    
public   PatchDeployments . MonthlySchedule . Builder   clearMonthDay ()  
   Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
 indicates the last day of the month.
 Months without the target day will be skipped. For example, a schedule to
 run "every month on the 31st" will not run in February, April, June, etc.
 int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearWeekDayOfMonth() 
  
    
public   PatchDeployments . MonthlySchedule . Builder   clearWeekDayOfMonth ()  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
clone() 
  
    
public   PatchDeployments . MonthlySchedule . Builder   clone ()  
  
  Overrides 
  
  getDayOfMonthCase() 
  
    
public   PatchDeployments . MonthlySchedule . DayOfMonthCase   getDayOfMonthCase ()  
  
  getDefaultInstanceForType() 
  
    
public   PatchDeployments . MonthlySchedule   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getMonthDay() 
  
   Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
 indicates the last day of the month.
 Months without the target day will be skipped. For example, a schedule to
 run "every month on the 31st" will not run in February, April, June, etc.
 int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        int The monthDay.
 
     
  
  getWeekDayOfMonth() 
  
    
public   PatchDeployments . WeekDayOfMonth   getWeekDayOfMonth ()  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
getWeekDayOfMonthBuilder() 
  
    
public   PatchDeployments . WeekDayOfMonth . Builder   getWeekDayOfMonthBuilder ()  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
getWeekDayOfMonthOrBuilder() 
  
    
public   PatchDeployments . WeekDayOfMonthOrBuilder   getWeekDayOfMonthOrBuilder ()  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
hasMonthDay() 
  
    
public   boolean   hasMonthDay ()  
   Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
 indicates the last day of the month.
 Months without the target day will be skipped. For example, a schedule to
 run "every month on the 31st" will not run in February, April, June, etc.
 int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the monthDay field is set.
 
     
  
  hasWeekDayOfMonth() 
  
    
public   boolean   hasWeekDayOfMonth ()  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the weekDayOfMonth field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(PatchDeployments.MonthlySchedule other) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   mergeFrom ( PatchDeployments . MonthlySchedule   other )  
  
  
  
    
public   PatchDeployments . MonthlySchedule . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PatchDeployments . MonthlySchedule . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  mergeWeekDayOfMonth(PatchDeployments.WeekDayOfMonth value) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   mergeWeekDayOfMonth ( PatchDeployments . WeekDayOfMonth   value )  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setMonthDay(int value) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   setMonthDay ( int   value )  
   Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1
 indicates the last day of the month.
 Months without the target day will be skipped. For example, a schedule to
 run "every month on the 31st" will not run in February, April, June, etc.
 int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueint The monthDay to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PatchDeployments . MonthlySchedule . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setWeekDayOfMonth(PatchDeployments.WeekDayOfMonth value) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   setWeekDayOfMonth ( PatchDeployments . WeekDayOfMonth   value )  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
setWeekDayOfMonth(PatchDeployments.WeekDayOfMonth.Builder builderForValue) 
  
    
public   PatchDeployments . MonthlySchedule . Builder   setWeekDayOfMonth ( PatchDeployments . WeekDayOfMonth . Builder   builderForValue )  
   Required. Week day in a month.
 
 .google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
 
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]