Interface ExclusionWindowOrBuilder (0.52.0)

public interface ExclusionWindowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDaily()

public abstract boolean getDaily()

The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.

bool daily = 4;

Returns
Type Description
boolean

The daily.

getDaysOfWeek()

public abstract ExclusionWindow.DayOfWeekList getDaysOfWeek()

The exclusion window occurs on these days of each week in UTC.

.google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList days_of_week = 5;

Returns
Type Description
ExclusionWindow.DayOfWeekList

The daysOfWeek.

getDaysOfWeekOrBuilder()

public abstract 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;

Returns
Type Description
ExclusionWindow.DayOfWeekListOrBuilder

getDuration()

public abstract 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
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract 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];

Returns
Type Description
DurationOrBuilder

getRecurrenceCase()

public abstract ExclusionWindow.RecurrenceCase getRecurrenceCase()
Returns
Type Description
ExclusionWindow.RecurrenceCase

getSingleOccurrenceDate()

public abstract Date getSingleOccurrenceDate()

No recurrence. The exclusion window occurs only once and on this date in UTC.

.google.type.Date single_occurrence_date = 3;

Returns
Type Description
com.google.type.Date

The singleOccurrenceDate.

getSingleOccurrenceDateOrBuilder()

public abstract DateOrBuilder getSingleOccurrenceDateOrBuilder()

No recurrence. The exclusion window occurs only once and on this date in UTC.

.google.type.Date single_occurrence_date = 3;

Returns
Type Description
com.google.type.DateOrBuilder

getStartTime()

public abstract 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
Type Description
com.google.type.TimeOfDay

The startTime.

getStartTimeOrBuilder()

public abstract 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];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

hasDaily()

public abstract boolean hasDaily()

The exclusion window occurs every day if set to "True". Specifying this field to "False" is an error.

bool daily = 4;

Returns
Type Description
boolean

Whether the daily field is set.

hasDaysOfWeek()

public abstract 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
Type Description
boolean

Whether the daysOfWeek field is set.

hasDuration()

public abstract 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
Type Description
boolean

Whether the duration field is set.

hasSingleOccurrenceDate()

public abstract boolean hasSingleOccurrenceDate()

No recurrence. The exclusion window occurs only once and on this date in UTC.

.google.type.Date single_occurrence_date = 3;

Returns
Type Description
boolean

Whether the singleOccurrenceDate field is set.

hasStartTime()

public abstract 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
Type Description
boolean

Whether the startTime field is set.