public static final class DeliveryForecastOptions.Builder extends GeneratedMessage.Builder<DeliveryForecastOptions.Builder> implements DeliveryForecastOptionsOrBuilderForecasting options for line item delivery forecasts.
Protobuf type google.ads.admanager.v1.DeliveryForecastOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeliveryForecastOptions.BuilderImplements
DeliveryForecastOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIgnoredLineItems(Iterable<String> values)
public DeliveryForecastOptions.Builder addAllIgnoredLineItems(Iterable<String> values) Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The ignoredLineItems to add. |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
This builder for chaining. |
addIgnoredLineItems(String value)
public DeliveryForecastOptions.Builder addIgnoredLineItems(String value) Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ignoredLineItems to add. |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
This builder for chaining. |
addIgnoredLineItemsBytes(ByteString value)
public DeliveryForecastOptions.Builder addIgnoredLineItemsBytes(ByteString value) Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the ignoredLineItems to add. |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
This builder for chaining. |
build()
public DeliveryForecastOptions build()| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions |
|
buildPartial()
public DeliveryForecastOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions |
|
clear()
public DeliveryForecastOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
|
clearIgnoredLineItems()
public DeliveryForecastOptions.Builder clearIgnoredLineItems() Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeliveryForecastOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIgnoredLineItems(int index)
public String getIgnoredLineItems(int index) Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The ignoredLineItems at the given index. |
getIgnoredLineItemsBytes(int index)
public ByteString getIgnoredLineItemsBytes(int index) Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the ignoredLineItems at the given index. |
getIgnoredLineItemsCount()
public int getIgnoredLineItemsCount() Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of ignoredLineItems. |
getIgnoredLineItemsList()
public ProtocolStringList getIgnoredLineItemsList() Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the ignoredLineItems. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeliveryForecastOptions other)
public DeliveryForecastOptions.Builder mergeFrom(DeliveryForecastOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
DeliveryForecastOptions |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeliveryForecastOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeliveryForecastOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
|
setIgnoredLineItems(int index, String value)
public DeliveryForecastOptions.Builder setIgnoredLineItems(int index, String value) Optional. The resource names of line items to be ignored while performing
the delivery simulation. Format:
networks/{network_code}/lineItems/{line_item_id}
repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe ignoredLineItems to set. |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecastOptions.Builder |
This builder for chaining. |