Class ForecastBreakdown.Builder (0.62.0)

public static final class ForecastBreakdown.Builder extends GeneratedMessage.Builder<ForecastBreakdown.Builder> implements ForecastBreakdownOrBuilder

Represents the breakdown entries for a list of targetings and creatives.

Protobuf type google.ads.admanager.v1.ForecastBreakdown

Static Methods

getDescriptor()

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

Methods

addAllNamedEntries(Iterable<? extends ForecastBreakdownEntry> values)

public ForecastBreakdown.Builder addAllNamedEntries(Iterable<? extends ForecastBreakdownEntry> values)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.ForecastBreakdownEntry>
Returns
Type Description
ForecastBreakdown.Builder

addNamedEntries(ForecastBreakdownEntry value)

public ForecastBreakdown.Builder addNamedEntries(ForecastBreakdownEntry value)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
value ForecastBreakdownEntry
Returns
Type Description
ForecastBreakdown.Builder

addNamedEntries(ForecastBreakdownEntry.Builder builderForValue)

public ForecastBreakdown.Builder addNamedEntries(ForecastBreakdownEntry.Builder builderForValue)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
builderForValue ForecastBreakdownEntry.Builder
Returns
Type Description
ForecastBreakdown.Builder

addNamedEntries(int index, ForecastBreakdownEntry value)

public ForecastBreakdown.Builder addNamedEntries(int index, ForecastBreakdownEntry value)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameters
Name Description
index int
value ForecastBreakdownEntry
Returns
Type Description
ForecastBreakdown.Builder

addNamedEntries(int index, ForecastBreakdownEntry.Builder builderForValue)

public ForecastBreakdown.Builder addNamedEntries(int index, ForecastBreakdownEntry.Builder builderForValue)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameters
Name Description
index int
builderForValue ForecastBreakdownEntry.Builder
Returns
Type Description
ForecastBreakdown.Builder

addNamedEntriesBuilder()

public ForecastBreakdownEntry.Builder addNamedEntriesBuilder()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Returns
Type Description
ForecastBreakdownEntry.Builder

addNamedEntriesBuilder(int index)

public ForecastBreakdownEntry.Builder addNamedEntriesBuilder(int index)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownEntry.Builder

build()

public ForecastBreakdown build()
Returns
Type Description
ForecastBreakdown

buildPartial()

public ForecastBreakdown buildPartial()
Returns
Type Description
ForecastBreakdown

clear()

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

clearEndTime()

public ForecastBreakdown.Builder clearEndTime()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
ForecastBreakdown.Builder

clearNamedEntries()

public ForecastBreakdown.Builder clearNamedEntries()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Returns
Type Description
ForecastBreakdown.Builder

clearStartTime()

public ForecastBreakdown.Builder clearStartTime()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
ForecastBreakdown.Builder

getDefaultInstanceForType()

public ForecastBreakdown getDefaultInstanceForType()
Returns
Type Description
ForecastBreakdown

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getNamedEntries(int index)

public ForecastBreakdownEntry getNamedEntries(int index)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownEntry

getNamedEntriesBuilder(int index)

public ForecastBreakdownEntry.Builder getNamedEntriesBuilder(int index)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownEntry.Builder

getNamedEntriesBuilderList()

public List<ForecastBreakdownEntry.Builder> getNamedEntriesBuilderList()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Returns
Type Description
List<Builder>

getNamedEntriesCount()

public int getNamedEntriesCount()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Returns
Type Description
int

getNamedEntriesList()

public List<ForecastBreakdownEntry> getNamedEntriesList()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Returns
Type Description
List<ForecastBreakdownEntry>

getNamedEntriesOrBuilder(int index)

public ForecastBreakdownEntryOrBuilder getNamedEntriesOrBuilder(int index)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownEntryOrBuilder

getNamedEntriesOrBuilderList()

public List<? extends ForecastBreakdownEntryOrBuilder> getNamedEntriesOrBuilderList()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

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

getStartTime()

public Timestamp getStartTime()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public ForecastBreakdown.Builder mergeEndTime(Timestamp value)

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ForecastBreakdown.Builder

mergeFrom(ForecastBreakdown other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public ForecastBreakdown.Builder mergeStartTime(Timestamp value)

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ForecastBreakdown.Builder

removeNamedEntries(int index)

public ForecastBreakdown.Builder removeNamedEntries(int index)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdown.Builder

setEndTime(Timestamp value)

public ForecastBreakdown.Builder setEndTime(Timestamp value)

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ForecastBreakdown.Builder

setEndTime(Timestamp.Builder builderForValue)

public ForecastBreakdown.Builder setEndTime(Timestamp.Builder builderForValue)

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ForecastBreakdown.Builder

setNamedEntries(int index, ForecastBreakdownEntry value)

public ForecastBreakdown.Builder setNamedEntries(int index, ForecastBreakdownEntry value)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameters
Name Description
index int
value ForecastBreakdownEntry
Returns
Type Description
ForecastBreakdown.Builder

setNamedEntries(int index, ForecastBreakdownEntry.Builder builderForValue)

public ForecastBreakdown.Builder setNamedEntries(int index, ForecastBreakdownEntry.Builder builderForValue)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameters
Name Description
index int
builderForValue ForecastBreakdownEntry.Builder
Returns
Type Description
ForecastBreakdown.Builder

setStartTime(Timestamp value)

public ForecastBreakdown.Builder setStartTime(Timestamp value)

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ForecastBreakdown.Builder

setStartTime(Timestamp.Builder builderForValue)

public ForecastBreakdown.Builder setStartTime(Timestamp.Builder builderForValue)

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ForecastBreakdown.Builder