Class Schedule.MonthlySchedule.Builder (0.11.0)

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

Days of Month to schedule report run.

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

Static Methods

getDescriptor()

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

Methods

addAllMonthlyScheduledDays(Iterable<? extends Integer> values)

public 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
Schedule.MonthlySchedule.Builder

This builder for chaining.

addMonthlyScheduledDays(int value)

public 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
Schedule.MonthlySchedule.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMonthlyScheduledDays()

public 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
Schedule.MonthlySchedule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Schedule.MonthlySchedule getDefaultInstanceForType()
Returns
Type Description
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Schedule.MonthlySchedule other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMonthlyScheduledDays(int index, int value)

public 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
Schedule.MonthlySchedule.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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