Class ScheduleOptions.Schedule.MonthlySchedule.Builder (0.44.0)

public static final class ScheduleOptions.Schedule.MonthlySchedule.Builder extends GeneratedMessage.Builder<ScheduleOptions.Schedule.MonthlySchedule.Builder> implements ScheduleOptions.Schedule.MonthlyScheduleOrBuilder

Days of Month to schedule report run.

Protobuf type google.ads.admanager.v1.ScheduleOptions.Schedule.MonthlySchedule

Static Methods

getDescriptor()

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

Methods

addAllMonthlyScheduledDays(Iterable<? extends Integer> values)

public ScheduleOptions.Schedule.MonthlySchedule.Builder addAllMonthlyScheduledDays(Iterable<? extends Integer> values)

Specifies days of the month to run report. Range is from 1-31. Will ignore days that are not valid for the given month.

repeated int32 monthly_scheduled_days = 1;

Parameter
Name Description
values Iterable<? extends java.lang.Integer>

The monthlyScheduledDays to add.

Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule.Builder

This builder for chaining.

addMonthlyScheduledDays(int value)

public ScheduleOptions.Schedule.MonthlySchedule.Builder addMonthlyScheduledDays(int value)

Specifies days of the month to run report. Range is from 1-31. Will ignore days that are not valid for the given month.

repeated int32 monthly_scheduled_days = 1;

Parameter
Name Description
value int

The monthlyScheduledDays to add.

Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule.Builder

This builder for chaining.

build()

public ScheduleOptions.Schedule.MonthlySchedule build()
Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule

buildPartial()

public ScheduleOptions.Schedule.MonthlySchedule buildPartial()
Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule

clear()

public ScheduleOptions.Schedule.MonthlySchedule.Builder clear()
Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule.Builder
Overrides

clearMonthlyScheduledDays()

public ScheduleOptions.Schedule.MonthlySchedule.Builder clearMonthlyScheduledDays()

Specifies days of the month to run report. Range is from 1-31. Will ignore days that are not valid for the given month.

repeated int32 monthly_scheduled_days = 1;

Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule.Builder

This builder for chaining.

getDefaultInstanceForType()

public ScheduleOptions.Schedule.MonthlySchedule getDefaultInstanceForType()
Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule

getDescriptorForType()

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

getMonthlyScheduledDays(int index)

public int getMonthlyScheduledDays(int index)

Specifies days of the month to run report. Range is from 1-31. Will ignore days that are not valid for the given month.

repeated int32 monthly_scheduled_days = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The monthlyScheduledDays at the given index.

getMonthlyScheduledDaysCount()

public int getMonthlyScheduledDaysCount()

Specifies days of the month to run report. Range is from 1-31. Will ignore days that are not valid for the given month.

repeated int32 monthly_scheduled_days = 1;

Returns
Type Description
int

The count of monthlyScheduledDays.

getMonthlyScheduledDaysList()

public List<Integer> getMonthlyScheduledDaysList()

Specifies days of the month to run report. Range is from 1-31. Will ignore days that are not valid for the given month.

repeated int32 monthly_scheduled_days = 1;

Returns
Type Description
List<Integer>

A list containing the monthlyScheduledDays.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ScheduleOptions.Schedule.MonthlySchedule other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMonthlyScheduledDays(int index, int value)

public ScheduleOptions.Schedule.MonthlySchedule.Builder setMonthlyScheduledDays(int index, int value)

Specifies days of the month to run report. Range is from 1-31. Will ignore days that are not valid for the given month.

repeated int32 monthly_scheduled_days = 1;

Parameters
Name Description
index int

The index to set the value at.

value int

The monthlyScheduledDays to set.

Returns
Type Description
ScheduleOptions.Schedule.MonthlySchedule.Builder

This builder for chaining.