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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CHANNEL_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CLICKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int COMMISSIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GROSS_SALES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NET_SALES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ORDERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VIEWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static YoutubeCreatorPerformanceView getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static YoutubeCreatorPerformanceView.Builder newBuilder()
public static YoutubeCreatorPerformanceView.Builder newBuilder(YoutubeCreatorPerformanceView prototype)
public static YoutubeCreatorPerformanceView parseDelimitedFrom(InputStream input)
public static YoutubeCreatorPerformanceView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static YoutubeCreatorPerformanceView parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static YoutubeCreatorPerformanceView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static YoutubeCreatorPerformanceView parseFrom(ByteString data)
public static YoutubeCreatorPerformanceView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static YoutubeCreatorPerformanceView parseFrom(CodedInputStream input)
public static YoutubeCreatorPerformanceView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static YoutubeCreatorPerformanceView parseFrom(InputStream input)
public static YoutubeCreatorPerformanceView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static YoutubeCreatorPerformanceView parseFrom(ByteBuffer data)
public static YoutubeCreatorPerformanceView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<YoutubeCreatorPerformanceView> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public String getChannelId()
The id for the creator channel.
optional string channel_id = 3;
Returns |
Type |
Description |
String |
The channelId.
|
public ByteString getChannelIdBytes()
The id for the creator channel.
optional string channel_id = 3;
Returns |
Type |
Description |
ByteString |
The bytes for channelId.
|
The number of product clicks.
optional int64 clicks = 8;
Returns |
Type |
Description |
long |
The clicks.
|
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.
|
public PriceOrBuilder getCommissionsOrBuilder()
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 5;
Returns |
Type |
Description |
com.google.shopping.type.PriceOrBuilder |
|
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.
|
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 |
|
public YoutubeCreatorPerformanceView getDefaultInstanceForType()
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.
|
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 |
|
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.
|
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 |
|
The number of orders.
optional int64 orders = 6;
Returns |
Type |
Description |
long |
The orders.
|
public Parser<YoutubeCreatorPerformanceView> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
The title of the creator channel.
optional string title = 2;
Returns |
Type |
Description |
String |
The title.
|
public ByteString getTitleBytes()
The title of the creator channel.
optional string title = 2;
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
The number of YouTube views.
optional int64 views = 7;
Returns |
Type |
Description |
long |
The views.
|
public boolean hasChannelId()
The id for the creator channel.
optional string channel_id = 3;
Returns |
Type |
Description |
boolean |
Whether the channelId field is set.
|
public boolean hasClicks()
The number of product clicks.
optional int64 clicks = 8;
Returns |
Type |
Description |
boolean |
Whether the clicks field is set.
|
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.
|
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.
|
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.
|
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.
|
public boolean hasOrders()
The number of orders.
optional int64 orders = 6;
Returns |
Type |
Description |
boolean |
Whether the orders field is set.
|
public boolean hasTitle()
The title of the creator channel.
optional string title = 2;
Returns |
Type |
Description |
boolean |
Whether the title field is set.
|
public boolean hasViews()
The number of YouTube views.
optional int64 views = 7;
Returns |
Type |
Description |
boolean |
Whether the views field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public YoutubeCreatorPerformanceView.Builder newBuilderForType()
protected YoutubeCreatorPerformanceView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public YoutubeCreatorPerformanceView.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides