public static final class LineItemStats.Builder extends GeneratedMessage.Builder<LineItemStats.Builder> implements LineItemStatsOrBuilderContains trafficking statistics for LineItem.
Protobuf type google.ads.admanager.v1.LineItemStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LineItemStats.BuilderImplements
LineItemStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDeliveryData(Iterable<? extends Long> values)
public LineItemStats.Builder addAllDeliveryData(Iterable<? extends Long> values)Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest).
repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Long>The deliveryData to add. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
addDeliveryData(long value)
public LineItemStats.Builder addDeliveryData(long value)Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest).
repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe deliveryData to add. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
build()
public LineItemStats build()| Returns | |
|---|---|
| Type | Description |
LineItemStats |
|
buildPartial()
public LineItemStats buildPartial()| Returns | |
|---|---|
| Type | Description |
LineItemStats |
|
clear()
public LineItemStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
|
clearClicksDelivered()
public LineItemStats.Builder clearClicksDelivered()Output only. The number of clicks delivered
optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
clearDeliveryData()
public LineItemStats.Builder clearDeliveryData()Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest).
repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
clearImpressionsDelivered()
public LineItemStats.Builder clearImpressionsDelivered()Output only. The number of impressions delivered.
optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
clearVideoCompletionsDelivered()
public LineItemStats.Builder clearVideoCompletionsDelivered()Output only. The number of video completions delivered.
optional int64 video_completions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
clearVideoStartsDelivered()
public LineItemStats.Builder clearVideoStartsDelivered()Output only. The number of video starts delivered.
optional int64 video_starts_delivered = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
clearViewableImpressionsDelivered()
public LineItemStats.Builder clearViewableImpressionsDelivered()Output only. The number of viewable impressions delivered.
optional int64 viewable_impressions_delivered = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
getClicksDelivered()
public long getClicksDelivered()Output only. The number of clicks delivered
optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The clicksDelivered. |
getDefaultInstanceForType()
public LineItemStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LineItemStats |
|
getDeliveryData(int index)
public long getDeliveryData(int index)Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest).
repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
long |
The deliveryData at the given index. |
getDeliveryDataCount()
public int getDeliveryDataCount()Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest).
repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of deliveryData. |
getDeliveryDataList()
public List<Long> getDeliveryDataList()Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest).
repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Long> |
A list containing the deliveryData. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getImpressionsDelivered()
public long getImpressionsDelivered()Output only. The number of impressions delivered.
optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The impressionsDelivered. |
getVideoCompletionsDelivered()
public long getVideoCompletionsDelivered()Output only. The number of video completions delivered.
optional int64 video_completions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The videoCompletionsDelivered. |
getVideoStartsDelivered()
public long getVideoStartsDelivered()Output only. The number of video starts delivered.
optional int64 video_starts_delivered = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The videoStartsDelivered. |
getViewableImpressionsDelivered()
public long getViewableImpressionsDelivered()Output only. The number of viewable impressions delivered.
optional int64 viewable_impressions_delivered = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The viewableImpressionsDelivered. |
hasClicksDelivered()
public boolean hasClicksDelivered()Output only. The number of clicks delivered
optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the clicksDelivered field is set. |
hasImpressionsDelivered()
public boolean hasImpressionsDelivered()Output only. The number of impressions delivered.
optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the impressionsDelivered field is set. |
hasVideoCompletionsDelivered()
public boolean hasVideoCompletionsDelivered()Output only. The number of video completions delivered.
optional int64 video_completions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the videoCompletionsDelivered field is set. |
hasVideoStartsDelivered()
public boolean hasVideoStartsDelivered()Output only. The number of video starts delivered.
optional int64 video_starts_delivered = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the videoStartsDelivered field is set. |
hasViewableImpressionsDelivered()
public boolean hasViewableImpressionsDelivered()Output only. The number of viewable impressions delivered.
optional int64 viewable_impressions_delivered = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the viewableImpressionsDelivered field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LineItemStats other)
public LineItemStats.Builder mergeFrom(LineItemStats other)| Parameter | |
|---|---|
| Name | Description |
other |
LineItemStats |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LineItemStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LineItemStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
|
setClicksDelivered(long value)
public LineItemStats.Builder setClicksDelivered(long value)Output only. The number of clicks delivered
optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe clicksDelivered to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
setDeliveryData(int index, long value)
public LineItemStats.Builder setDeliveryData(int index, long value)Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest).
repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe deliveryData to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
setImpressionsDelivered(long value)
public LineItemStats.Builder setImpressionsDelivered(long value)Output only. The number of impressions delivered.
optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe impressionsDelivered to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
setVideoCompletionsDelivered(long value)
public LineItemStats.Builder setVideoCompletionsDelivered(long value)Output only. The number of video completions delivered.
optional int64 video_completions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe videoCompletionsDelivered to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
setVideoStartsDelivered(long value)
public LineItemStats.Builder setVideoStartsDelivered(long value)Output only. The number of video starts delivered.
optional int64 video_starts_delivered = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe videoStartsDelivered to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |
setViewableImpressionsDelivered(long value)
public LineItemStats.Builder setViewableImpressionsDelivered(long value)Output only. The number of viewable impressions delivered.
optional int64 viewable_impressions_delivered = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe viewableImpressionsDelivered to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemStats.Builder |
This builder for chaining. |