Interface ExclusionWindowOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExclusionWindow, ExclusionWindow.Builder

@Generated public interface ExclusionWindowOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasStartTime

      boolean hasStartTime()
       Required. Specifies the start time of the window using time of the day in
       UTC.
       
      .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the startTime field is set.
    • getStartTime

      TimeOfDay getStartTime()
       Required. Specifies the start time of the window using time of the day in
       UTC.
       
      .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      TimeOfDayOrBuilder getStartTimeOrBuilder()
       Required. Specifies the start time of the window using time of the day in
       UTC.
       
      .google.type.TimeOfDay start_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasDuration

      boolean hasDuration()
       Required. Specifies duration of the window.
       Duration must be >= 5 minutes and < (target RPO - 20 minutes).
       Additional restrictions based on the recurrence type to allow some time for
       backup to happen:
       - single_occurrence_date:  no restriction, but UI may warn about this when
       duration >= target RPO
       - daily window: duration < 24 hours
       - weekly window:
       - days of week includes all seven days of a week: duration < 24 hours
       - all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
       
      .google.protobuf.Duration duration = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the duration field is set.
    • getDuration

      com.google.protobuf.Duration getDuration()
       Required. Specifies duration of the window.
       Duration must be >= 5 minutes and < (target RPO - 20 minutes).
       Additional restrictions based on the recurrence type to allow some time for
       backup to happen:
       - single_occurrence_date:  no restriction, but UI may warn about this when
       duration >= target RPO
       - daily window: duration < 24 hours
       - weekly window:
       - days of week includes all seven days of a week: duration < 24 hours
       - all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
       
      .google.protobuf.Duration duration = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The duration.
    • getDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
       Required. Specifies duration of the window.
       Duration must be >= 5 minutes and < (target RPO - 20 minutes).
       Additional restrictions based on the recurrence type to allow some time for
       backup to happen:
       - single_occurrence_date:  no restriction, but UI may warn about this when
       duration >= target RPO
       - daily window: duration < 24 hours
       - weekly window:
       - days of week includes all seven days of a week: duration < 24 hours
       - all other weekly window: duration < 168 hours (i.e., 24 * 7 hours)
       
      .google.protobuf.Duration duration = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasSingleOccurrenceDate

      boolean hasSingleOccurrenceDate()
       No recurrence. The exclusion window occurs only once and on this
       date in UTC.
       
      .google.type.Date single_occurrence_date = 3;
      Returns:
      Whether the singleOccurrenceDate field is set.
    • getSingleOccurrenceDate

      Date getSingleOccurrenceDate()
       No recurrence. The exclusion window occurs only once and on this
       date in UTC.
       
      .google.type.Date single_occurrence_date = 3;
      Returns:
      The singleOccurrenceDate.
    • getSingleOccurrenceDateOrBuilder

      DateOrBuilder getSingleOccurrenceDateOrBuilder()
       No recurrence. The exclusion window occurs only once and on this
       date in UTC.
       
      .google.type.Date single_occurrence_date = 3;
    • hasDaily

      boolean hasDaily()
       The exclusion window occurs every day if set to "True".
       Specifying this field to "False" is an error.
       
      bool daily = 4;
      Returns:
      Whether the daily field is set.
    • getDaily

      boolean getDaily()
       The exclusion window occurs every day if set to "True".
       Specifying this field to "False" is an error.
       
      bool daily = 4;
      Returns:
      The daily.
    • hasDaysOfWeek

      boolean hasDaysOfWeek()
       The exclusion window occurs on these days of each week in UTC.
       
      .google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList days_of_week = 5;
      Returns:
      Whether the daysOfWeek field is set.
    • getDaysOfWeek

       The exclusion window occurs on these days of each week in UTC.
       
      .google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList days_of_week = 5;
      Returns:
      The daysOfWeek.
    • getDaysOfWeekOrBuilder

      ExclusionWindow.DayOfWeekListOrBuilder getDaysOfWeekOrBuilder()
       The exclusion window occurs on these days of each week in UTC.
       
      .google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList days_of_week = 5;
    • getRecurrenceCase

      ExclusionWindow.RecurrenceCase getRecurrenceCase()