Class ForecastBreakdownEntry.Builder (0.62.0)

public static final class ForecastBreakdownEntry.Builder extends GeneratedMessage.Builder<ForecastBreakdownEntry.Builder> implements ForecastBreakdownEntryOrBuilder

A single forecast breakdown entry.

Protobuf type google.ads.admanager.v1.ForecastBreakdownEntry

Static Methods

getDescriptor()

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

Methods

build()

public ForecastBreakdownEntry build()
Returns
Type Description
ForecastBreakdownEntry

buildPartial()

public ForecastBreakdownEntry buildPartial()
Returns
Type Description
ForecastBreakdownEntry

clear()

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

clearDisplayName()

public ForecastBreakdownEntry.Builder clearDisplayName()

The optional name of this entry, as specified in the corresponding ForecastBreakdownTarget.displayName field.

optional string display_name = 1;

Returns
Type Description
ForecastBreakdownEntry.Builder

This builder for chaining.

clearForecast()

public ForecastBreakdownEntry.Builder clearForecast()

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

Returns
Type Description
ForecastBreakdownEntry.Builder

getDefaultInstanceForType()

public ForecastBreakdownEntry getDefaultInstanceForType()
Returns
Type Description
ForecastBreakdownEntry

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The optional name of this entry, as specified in the corresponding ForecastBreakdownTarget.displayName field.

optional string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The optional name of this entry, as specified in the corresponding ForecastBreakdownTarget.displayName field.

optional string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getForecast()

public DeliveryForecast getForecast()

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

Returns
Type Description
DeliveryForecast

The forecast.

getForecastBuilder()

public DeliveryForecast.Builder getForecastBuilder()

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

Returns
Type Description
DeliveryForecast.Builder

getForecastOrBuilder()

public DeliveryForecastOrBuilder getForecastOrBuilder()

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

Returns
Type Description
DeliveryForecastOrBuilder

hasDisplayName()

public boolean hasDisplayName()

The optional name of this entry, as specified in the corresponding ForecastBreakdownTarget.displayName field.

optional string display_name = 1;

Returns
Type Description
boolean

Whether the displayName field is set.

hasForecast()

public boolean hasForecast()

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

Returns
Type Description
boolean

Whether the forecast field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeForecast(DeliveryForecast value)

public ForecastBreakdownEntry.Builder mergeForecast(DeliveryForecast value)

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

Parameter
Name Description
value DeliveryForecast
Returns
Type Description
ForecastBreakdownEntry.Builder

mergeFrom(ForecastBreakdownEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDisplayName(String value)

public ForecastBreakdownEntry.Builder setDisplayName(String value)

The optional name of this entry, as specified in the corresponding ForecastBreakdownTarget.displayName field.

optional string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ForecastBreakdownEntry.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ForecastBreakdownEntry.Builder setDisplayNameBytes(ByteString value)

The optional name of this entry, as specified in the corresponding ForecastBreakdownTarget.displayName field.

optional string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ForecastBreakdownEntry.Builder

This builder for chaining.

setForecast(DeliveryForecast value)

public ForecastBreakdownEntry.Builder setForecast(DeliveryForecast value)

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

Parameter
Name Description
value DeliveryForecast
Returns
Type Description
ForecastBreakdownEntry.Builder

setForecast(DeliveryForecast.Builder builderForValue)

public ForecastBreakdownEntry.Builder setForecast(DeliveryForecast.Builder builderForValue)

The forecast of this entry.

.google.ads.admanager.v1.DeliveryForecast forecast = 2;

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