public static final class ForecastBreakdownOptions.Builder extends GeneratedMessage.Builder<ForecastBreakdownOptions.Builder> implements ForecastBreakdownOptionsOrBuilderConfiguration of forecast breakdown.
Protobuf type google.ads.admanager.v1.ForecastBreakdownOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ForecastBreakdownOptions.BuilderImplements
ForecastBreakdownOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTargets(Iterable<? extends ForecastBreakdownTarget> values)
public ForecastBreakdownOptions.Builder addAllTargets(Iterable<? extends ForecastBreakdownTarget> values)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.ForecastBreakdownTarget> |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addAllTimeWindows(Iterable<? extends Timestamp> values)
public ForecastBreakdownOptions.Builder addAllTimeWindows(Iterable<? extends Timestamp> values)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.protobuf.Timestamp> |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTargets(ForecastBreakdownTarget value)
public ForecastBreakdownOptions.Builder addTargets(ForecastBreakdownTarget value)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ForecastBreakdownTarget |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTargets(ForecastBreakdownTarget.Builder builderForValue)
public ForecastBreakdownOptions.Builder addTargets(ForecastBreakdownTarget.Builder builderForValue)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ForecastBreakdownTarget.Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTargets(int index, ForecastBreakdownTarget value)
public ForecastBreakdownOptions.Builder addTargets(int index, ForecastBreakdownTarget value)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ForecastBreakdownTarget |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTargets(int index, ForecastBreakdownTarget.Builder builderForValue)
public ForecastBreakdownOptions.Builder addTargets(int index, ForecastBreakdownTarget.Builder builderForValue)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ForecastBreakdownTarget.Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTargetsBuilder()
public ForecastBreakdownTarget.Builder addTargetsBuilder()Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
addTargetsBuilder(int index)
public ForecastBreakdownTarget.Builder addTargetsBuilder(int index)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
addTimeWindows(Timestamp value)
public ForecastBreakdownOptions.Builder addTimeWindows(Timestamp value)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTimeWindows(Timestamp.Builder builderForValue)
public ForecastBreakdownOptions.Builder addTimeWindows(Timestamp.Builder builderForValue)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTimeWindows(int index, Timestamp value)
public ForecastBreakdownOptions.Builder addTimeWindows(int index, Timestamp value)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTimeWindows(int index, Timestamp.Builder builderForValue)
public ForecastBreakdownOptions.Builder addTimeWindows(int index, Timestamp.Builder builderForValue)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
addTimeWindowsBuilder()
public Timestamp.Builder addTimeWindowsBuilder()Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
addTimeWindowsBuilder(int index)
public Timestamp.Builder addTimeWindowsBuilder(int index)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
build()
public ForecastBreakdownOptions build()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions |
|
buildPartial()
public ForecastBreakdownOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions |
|
clear()
public ForecastBreakdownOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
clearTargets()
public ForecastBreakdownOptions.Builder clearTargets()Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
clearTimeWindows()
public ForecastBreakdownOptions.Builder clearTimeWindows()Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
getDefaultInstanceForType()
public ForecastBreakdownOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTargets(int index)
public ForecastBreakdownTarget getTargets(int index)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget |
|
getTargetsBuilder(int index)
public ForecastBreakdownTarget.Builder getTargetsBuilder(int index)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
getTargetsBuilderList()
public List<ForecastBreakdownTarget.Builder> getTargetsBuilderList()Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTargetsCount()
public int getTargetsCount()Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTargetsList()
public List<ForecastBreakdownTarget> getTargetsList()Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ForecastBreakdownTarget> |
|
getTargetsOrBuilder(int index)
public ForecastBreakdownTargetOrBuilder getTargetsOrBuilder(int index)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTargetOrBuilder |
|
getTargetsOrBuilderList()
public List<? extends ForecastBreakdownTargetOrBuilder> getTargetsOrBuilderList()Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.ForecastBreakdownTargetOrBuilder> |
|
getTimeWindows(int index)
public Timestamp getTimeWindows(int index)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Timestamp |
|
getTimeWindowsBuilder(int index)
public Timestamp.Builder getTimeWindowsBuilder(int index)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTimeWindowsBuilderList()
public List<Timestamp.Builder> getTimeWindowsBuilderList()Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTimeWindowsCount()
public int getTimeWindowsCount()Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTimeWindowsList()
public List<Timestamp> getTimeWindowsList()Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Timestamp> |
|
getTimeWindowsOrBuilder(int index)
public TimestampOrBuilder getTimeWindowsOrBuilder(int index)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getTimeWindowsOrBuilderList()
public List<? extends TimestampOrBuilder> getTimeWindowsOrBuilderList()Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.protobuf.TimestampOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ForecastBreakdownOptions other)
public ForecastBreakdownOptions.Builder mergeFrom(ForecastBreakdownOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
ForecastBreakdownOptions |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ForecastBreakdownOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ForecastBreakdownOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
removeTargets(int index)
public ForecastBreakdownOptions.Builder removeTargets(int index)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
removeTimeWindows(int index)
public ForecastBreakdownOptions.Builder removeTimeWindows(int index)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
setTargets(int index, ForecastBreakdownTarget value)
public ForecastBreakdownOptions.Builder setTargets(int index, ForecastBreakdownTarget value)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ForecastBreakdownTarget |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
setTargets(int index, ForecastBreakdownTarget.Builder builderForValue)
public ForecastBreakdownOptions.Builder setTargets(int index, ForecastBreakdownTarget.Builder builderForValue)Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.
repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ForecastBreakdownTarget.Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
setTimeWindows(int index, Timestamp value)
public ForecastBreakdownOptions.Builder setTimeWindows(int index, Timestamp value)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|
setTimeWindows(int index, Timestamp.Builder builderForValue)
public ForecastBreakdownOptions.Builder setTimeWindows(int index, Timestamp.Builder builderForValue)Optional. The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time zone, in strictly ascending order.
repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownOptions.Builder |
|