Class YoutubeContentPerformanceView (0.44.0)

public final class YoutubeContentPerformanceView extends GeneratedMessageV3 implements YoutubeContentPerformanceViewOrBuilder

Fields available for query in youtube_content_performance_view table.

YouTube content performance data for your account. This data is only available if an account is enrolled in the YouTube Shopping Affiliate program.

Values are only set for fields requested explicitly in the request's search query.

Protobuf type google.shopping.merchant.reports.v1alpha.YoutubeContentPerformanceView

Static Fields

CHANNEL_ID_FIELD_NUMBER

public static final int CHANNEL_ID_FIELD_NUMBER
Field Value
Type Description
int

CHANNEL_TITLE_FIELD_NUMBER

public static final int CHANNEL_TITLE_FIELD_NUMBER
Field Value
Type Description
int

CLICKS_FIELD_NUMBER

public static final int CLICKS_FIELD_NUMBER
Field Value
Type Description
int

COMMISSIONS_FIELD_NUMBER

public static final int COMMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

DATE_FIELD_NUMBER

public static final int DATE_FIELD_NUMBER
Field Value
Type Description
int

GROSS_SALES_FIELD_NUMBER

public static final int GROSS_SALES_FIELD_NUMBER
Field Value
Type Description
int

NET_SALES_FIELD_NUMBER

public static final int NET_SALES_FIELD_NUMBER
Field Value
Type Description
int

ORDERS_FIELD_NUMBER

public static final int ORDERS_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

VIDEO_ID_FIELD_NUMBER

public static final int VIDEO_ID_FIELD_NUMBER
Field Value
Type Description
int

VIEWS_FIELD_NUMBER

public static final int VIEWS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static YoutubeContentPerformanceView getDefaultInstance()
Returns
Type Description
YoutubeContentPerformanceView

getDescriptor()

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

newBuilder()

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

newBuilder(YoutubeContentPerformanceView prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChannelId()

public String getChannelId()

The channel id.

optional string channel_id = 5;

Returns
Type Description
String

The channelId.

getChannelIdBytes()

public ByteString getChannelIdBytes()

The channel id.

optional string channel_id = 5;

Returns
Type Description
ByteString

The bytes for channelId.

getChannelTitle()

public String getChannelTitle()

The channel title.

optional string channel_title = 4;

Returns
Type Description
String

The channelTitle.

getChannelTitleBytes()

public ByteString getChannelTitleBytes()

The channel title.

optional string channel_title = 4;

Returns
Type Description
ByteString

The bytes for channelTitle.

getClicks()

public long getClicks()

The number of product clicks.

optional int64 clicks = 10;

Returns
Type Description
long

The clicks.

getCommissions()

public Price getCommissions()

The commissions amount (pending and paid).

optional .google.shopping.type.Price commissions = 7;

Returns
Type Description
com.google.shopping.type.Price

The commissions.

getCommissionsOrBuilder()

public PriceOrBuilder getCommissionsOrBuilder()

The commissions amount (pending and paid).

optional .google.shopping.type.Price commissions = 7;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getDate()

public Date getDate()

Date in the merchant timezone to which metrics apply. Segment.

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
com.google.type.Date

The date.

getDateOrBuilder()

public DateOrBuilder getDateOrBuilder()

Date in the merchant timezone to which metrics apply. Segment.

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public YoutubeContentPerformanceView getDefaultInstanceForType()
Returns
Type Description
YoutubeContentPerformanceView

getGrossSales()

public Price getGrossSales()

The gross sales amount, before refunds.

optional .google.shopping.type.Price gross_sales = 6;

Returns
Type Description
com.google.shopping.type.Price

The grossSales.

getGrossSalesOrBuilder()

public PriceOrBuilder getGrossSalesOrBuilder()

The gross sales amount, before refunds.

optional .google.shopping.type.Price gross_sales = 6;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getNetSales()

public Price getNetSales()

The net sales amount (includes both purchase and refunds).

optional .google.shopping.type.Price net_sales = 11;

Returns
Type Description
com.google.shopping.type.Price

The netSales.

getNetSalesOrBuilder()

public PriceOrBuilder getNetSalesOrBuilder()

The net sales amount (includes both purchase and refunds).

optional .google.shopping.type.Price net_sales = 11;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getOrders()

public long getOrders()

The number of orders.

optional int64 orders = 8;

Returns
Type Description
long

The orders.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTitle()

public String getTitle()

The video title.

optional string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The video title.

optional string title = 2;

Returns
Type Description
ByteString

The bytes for title.

getVideoId()

public String getVideoId()

The video id.

optional string video_id = 3;

Returns
Type Description
String

The videoId.

getVideoIdBytes()

public ByteString getVideoIdBytes()

The video id.

optional string video_id = 3;

Returns
Type Description
ByteString

The bytes for videoId.

getViews()

public long getViews()

The number of YouTube views.

optional int64 views = 9;

Returns
Type Description
long

The views.

hasChannelId()

public boolean hasChannelId()

The channel id.

optional string channel_id = 5;

Returns
Type Description
boolean

Whether the channelId field is set.

hasChannelTitle()

public boolean hasChannelTitle()

The channel title.

optional string channel_title = 4;

Returns
Type Description
boolean

Whether the channelTitle field is set.

hasClicks()

public boolean hasClicks()

The number of product clicks.

optional int64 clicks = 10;

Returns
Type Description
boolean

Whether the clicks field is set.

hasCommissions()

public boolean hasCommissions()

The commissions amount (pending and paid).

optional .google.shopping.type.Price commissions = 7;

Returns
Type Description
boolean

Whether the commissions field is set.

hasDate()

public boolean hasDate()

Date in the merchant timezone to which metrics apply. Segment.

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
boolean

Whether the date field is set.

hasGrossSales()

public boolean hasGrossSales()

The gross sales amount, before refunds.

optional .google.shopping.type.Price gross_sales = 6;

Returns
Type Description
boolean

Whether the grossSales field is set.

hasNetSales()

public boolean hasNetSales()

The net sales amount (includes both purchase and refunds).

optional .google.shopping.type.Price net_sales = 11;

Returns
Type Description
boolean

Whether the netSales field is set.

hasOrders()

public boolean hasOrders()

The number of orders.

optional int64 orders = 8;

Returns
Type Description
boolean

Whether the orders field is set.

hasTitle()

public boolean hasTitle()

The video title.

optional string title = 2;

Returns
Type Description
boolean

Whether the title field is set.

hasVideoId()

public boolean hasVideoId()

The video id.

optional string video_id = 3;

Returns
Type Description
boolean

Whether the videoId field is set.

hasViews()

public boolean hasViews()

The number of YouTube views.

optional int64 views = 9;

Returns
Type Description
boolean

Whether the views field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected YoutubeContentPerformanceView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
YoutubeContentPerformanceView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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