Interface ExclusionWindow.DayOfWeekListOrBuilder (0.51.0)

public static interface ExclusionWindow.DayOfWeekListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDaysOfWeek(int index)

public abstract DayOfWeek getDaysOfWeek(int index)

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
com.google.type.DayOfWeek

The daysOfWeek at the given index.

getDaysOfWeekCount()

public abstract int getDaysOfWeekCount()

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of daysOfWeek.

getDaysOfWeekList()

public abstract List<DayOfWeek> getDaysOfWeekList()

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<com.google.type.DayOfWeek>

A list containing the daysOfWeek.

getDaysOfWeekValue(int index)

public abstract int getDaysOfWeekValue(int index)

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

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

getDaysOfWeekValueList()

public abstract List<Integer> getDaysOfWeekValueList()

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

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