Interface RecurringMaintenanceWindowOrBuilder (2.96.0)

public interface RecurringMaintenanceWindowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDelayUntil()

public abstract Date getDelayUntil()

Optional. Windows will not be scheduled before that day. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.

optional .google.type.Date delay_until = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The delayUntil.

getDelayUntilOrBuilder()

public abstract DateOrBuilder getDelayUntilOrBuilder()

Optional. Windows will not be scheduled before that day. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.

optional .google.type.Date delay_until = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getRecurrence()

public abstract String getRecurrence()

Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs.

For example, to have something repeat every weekday, you'd use: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR

To repeat some window daily (equivalent to the DailyMaintenanceWindow): FREQ=DAILY

For the first weekend of every month: FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU

The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

string recurrence = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The recurrence.

getRecurrenceBytes()

public abstract ByteString getRecurrenceBytes()

Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs.

For example, to have something repeat every weekday, you'd use: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR

To repeat some window daily (equivalent to the DailyMaintenanceWindow): FREQ=DAILY

For the first weekend of every month: FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU

The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

string recurrence = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for recurrence.

getWindowDuration()

public abstract Duration getWindowDuration()

Required. Duration of the window.

.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The windowDuration.

getWindowDurationOrBuilder()

public abstract DurationOrBuilder getWindowDurationOrBuilder()

Required. Duration of the window.

.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

getWindowStartTime()

public abstract TimeOfDay getWindowStartTime()

Required. Start time of the window on days that it is scheduled, assuming UTC timezone.

.google.type.TimeOfDay window_start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDay

The windowStartTime.

getWindowStartTimeOrBuilder()

public abstract TimeOfDayOrBuilder getWindowStartTimeOrBuilder()

Required. Start time of the window on days that it is scheduled, assuming UTC timezone.

.google.type.TimeOfDay window_start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

hasDelayUntil()

public abstract boolean hasDelayUntil()

Optional. Windows will not be scheduled before that day. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.

optional .google.type.Date delay_until = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the delayUntil field is set.

hasWindowDuration()

public abstract boolean hasWindowDuration()

Required. Duration of the window.

.google.protobuf.Duration window_duration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the windowDuration field is set.

hasWindowStartTime()

public abstract boolean hasWindowStartTime()

Required. Start time of the window on days that it is scheduled, assuming UTC timezone.

.google.type.TimeOfDay window_start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the windowStartTime field is set.