Class LineItemStats (0.54.0)

public final class LineItemStats extends GeneratedMessage implements LineItemStatsOrBuilder

Contains trafficking statistics for LineItem.

Protobuf type google.ads.admanager.v1.LineItemStats

Static Fields

CLICKS_DELIVERED_FIELD_NUMBER

public static final int CLICKS_DELIVERED_FIELD_NUMBER
Field Value
Type Description
int

DELIVERY_DATA_FIELD_NUMBER

public static final int DELIVERY_DATA_FIELD_NUMBER
Field Value
Type Description
int

IMPRESSIONS_DELIVERED_FIELD_NUMBER

public static final int IMPRESSIONS_DELIVERED_FIELD_NUMBER
Field Value
Type Description
int

VIDEO_COMPLETIONS_DELIVERED_FIELD_NUMBER

public static final int VIDEO_COMPLETIONS_DELIVERED_FIELD_NUMBER
Field Value
Type Description
int

VIDEO_STARTS_DELIVERED_FIELD_NUMBER

public static final int VIDEO_STARTS_DELIVERED_FIELD_NUMBER
Field Value
Type Description
int

VIEWABLE_IMPRESSIONS_DELIVERED_FIELD_NUMBER

public static final int VIEWABLE_IMPRESSIONS_DELIVERED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LineItemStats getDefaultInstance()
Returns
Type Description
LineItemStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LineItemStats.Builder newBuilder()
Returns
Type Description
LineItemStats.Builder

newBuilder(LineItemStats prototype)

public static LineItemStats.Builder newBuilder(LineItemStats prototype)
Parameter
Name Description
prototype LineItemStats
Returns
Type Description
LineItemStats.Builder

parseDelimitedFrom(InputStream input)

public static LineItemStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LineItemStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LineItemStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineItemStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LineItemStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LineItemStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LineItemStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineItemStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LineItemStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LineItemStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LineItemStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineItemStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LineItemStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LineItemStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LineItemStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineItemStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LineItemStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LineItemStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LineItemStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineItemStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LineItemStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LineItemStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LineItemStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineItemStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LineItemStats> parser()
Returns
Type Description
Parser<LineItemStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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 int

The 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.

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.

getParserForType()

public Parser<LineItemStats> getParserForType()
Returns
Type Description
Parser<LineItemStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LineItemStats.Builder newBuilderForType()
Returns
Type Description
LineItemStats.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected LineItemStats.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LineItemStats.Builder
Overrides

toBuilder()

public LineItemStats.Builder toBuilder()
Returns
Type Description
LineItemStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException