Class ScheduleOptions.Builder (0.13.0)

public static final class ScheduleOptions.Builder extends GeneratedMessageV3.Builder<ScheduleOptions.Builder> implements ScheduleOptionsOrBuilder

The options for a scheduled report.

Protobuf type google.ads.admanager.v1.ScheduleOptions

Static Methods

getDescriptor()

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

Methods

addAllFlags(Iterable<? extends Report.Flag> values)

public ScheduleOptions.Builder addAllFlags(Iterable<? extends Report.Flag> values)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.Report.Flag>
Returns
Type Description
ScheduleOptions.Builder

addFlags(Report.Flag value)

public ScheduleOptions.Builder addFlags(Report.Flag value)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Report.Flag
Returns
Type Description
ScheduleOptions.Builder

addFlags(Report.Flag.Builder builderForValue)

public ScheduleOptions.Builder addFlags(Report.Flag.Builder builderForValue)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Report.Flag.Builder
Returns
Type Description
ScheduleOptions.Builder

addFlags(int index, Report.Flag value)

public ScheduleOptions.Builder addFlags(int index, Report.Flag value)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Report.Flag
Returns
Type Description
ScheduleOptions.Builder

addFlags(int index, Report.Flag.Builder builderForValue)

public ScheduleOptions.Builder addFlags(int index, Report.Flag.Builder builderForValue)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Report.Flag.Builder
Returns
Type Description
ScheduleOptions.Builder

addFlagsBuilder()

public Report.Flag.Builder addFlagsBuilder()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Report.Flag.Builder

addFlagsBuilder(int index)

public Report.Flag.Builder addFlagsBuilder(int index)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Report.Flag.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ScheduleOptions build()
Returns
Type Description
ScheduleOptions

buildPartial()

public ScheduleOptions buildPartial()
Returns
Type Description
ScheduleOptions

clear()

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

clearDeliveryCondition()

public ScheduleOptions.Builder clearDeliveryCondition()

Option for when to deliver the scheduled report.

.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2;

Returns
Type Description
ScheduleOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFlags()

public ScheduleOptions.Builder clearFlags()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScheduleOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchedule()

public ScheduleOptions.Builder clearSchedule()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
ScheduleOptions.Builder

clone()

public ScheduleOptions.Builder clone()
Returns
Type Description
ScheduleOptions.Builder
Overrides

getDefaultInstanceForType()

public ScheduleOptions getDefaultInstanceForType()
Returns
Type Description
ScheduleOptions

getDeliveryCondition()

public ScheduleOptions.DeliveryCondition getDeliveryCondition()

Option for when to deliver the scheduled report.

.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2;

Returns
Type Description
ScheduleOptions.DeliveryCondition

The deliveryCondition.

getDeliveryConditionValue()

public int getDeliveryConditionValue()

Option for when to deliver the scheduled report.

.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2;

Returns
Type Description
int

The enum numeric value on the wire for deliveryCondition.

getDescriptorForType()

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

getFlags(int index)

public Report.Flag getFlags(int index)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Report.Flag

getFlagsBuilder(int index)

public Report.Flag.Builder getFlagsBuilder(int index)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Report.Flag.Builder

getFlagsBuilderList()

public List<Report.Flag.Builder> getFlagsBuilderList()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getFlagsCount()

public int getFlagsCount()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFlagsList()

public List<Report.Flag> getFlagsList()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Flag>

getFlagsOrBuilder(int index)

public Report.FlagOrBuilder getFlagsOrBuilder(int index)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Report.FlagOrBuilder

getFlagsOrBuilderList()

public List<? extends Report.FlagOrBuilder> getFlagsOrBuilderList()

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.Report.FlagOrBuilder>

getSchedule()

public Schedule getSchedule()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
Schedule

The schedule.

getScheduleBuilder()

public Schedule.Builder getScheduleBuilder()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
Schedule.Builder

getScheduleOrBuilder()

public ScheduleOrBuilder getScheduleOrBuilder()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
ScheduleOrBuilder

hasSchedule()

public boolean hasSchedule()

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Returns
Type Description
boolean

Whether the schedule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ScheduleOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSchedule(Schedule value)

public ScheduleOptions.Builder mergeSchedule(Schedule value)

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Parameter
Name Description
value Schedule
Returns
Type Description
ScheduleOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFlags(int index)

public ScheduleOptions.Builder removeFlags(int index)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ScheduleOptions.Builder

setDeliveryCondition(ScheduleOptions.DeliveryCondition value)

public ScheduleOptions.Builder setDeliveryCondition(ScheduleOptions.DeliveryCondition value)

Option for when to deliver the scheduled report.

.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2;

Parameter
Name Description
value ScheduleOptions.DeliveryCondition

The deliveryCondition to set.

Returns
Type Description
ScheduleOptions.Builder

This builder for chaining.

setDeliveryConditionValue(int value)

public ScheduleOptions.Builder setDeliveryConditionValue(int value)

Option for when to deliver the scheduled report.

.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2;

Parameter
Name Description
value int

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

Returns
Type Description
ScheduleOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFlags(int index, Report.Flag value)

public ScheduleOptions.Builder setFlags(int index, Report.Flag value)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Report.Flag
Returns
Type Description
ScheduleOptions.Builder

setFlags(int index, Report.Flag.Builder builderForValue)

public ScheduleOptions.Builder setFlags(int index, Report.Flag.Builder builderForValue)

Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT is specified.

repeated .google.ads.admanager.v1.Report.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Report.Flag.Builder
Returns
Type Description
ScheduleOptions.Builder

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

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

setSchedule(Schedule value)

public ScheduleOptions.Builder setSchedule(Schedule value)

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Parameter
Name Description
value Schedule
Returns
Type Description
ScheduleOptions.Builder

setSchedule(Schedule.Builder builderForValue)

public ScheduleOptions.Builder setSchedule(Schedule.Builder builderForValue)

Information pertaining to schedule itself.

.google.ads.admanager.v1.Schedule schedule = 1;

Parameter
Name Description
builderForValue Schedule.Builder
Returns
Type Description
ScheduleOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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