Class Schedule.WeeklySchedule.Builder (0.11.0)

public static final class Schedule.WeeklySchedule.Builder extends GeneratedMessageV3.Builder<Schedule.WeeklySchedule.Builder> implements Schedule.WeeklyScheduleOrBuilder

Days of week to schedule report run.

Protobuf type google.ads.admanager.v1.Schedule.WeeklySchedule

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllWeeklyScheduledDays(Iterable<? extends DayOfWeek> values)

public Schedule.WeeklySchedule.Builder addAllWeeklyScheduledDays(Iterable<? extends DayOfWeek> values)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameter
Name Description
values Iterable<? extends com.google.type.DayOfWeek>

The weeklyScheduledDays to add.

Returns
Type Description
Schedule.WeeklySchedule.Builder

This builder for chaining.

addAllWeeklyScheduledDaysValue(Iterable<Integer> values)

public Schedule.WeeklySchedule.Builder addAllWeeklyScheduledDaysValue(Iterable<Integer> values)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for weeklyScheduledDays to add.

Returns
Type Description
Schedule.WeeklySchedule.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Schedule.WeeklySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

addWeeklyScheduledDays(DayOfWeek value)

public Schedule.WeeklySchedule.Builder addWeeklyScheduledDays(DayOfWeek value)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameter
Name Description
value com.google.type.DayOfWeek

The weeklyScheduledDays to add.

Returns
Type Description
Schedule.WeeklySchedule.Builder

This builder for chaining.

addWeeklyScheduledDaysValue(int value)

public Schedule.WeeklySchedule.Builder addWeeklyScheduledDaysValue(int value)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for weeklyScheduledDays to add.

Returns
Type Description
Schedule.WeeklySchedule.Builder

This builder for chaining.

build()

public Schedule.WeeklySchedule build()
Returns
Type Description
Schedule.WeeklySchedule

buildPartial()

public Schedule.WeeklySchedule buildPartial()
Returns
Type Description
Schedule.WeeklySchedule

clear()

public Schedule.WeeklySchedule.Builder clear()
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Schedule.WeeklySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Schedule.WeeklySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

clearWeeklyScheduledDays()

public Schedule.WeeklySchedule.Builder clearWeeklyScheduledDays()

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Returns
Type Description
Schedule.WeeklySchedule.Builder

This builder for chaining.

clone()

public Schedule.WeeklySchedule.Builder clone()
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

getDefaultInstanceForType()

public Schedule.WeeklySchedule getDefaultInstanceForType()
Returns
Type Description
Schedule.WeeklySchedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWeeklyScheduledDays(int index)

public DayOfWeek getWeeklyScheduledDays(int index)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
com.google.type.DayOfWeek

The weeklyScheduledDays at the given index.

getWeeklyScheduledDaysCount()

public int getWeeklyScheduledDaysCount()

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Returns
Type Description
int

The count of weeklyScheduledDays.

getWeeklyScheduledDaysList()

public List<DayOfWeek> getWeeklyScheduledDaysList()

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

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

A list containing the weeklyScheduledDays.

getWeeklyScheduledDaysValue(int index)

public int getWeeklyScheduledDaysValue(int index)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

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

getWeeklyScheduledDaysValueList()

public List<Integer> getWeeklyScheduledDaysValueList()

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Returns
Type Description
List<Integer>

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Schedule.WeeklySchedule other)

public Schedule.WeeklySchedule.Builder mergeFrom(Schedule.WeeklySchedule other)
Parameter
Name Description
other Schedule.WeeklySchedule
Returns
Type Description
Schedule.WeeklySchedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Schedule.WeeklySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Schedule.WeeklySchedule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.WeeklySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Schedule.WeeklySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Schedule.WeeklySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Schedule.WeeklySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Schedule.WeeklySchedule.Builder
Overrides

setWeeklyScheduledDays(int index, DayOfWeek value)

public Schedule.WeeklySchedule.Builder setWeeklyScheduledDays(int index, DayOfWeek value)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameters
Name Description
index int

The index to set the value at.

value com.google.type.DayOfWeek

The weeklyScheduledDays to set.

Returns
Type Description
Schedule.WeeklySchedule.Builder

This builder for chaining.

setWeeklyScheduledDaysValue(int index, int value)

public Schedule.WeeklySchedule.Builder setWeeklyScheduledDaysValue(int index, int value)

Specifies days of the week on which to run report.

repeated .google.type.DayOfWeek weekly_scheduled_days = 1;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for weeklyScheduledDays to set.

Returns
Type Description
Schedule.WeeklySchedule.Builder

This builder for chaining.