Class PatchDeployments.MonthlySchedule (2.8.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.8.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  PatchDeployments . MonthlySchedule   extends   GeneratedMessageV3   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
Static Fields
   
  MONTH_DAY_FIELD_NUMBER 
  
    
public   static   final   int   MONTH_DAY_FIELD_NUMBER  
  Field Value 
  
  WEEK_DAY_OF_MONTH_FIELD_NUMBER 
  
    
public   static   final   int   WEEK_DAY_OF_MONTH_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   PatchDeployments . MonthlySchedule   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   PatchDeployments . MonthlySchedule . Builder   newBuilder ()  
  Returns 
  
  newBuilder(PatchDeployments.MonthlySchedule prototype) 
  
    
public   static   PatchDeployments . MonthlySchedule . Builder   newBuilder ( PatchDeployments . MonthlySchedule   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   PatchDeployments . MonthlySchedule   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   PatchDeployments . MonthlySchedule   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        data byte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PatchDeployments . MonthlySchedule   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<PatchDeployments . MonthlySchedule >  parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getDayOfMonthCase() 
  
    
public   PatchDeployments . MonthlySchedule . DayOfMonthCase   getDayOfMonthCase ()  
  Returns 
  
  getDefaultInstanceForType() 
  
    
public   PatchDeployments . MonthlySchedule   getDefaultInstanceForType ()  
  Returns 
  
  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.
 
     
  
  getParserForType() 
  
    
public   Parser<PatchDeployments . MonthlySchedule >  getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  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];
 
Returns 
  
  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];
 
Returns 
  
  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.
 
     
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   PatchDeployments . MonthlySchedule . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   PatchDeployments . MonthlySchedule . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   PatchDeployments . MonthlySchedule . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-29 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-29 UTC."],[],[]]