Class MaintenanceWindow.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MaintenanceWindow.Builder>
com.google.cloud.oracledatabase.v1.MaintenanceWindow.Builder
All Implemented Interfaces:
MaintenanceWindowOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MaintenanceWindow

public static final class MaintenanceWindow.Builder extends com.google.protobuf.GeneratedMessage.Builder<MaintenanceWindow.Builder> implements MaintenanceWindowOrBuilder
 Maintenance window as defined by Oracle.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow
 
Protobuf type google.cloud.oracledatabase.v1.MaintenanceWindow
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceWindow.Builder>
    • clear

      public MaintenanceWindow.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceWindow.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceWindow.Builder>
    • getDefaultInstanceForType

      public MaintenanceWindow getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MaintenanceWindow build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MaintenanceWindow buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MaintenanceWindow.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MaintenanceWindow.Builder>
    • mergeFrom

      public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MaintenanceWindow.Builder>
    • mergeFrom

      public MaintenanceWindow.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MaintenanceWindow.Builder>
      Throws:
      IOException
    • getPreferenceValue

      public int getPreferenceValue()
       Optional. The maintenance window scheduling preference.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreference preference = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPreferenceValue in interface MaintenanceWindowOrBuilder
      Returns:
      The enum numeric value on the wire for preference.
    • setPreferenceValue

      public MaintenanceWindow.Builder setPreferenceValue(int value)
       Optional. The maintenance window scheduling preference.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreference preference = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for preference to set.
      Returns:
      This builder for chaining.
    • getPreference

       Optional. The maintenance window scheduling preference.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreference preference = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPreference in interface MaintenanceWindowOrBuilder
      Returns:
      The preference.
    • setPreference

       Optional. The maintenance window scheduling preference.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreference preference = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The preference to set.
      Returns:
      This builder for chaining.
    • clearPreference

      public MaintenanceWindow.Builder clearPreference()
       Optional. The maintenance window scheduling preference.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreference preference = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMonthsList

      public List<Month> getMonthsList()
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMonthsList in interface MaintenanceWindowOrBuilder
      Returns:
      A list containing the months.
    • getMonthsCount

      public int getMonthsCount()
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMonthsCount in interface MaintenanceWindowOrBuilder
      Returns:
      The count of months.
    • getMonths

      public Month getMonths(int index)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMonths in interface MaintenanceWindowOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The months at the given index.
    • setMonths

      public MaintenanceWindow.Builder setMonths(int index, Month value)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The months to set.
      Returns:
      This builder for chaining.
    • addMonths

      public MaintenanceWindow.Builder addMonths(Month value)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The months to add.
      Returns:
      This builder for chaining.
    • addAllMonths

      public MaintenanceWindow.Builder addAllMonths(Iterable<? extends Month> values)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The months to add.
      Returns:
      This builder for chaining.
    • clearMonths

      public MaintenanceWindow.Builder clearMonths()
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMonthsValueList

      public List<Integer> getMonthsValueList()
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMonthsValueList in interface MaintenanceWindowOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for months.
    • getMonthsValue

      public int getMonthsValue(int index)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMonthsValue in interface MaintenanceWindowOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of months at the given index.
    • setMonthsValue

      public MaintenanceWindow.Builder setMonthsValue(int index, int value)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for months to set.
      Returns:
      This builder for chaining.
    • addMonthsValue

      public MaintenanceWindow.Builder addMonthsValue(int value)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for months to add.
      Returns:
      This builder for chaining.
    • addAllMonthsValue

      public MaintenanceWindow.Builder addAllMonthsValue(Iterable<Integer> values)
       Optional. Months during the year when maintenance should be performed.
       
      repeated .google.type.Month months = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for months to add.
      Returns:
      This builder for chaining.
    • getWeeksOfMonthList

      public List<Integer> getWeeksOfMonthList()
       Optional. Weeks during the month when maintenance should be performed.
       Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
       duration of 7 days. Weeks start and end based on calendar dates, not days
       of the week.
       
      repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWeeksOfMonthList in interface MaintenanceWindowOrBuilder
      Returns:
      A list containing the weeksOfMonth.
    • getWeeksOfMonthCount

      public int getWeeksOfMonthCount()
       Optional. Weeks during the month when maintenance should be performed.
       Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
       duration of 7 days. Weeks start and end based on calendar dates, not days
       of the week.
       
      repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWeeksOfMonthCount in interface MaintenanceWindowOrBuilder
      Returns:
      The count of weeksOfMonth.
    • getWeeksOfMonth

      public int getWeeksOfMonth(int index)
       Optional. Weeks during the month when maintenance should be performed.
       Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
       duration of 7 days. Weeks start and end based on calendar dates, not days
       of the week.
       
      repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWeeksOfMonth in interface MaintenanceWindowOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The weeksOfMonth at the given index.
    • setWeeksOfMonth

      public MaintenanceWindow.Builder setWeeksOfMonth(int index, int value)
       Optional. Weeks during the month when maintenance should be performed.
       Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
       duration of 7 days. Weeks start and end based on calendar dates, not days
       of the week.
       
      repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The weeksOfMonth to set.
      Returns:
      This builder for chaining.
    • addWeeksOfMonth

      public MaintenanceWindow.Builder addWeeksOfMonth(int value)
       Optional. Weeks during the month when maintenance should be performed.
       Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
       duration of 7 days. Weeks start and end based on calendar dates, not days
       of the week.
       
      repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The weeksOfMonth to add.
      Returns:
      This builder for chaining.
    • addAllWeeksOfMonth

      public MaintenanceWindow.Builder addAllWeeksOfMonth(Iterable<? extends Integer> values)
       Optional. Weeks during the month when maintenance should be performed.
       Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
       duration of 7 days. Weeks start and end based on calendar dates, not days
       of the week.
       
      repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The weeksOfMonth to add.
      Returns:
      This builder for chaining.
    • clearWeeksOfMonth

      public MaintenanceWindow.Builder clearWeeksOfMonth()
       Optional. Weeks during the month when maintenance should be performed.
       Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
       duration of 7 days. Weeks start and end based on calendar dates, not days
       of the week.
       
      repeated int32 weeks_of_month = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDaysOfWeekList

      public List<DayOfWeek> getDaysOfWeekList()
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDaysOfWeekList in interface MaintenanceWindowOrBuilder
      Returns:
      A list containing the daysOfWeek.
    • getDaysOfWeekCount

      public int getDaysOfWeekCount()
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDaysOfWeekCount in interface MaintenanceWindowOrBuilder
      Returns:
      The count of daysOfWeek.
    • getDaysOfWeek

      public DayOfWeek getDaysOfWeek(int index)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDaysOfWeek in interface MaintenanceWindowOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The daysOfWeek at the given index.
    • setDaysOfWeek

      public MaintenanceWindow.Builder setDaysOfWeek(int index, DayOfWeek value)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The daysOfWeek to set.
      Returns:
      This builder for chaining.
    • addDaysOfWeek

      public MaintenanceWindow.Builder addDaysOfWeek(DayOfWeek value)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The daysOfWeek to add.
      Returns:
      This builder for chaining.
    • addAllDaysOfWeek

      public MaintenanceWindow.Builder addAllDaysOfWeek(Iterable<? extends DayOfWeek> values)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The daysOfWeek to add.
      Returns:
      This builder for chaining.
    • clearDaysOfWeek

      public MaintenanceWindow.Builder clearDaysOfWeek()
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDaysOfWeekValueList

      public List<Integer> getDaysOfWeekValueList()
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDaysOfWeekValueList in interface MaintenanceWindowOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for daysOfWeek.
    • getDaysOfWeekValue

      public int getDaysOfWeekValue(int index)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDaysOfWeekValue in interface MaintenanceWindowOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of daysOfWeek at the given index.
    • setDaysOfWeekValue

      public MaintenanceWindow.Builder setDaysOfWeekValue(int index, int value)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for daysOfWeek to set.
      Returns:
      This builder for chaining.
    • addDaysOfWeekValue

      public MaintenanceWindow.Builder addDaysOfWeekValue(int value)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for daysOfWeek to add.
      Returns:
      This builder for chaining.
    • addAllDaysOfWeekValue

      public MaintenanceWindow.Builder addAllDaysOfWeekValue(Iterable<Integer> values)
       Optional. Days during the week when maintenance should be performed.
       
      repeated .google.type.DayOfWeek days_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for daysOfWeek to add.
      Returns:
      This builder for chaining.
    • getHoursOfDayList

      public List<Integer> getHoursOfDayList()
       Optional. The window of hours during the day when maintenance should be
       performed. The window is a 4 hour slot. Valid values are:
       0 - represents time slot 0:00 - 3:59 UTC
       4 - represents time slot 4:00 - 7:59 UTC
       8 - represents time slot 8:00 - 11:59 UTC
       12 - represents time slot 12:00 - 15:59 UTC
       16 - represents time slot 16:00 - 19:59 UTC
       20 - represents time slot 20:00 - 23:59 UTC
       
      repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHoursOfDayList in interface MaintenanceWindowOrBuilder
      Returns:
      A list containing the hoursOfDay.
    • getHoursOfDayCount

      public int getHoursOfDayCount()
       Optional. The window of hours during the day when maintenance should be
       performed. The window is a 4 hour slot. Valid values are:
       0 - represents time slot 0:00 - 3:59 UTC
       4 - represents time slot 4:00 - 7:59 UTC
       8 - represents time slot 8:00 - 11:59 UTC
       12 - represents time slot 12:00 - 15:59 UTC
       16 - represents time slot 16:00 - 19:59 UTC
       20 - represents time slot 20:00 - 23:59 UTC
       
      repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHoursOfDayCount in interface MaintenanceWindowOrBuilder
      Returns:
      The count of hoursOfDay.
    • getHoursOfDay

      public int getHoursOfDay(int index)
       Optional. The window of hours during the day when maintenance should be
       performed. The window is a 4 hour slot. Valid values are:
       0 - represents time slot 0:00 - 3:59 UTC
       4 - represents time slot 4:00 - 7:59 UTC
       8 - represents time slot 8:00 - 11:59 UTC
       12 - represents time slot 12:00 - 15:59 UTC
       16 - represents time slot 16:00 - 19:59 UTC
       20 - represents time slot 20:00 - 23:59 UTC
       
      repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHoursOfDay in interface MaintenanceWindowOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The hoursOfDay at the given index.
    • setHoursOfDay

      public MaintenanceWindow.Builder setHoursOfDay(int index, int value)
       Optional. The window of hours during the day when maintenance should be
       performed. The window is a 4 hour slot. Valid values are:
       0 - represents time slot 0:00 - 3:59 UTC
       4 - represents time slot 4:00 - 7:59 UTC
       8 - represents time slot 8:00 - 11:59 UTC
       12 - represents time slot 12:00 - 15:59 UTC
       16 - represents time slot 16:00 - 19:59 UTC
       20 - represents time slot 20:00 - 23:59 UTC
       
      repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The hoursOfDay to set.
      Returns:
      This builder for chaining.
    • addHoursOfDay

      public MaintenanceWindow.Builder addHoursOfDay(int value)
       Optional. The window of hours during the day when maintenance should be
       performed. The window is a 4 hour slot. Valid values are:
       0 - represents time slot 0:00 - 3:59 UTC
       4 - represents time slot 4:00 - 7:59 UTC
       8 - represents time slot 8:00 - 11:59 UTC
       12 - represents time slot 12:00 - 15:59 UTC
       16 - represents time slot 16:00 - 19:59 UTC
       20 - represents time slot 20:00 - 23:59 UTC
       
      repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The hoursOfDay to add.
      Returns:
      This builder for chaining.
    • addAllHoursOfDay

      public MaintenanceWindow.Builder addAllHoursOfDay(Iterable<? extends Integer> values)
       Optional. The window of hours during the day when maintenance should be
       performed. The window is a 4 hour slot. Valid values are:
       0 - represents time slot 0:00 - 3:59 UTC
       4 - represents time slot 4:00 - 7:59 UTC
       8 - represents time slot 8:00 - 11:59 UTC
       12 - represents time slot 12:00 - 15:59 UTC
       16 - represents time slot 16:00 - 19:59 UTC
       20 - represents time slot 20:00 - 23:59 UTC
       
      repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The hoursOfDay to add.
      Returns:
      This builder for chaining.
    • clearHoursOfDay

      public MaintenanceWindow.Builder clearHoursOfDay()
       Optional. The window of hours during the day when maintenance should be
       performed. The window is a 4 hour slot. Valid values are:
       0 - represents time slot 0:00 - 3:59 UTC
       4 - represents time slot 4:00 - 7:59 UTC
       8 - represents time slot 8:00 - 11:59 UTC
       12 - represents time slot 12:00 - 15:59 UTC
       16 - represents time slot 16:00 - 19:59 UTC
       20 - represents time slot 20:00 - 23:59 UTC
       
      repeated int32 hours_of_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getLeadTimeWeek

      public int getLeadTimeWeek()
       Optional. Lead time window allows user to set a lead time to prepare for a
       down time. The lead time is in weeks and valid value is between 1 to 4.
       
      int32 lead_time_week = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLeadTimeWeek in interface MaintenanceWindowOrBuilder
      Returns:
      The leadTimeWeek.
    • setLeadTimeWeek

      public MaintenanceWindow.Builder setLeadTimeWeek(int value)
       Optional. Lead time window allows user to set a lead time to prepare for a
       down time. The lead time is in weeks and valid value is between 1 to 4.
       
      int32 lead_time_week = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The leadTimeWeek to set.
      Returns:
      This builder for chaining.
    • clearLeadTimeWeek

      public MaintenanceWindow.Builder clearLeadTimeWeek()
       Optional. Lead time window allows user to set a lead time to prepare for a
       down time. The lead time is in weeks and valid value is between 1 to 4.
       
      int32 lead_time_week = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPatchingModeValue

      public int getPatchingModeValue()
       Optional. Cloud CloudExadataInfrastructure node patching method, either
       "ROLLING" or "NONROLLING". Default value is ROLLING.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingMode patching_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPatchingModeValue in interface MaintenanceWindowOrBuilder
      Returns:
      The enum numeric value on the wire for patchingMode.
    • setPatchingModeValue

      public MaintenanceWindow.Builder setPatchingModeValue(int value)
       Optional. Cloud CloudExadataInfrastructure node patching method, either
       "ROLLING" or "NONROLLING". Default value is ROLLING.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingMode patching_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for patchingMode to set.
      Returns:
      This builder for chaining.
    • getPatchingMode

      public MaintenanceWindow.PatchingMode getPatchingMode()
       Optional. Cloud CloudExadataInfrastructure node patching method, either
       "ROLLING" or "NONROLLING". Default value is ROLLING.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingMode patching_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPatchingMode in interface MaintenanceWindowOrBuilder
      Returns:
      The patchingMode.
    • setPatchingMode

       Optional. Cloud CloudExadataInfrastructure node patching method, either
       "ROLLING" or "NONROLLING". Default value is ROLLING.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingMode patching_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The patchingMode to set.
      Returns:
      This builder for chaining.
    • clearPatchingMode

      public MaintenanceWindow.Builder clearPatchingMode()
       Optional. Cloud CloudExadataInfrastructure node patching method, either
       "ROLLING" or "NONROLLING". Default value is ROLLING.
       
      .google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingMode patching_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getCustomActionTimeoutMins

      public int getCustomActionTimeoutMins()
       Optional. Determines the amount of time the system will wait before the
       start of each database server patching operation. Custom action timeout is
       in minutes and valid value is between 15 to 120 (inclusive).
       
      int32 custom_action_timeout_mins = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomActionTimeoutMins in interface MaintenanceWindowOrBuilder
      Returns:
      The customActionTimeoutMins.
    • setCustomActionTimeoutMins

      public MaintenanceWindow.Builder setCustomActionTimeoutMins(int value)
       Optional. Determines the amount of time the system will wait before the
       start of each database server patching operation. Custom action timeout is
       in minutes and valid value is between 15 to 120 (inclusive).
       
      int32 custom_action_timeout_mins = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The customActionTimeoutMins to set.
      Returns:
      This builder for chaining.
    • clearCustomActionTimeoutMins

      public MaintenanceWindow.Builder clearCustomActionTimeoutMins()
       Optional. Determines the amount of time the system will wait before the
       start of each database server patching operation. Custom action timeout is
       in minutes and valid value is between 15 to 120 (inclusive).
       
      int32 custom_action_timeout_mins = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getIsCustomActionTimeoutEnabled

      public boolean getIsCustomActionTimeoutEnabled()
       Optional. If true, enables the configuration of a custom action timeout
       (waiting period) between database server patching operations.
       
      bool is_custom_action_timeout_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsCustomActionTimeoutEnabled in interface MaintenanceWindowOrBuilder
      Returns:
      The isCustomActionTimeoutEnabled.
    • setIsCustomActionTimeoutEnabled

      public MaintenanceWindow.Builder setIsCustomActionTimeoutEnabled(boolean value)
       Optional. If true, enables the configuration of a custom action timeout
       (waiting period) between database server patching operations.
       
      bool is_custom_action_timeout_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The isCustomActionTimeoutEnabled to set.
      Returns:
      This builder for chaining.
    • clearIsCustomActionTimeoutEnabled

      public MaintenanceWindow.Builder clearIsCustomActionTimeoutEnabled()
       Optional. If true, enables the configuration of a custom action timeout
       (waiting period) between database server patching operations.
       
      bool is_custom_action_timeout_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.