public static final class LineItemCreativeAssociationStats.CreativeStats.Builder extends GeneratedMessage.Builder<LineItemCreativeAssociationStats.CreativeStats.Builder> implements LineItemCreativeAssociationStats.CreativeStatsOrBuilderContains statistics such as impressions, clicks delivered, and viewable impressions for creatives belonging to a CreativeSet.
Protobuf type google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LineItemCreativeAssociationStats.CreativeStats.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LineItemCreativeAssociationStats.CreativeStats build()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats |
|
buildPartial()
public LineItemCreativeAssociationStats.CreativeStats buildPartial()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats |
|
clear()
public LineItemCreativeAssociationStats.CreativeStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
|
clearClicksDelivered()
public LineItemCreativeAssociationStats.CreativeStats.Builder clearClicksDelivered()Output only. The number of clicks delivered.
optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
This builder for chaining. |
clearImpressionsDelivered()
public LineItemCreativeAssociationStats.CreativeStats.Builder clearImpressionsDelivered()Output only. The number of impressions delivered.
optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
This builder for chaining. |
clearViewableImpressionsDelivered()
public LineItemCreativeAssociationStats.CreativeStats.Builder clearViewableImpressionsDelivered()Output only. The number of video completions delivered.
optional int64 viewable_impressions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.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 LineItemCreativeAssociationStats.CreativeStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats |
|
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. |
getViewableImpressionsDelivered()
public long getViewableImpressionsDelivered()Output only. The number of video completions delivered.
optional int64 viewable_impressions_delivered = 3 [(.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. |
hasViewableImpressionsDelivered()
public boolean hasViewableImpressionsDelivered()Output only. The number of video completions delivered.
optional int64 viewable_impressions_delivered = 3 [(.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(LineItemCreativeAssociationStats.CreativeStats other)
public LineItemCreativeAssociationStats.CreativeStats.Builder mergeFrom(LineItemCreativeAssociationStats.CreativeStats other)| Parameter | |
|---|---|
| Name | Description |
other |
LineItemCreativeAssociationStats.CreativeStats |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LineItemCreativeAssociationStats.CreativeStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LineItemCreativeAssociationStats.CreativeStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
|
setClicksDelivered(long value)
public LineItemCreativeAssociationStats.CreativeStats.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 |
LineItemCreativeAssociationStats.CreativeStats.Builder |
This builder for chaining. |
setImpressionsDelivered(long value)
public LineItemCreativeAssociationStats.CreativeStats.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 |
LineItemCreativeAssociationStats.CreativeStats.Builder |
This builder for chaining. |
setViewableImpressionsDelivered(long value)
public LineItemCreativeAssociationStats.CreativeStats.Builder setViewableImpressionsDelivered(long value)Output only. The number of video completions delivered.
optional int64 viewable_impressions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe viewableImpressionsDelivered to set. |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
This builder for chaining. |