Class YoutubeCreatorPerformanceView (0.44.0)

public final class YoutubeCreatorPerformanceView extends GeneratedMessageV3 implements YoutubeCreatorPerformanceViewOrBuilder

Fields available for query in youtube_creator_performance_view table.

YouTube creator 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.YoutubeCreatorPerformanceView

Static Fields

CHANNEL_ID_FIELD_NUMBER

public static final int CHANNEL_ID_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

VIEWS_FIELD_NUMBER

public static final int VIEWS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static YoutubeCreatorPerformanceView getDefaultInstance()
Returns
Type Description
YoutubeCreatorPerformanceView

getDescriptor()

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

newBuilder()

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

newBuilder(YoutubeCreatorPerformanceView prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChannelId()

public String getChannelId()

The id for the creator channel.

optional string channel_id = 3;

Returns
Type Description
String

The channelId.

getChannelIdBytes()

public ByteString getChannelIdBytes()

The id for the creator channel.

optional string channel_id = 3;

Returns
Type Description
ByteString

The bytes for channelId.

getClicks()

public long getClicks()

The number of product clicks.

optional int64 clicks = 8;

Returns
Type Description
long

The clicks.

getCommissions()

public Price getCommissions()

The commissions amount (pending and paid).

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

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 = 5;

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 YoutubeCreatorPerformanceView getDefaultInstanceForType()
Returns
Type Description
YoutubeCreatorPerformanceView

getGrossSales()

public Price getGrossSales()

The gross sales amount, before refunds.

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

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 = 4;

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 = 9;

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 = 9;

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

getOrders()

public long getOrders()

The number of orders.

optional int64 orders = 6;

Returns
Type Description
long

The orders.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTitle()

public String getTitle()

The title of the creator channel.

optional string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The title of the creator channel.

optional string title = 2;

Returns
Type Description
ByteString

The bytes for title.

getViews()

public long getViews()

The number of YouTube views.

optional int64 views = 7;

Returns
Type Description
long

The views.

hasChannelId()

public boolean hasChannelId()

The id for the creator channel.

optional string channel_id = 3;

Returns
Type Description
boolean

Whether the channelId field is set.

hasClicks()

public boolean hasClicks()

The number of product clicks.

optional int64 clicks = 8;

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 = 5;

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 = 4;

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 = 9;

Returns
Type Description
boolean

Whether the netSales field is set.

hasOrders()

public boolean hasOrders()

The number of orders.

optional int64 orders = 6;

Returns
Type Description
boolean

Whether the orders field is set.

hasTitle()

public boolean hasTitle()

The title of the creator channel.

optional string title = 2;

Returns
Type Description
boolean

Whether the title field is set.

hasViews()

public boolean hasViews()

The number of YouTube views.

optional int64 views = 7;

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 YoutubeCreatorPerformanceView.Builder newBuilderForType()
Returns
Type Description
YoutubeCreatorPerformanceView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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