Interface AutomatedBackupPolicy.WeeklyScheduleOrBuilder (0.26.0)

public static interface AutomatedBackupPolicy.WeeklyScheduleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDaysOfWeek(int index)

public abstract DayOfWeek getDaysOfWeek(int index)

The days of the week to perform a backup.

If this field is left empty, the default of every day of the week is used.

repeated .google.type.DayOfWeek days_of_week = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
com.google.type.DayOfWeek

The daysOfWeek at the given index.

getDaysOfWeekCount()

public abstract int getDaysOfWeekCount()

The days of the week to perform a backup.

If this field is left empty, the default of every day of the week is used.

repeated .google.type.DayOfWeek days_of_week = 2;

Returns
TypeDescription
int

The count of daysOfWeek.

getDaysOfWeekList()

public abstract List<DayOfWeek> getDaysOfWeekList()

The days of the week to perform a backup.

If this field is left empty, the default of every day of the week is used.

repeated .google.type.DayOfWeek days_of_week = 2;

Returns
TypeDescription
List<com.google.type.DayOfWeek>

A list containing the daysOfWeek.

getDaysOfWeekValue(int index)

public abstract int getDaysOfWeekValue(int index)

The days of the week to perform a backup.

If this field is left empty, the default of every day of the week is used.

repeated .google.type.DayOfWeek days_of_week = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of daysOfWeek at the given index.

getDaysOfWeekValueList()

public abstract List<Integer> getDaysOfWeekValueList()

The days of the week to perform a backup.

If this field is left empty, the default of every day of the week is used.

repeated .google.type.DayOfWeek days_of_week = 2;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for daysOfWeek.

getStartTimes(int index)

public abstract TimeOfDay getStartTimes(int index)

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).

If no start times are provided, a single fixed start time is chosen arbitrarily.

repeated .google.type.TimeOfDay start_times = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.type.TimeOfDay

getStartTimesCount()

public abstract int getStartTimesCount()

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).

If no start times are provided, a single fixed start time is chosen arbitrarily.

repeated .google.type.TimeOfDay start_times = 1;

Returns
TypeDescription
int

getStartTimesList()

public abstract List<TimeOfDay> getStartTimesList()

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).

If no start times are provided, a single fixed start time is chosen arbitrarily.

repeated .google.type.TimeOfDay start_times = 1;

Returns
TypeDescription
List<com.google.type.TimeOfDay>

getStartTimesOrBuilder(int index)

public abstract TimeOfDayOrBuilder getStartTimesOrBuilder(int index)

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).

If no start times are provided, a single fixed start time is chosen arbitrarily.

repeated .google.type.TimeOfDay start_times = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.type.TimeOfDayOrBuilder

getStartTimesOrBuilderList()

public abstract List<? extends TimeOfDayOrBuilder> getStartTimesOrBuilderList()

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).

If no start times are provided, a single fixed start time is chosen arbitrarily.

repeated .google.type.TimeOfDay start_times = 1;

Returns
TypeDescription
List<? extends com.google.type.TimeOfDayOrBuilder>