public static final class LineItemCreativeAssociationStats.Builder extends GeneratedMessage.Builder<LineItemCreativeAssociationStats.Builder> implements LineItemCreativeAssociationStatsOrBuilderContains statistics such as impressions, clicks delivered, and viewable impressions for a LineItemCreativeAssociation.
Protobuf type google.ads.admanager.v1.LineItemCreativeAssociationStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LineItemCreativeAssociationStats.BuilderImplements
LineItemCreativeAssociationStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LineItemCreativeAssociationStats build()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats |
|
buildPartial()
public LineItemCreativeAssociationStats buildPartial()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats |
|
clear()
public LineItemCreativeAssociationStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
clearClicksDelivered()
public LineItemCreativeAssociationStats.Builder clearClicksDelivered()Output only. The number of clicks delivered.
optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
This builder for chaining. |
clearCreativeSetStats()
public LineItemCreativeAssociationStats.Builder clearCreativeSetStats()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
clearImpressionsDelivered()
public LineItemCreativeAssociationStats.Builder clearImpressionsDelivered()Output only. The number of impressions delivered.
optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
This builder for chaining. |
clearViewableImpressionsDelivered()
public LineItemCreativeAssociationStats.Builder clearViewableImpressionsDelivered()Output only. The number of viewable impressions delivered.
optional int64 viewable_impressions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
This builder for chaining. |
containsCreativeSetStats(long key)
public boolean containsCreativeSetStats(long key)Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
getCreativeSetStats() (deprecated)
public Map<Long,LineItemCreativeAssociationStats.CreativeStats> getCreativeSetStats()Use #getCreativeSetStatsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,CreativeStats> |
|
getCreativeSetStatsCount()
public int getCreativeSetStatsCount()Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCreativeSetStatsMap()
public Map<Long,LineItemCreativeAssociationStats.CreativeStats> getCreativeSetStatsMap()Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<Long,CreativeStats> |
|
getCreativeSetStatsOrDefault(long key, LineItemCreativeAssociationStats.CreativeStats defaultValue)
public LineItemCreativeAssociationStats.CreativeStats getCreativeSetStatsOrDefault(long key, LineItemCreativeAssociationStats.CreativeStats defaultValue)Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
defaultValue |
LineItemCreativeAssociationStats.CreativeStats |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats |
|
getCreativeSetStatsOrThrow(long key)
public LineItemCreativeAssociationStats.CreativeStats getCreativeSetStatsOrThrow(long key)Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats |
|
getDefaultInstanceForType()
public LineItemCreativeAssociationStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats |
|
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. |
getMutableCreativeSetStats() (deprecated)
public Map<Long,LineItemCreativeAssociationStats.CreativeStats> getMutableCreativeSetStats()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,CreativeStats> |
|
getViewableImpressionsDelivered()
public long getViewableImpressionsDelivered()Output only. The number of viewable impressions 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 viewable impressions 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 |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LineItemCreativeAssociationStats other)
public LineItemCreativeAssociationStats.Builder mergeFrom(LineItemCreativeAssociationStats other)| Parameter | |
|---|---|
| Name | Description |
other |
LineItemCreativeAssociationStats |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LineItemCreativeAssociationStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LineItemCreativeAssociationStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
putAllCreativeSetStats(Map<Long,LineItemCreativeAssociationStats.CreativeStats> values)
public LineItemCreativeAssociationStats.Builder putAllCreativeSetStats(Map<Long,LineItemCreativeAssociationStats.CreativeStats> values)Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<Long,CreativeStats> |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
putCreativeSetStats(long key, LineItemCreativeAssociationStats.CreativeStats value)
public LineItemCreativeAssociationStats.Builder putCreativeSetStats(long key, LineItemCreativeAssociationStats.CreativeStats value)Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
value |
LineItemCreativeAssociationStats.CreativeStats |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
putCreativeSetStatsBuilderIfAbsent(long key)
public LineItemCreativeAssociationStats.CreativeStats.Builder putCreativeSetStatsBuilderIfAbsent(long key)Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.CreativeStats.Builder |
|
removeCreativeSetStats(long key)
public LineItemCreativeAssociationStats.Builder removeCreativeSetStats(long key)Output only. Creative set stats.
map<int64, .google.ads.admanager.v1.LineItemCreativeAssociationStats.CreativeStats> creative_set_stats = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
LineItemCreativeAssociationStats.Builder |
|
setClicksDelivered(long value)
public LineItemCreativeAssociationStats.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.Builder |
This builder for chaining. |
setImpressionsDelivered(long value)
public LineItemCreativeAssociationStats.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.Builder |
This builder for chaining. |
setViewableImpressionsDelivered(long value)
public LineItemCreativeAssociationStats.Builder setViewableImpressionsDelivered(long value)Output only. The number of viewable impressions 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.Builder |
This builder for chaining. |