public static final class YoutubeCreatorPerformanceView.Builder extends GeneratedMessageV3.Builder<YoutubeCreatorPerformanceView.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > YoutubeCreatorPerformanceView.BuilderImplements
YoutubeCreatorPerformanceViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public YoutubeCreatorPerformanceView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
build()
public YoutubeCreatorPerformanceView build()
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView |
buildPartial()
public YoutubeCreatorPerformanceView buildPartial()
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView |
clear()
public YoutubeCreatorPerformanceView.Builder clear()
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
clearChannelId()
public YoutubeCreatorPerformanceView.Builder clearChannelId()
The id for the creator channel.
optional string channel_id = 3;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
clearClicks()
public YoutubeCreatorPerformanceView.Builder clearClicks()
The number of product clicks.
optional int64 clicks = 8;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
clearCommissions()
public YoutubeCreatorPerformanceView.Builder clearCommissions()
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 5;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
clearDate()
public YoutubeCreatorPerformanceView.Builder clearDate()
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 |
YoutubeCreatorPerformanceView.Builder |
clearField(Descriptors.FieldDescriptor field)
public YoutubeCreatorPerformanceView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
clearGrossSales()
public YoutubeCreatorPerformanceView.Builder clearGrossSales()
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 4;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
clearNetSales()
public YoutubeCreatorPerformanceView.Builder clearNetSales()
The net sales amount (includes both purchase and refunds).
optional .google.shopping.type.Price net_sales = 9;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public YoutubeCreatorPerformanceView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
clearOrders()
public YoutubeCreatorPerformanceView.Builder clearOrders()
The number of orders.
optional int64 orders = 6;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
clearTitle()
public YoutubeCreatorPerformanceView.Builder clearTitle()
The title of the creator channel.
optional string title = 2;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
clearViews()
public YoutubeCreatorPerformanceView.Builder clearViews()
The number of YouTube views.
optional int64 views = 7;
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
clone()
public YoutubeCreatorPerformanceView.Builder clone()
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
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. |
getCommissionsBuilder()
public Price.Builder getCommissionsBuilder()
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 5;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price.Builder |
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. |
getDateBuilder()
public Date.Builder getDateBuilder()
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.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getGrossSalesBuilder()
public Price.Builder getGrossSalesBuilder()
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 4;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price.Builder |
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. |
getNetSalesBuilder()
public Price.Builder getNetSalesBuilder()
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.Builder |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCommissions(Price value)
public YoutubeCreatorPerformanceView.Builder mergeCommissions(Price value)
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 5;
Parameter | |
---|---|
Name | Description |
value |
com.google.shopping.type.Price |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
mergeDate(Date value)
public YoutubeCreatorPerformanceView.Builder mergeDate(Date value)
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 1;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public YoutubeCreatorPerformanceView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public YoutubeCreatorPerformanceView.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
mergeFrom(YoutubeCreatorPerformanceView other)
public YoutubeCreatorPerformanceView.Builder mergeFrom(YoutubeCreatorPerformanceView other)
Parameter | |
---|---|
Name | Description |
other |
YoutubeCreatorPerformanceView |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
mergeGrossSales(Price value)
public YoutubeCreatorPerformanceView.Builder mergeGrossSales(Price value)
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 4;
Parameter | |
---|---|
Name | Description |
value |
com.google.shopping.type.Price |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
mergeNetSales(Price value)
public YoutubeCreatorPerformanceView.Builder mergeNetSales(Price value)
The net sales amount (includes both purchase and refunds).
optional .google.shopping.type.Price net_sales = 9;
Parameter | |
---|---|
Name | Description |
value |
com.google.shopping.type.Price |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final YoutubeCreatorPerformanceView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setChannelId(String value)
public YoutubeCreatorPerformanceView.Builder setChannelId(String value)
The id for the creator channel.
optional string channel_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The channelId to set. |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
setChannelIdBytes(ByteString value)
public YoutubeCreatorPerformanceView.Builder setChannelIdBytes(ByteString value)
The id for the creator channel.
optional string channel_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for channelId to set. |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
setClicks(long value)
public YoutubeCreatorPerformanceView.Builder setClicks(long value)
The number of product clicks.
optional int64 clicks = 8;
Parameter | |
---|---|
Name | Description |
value |
long The clicks to set. |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
setCommissions(Price value)
public YoutubeCreatorPerformanceView.Builder setCommissions(Price value)
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 5;
Parameter | |
---|---|
Name | Description |
value |
com.google.shopping.type.Price |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setCommissions(Price.Builder builderForValue)
public YoutubeCreatorPerformanceView.Builder setCommissions(Price.Builder builderForValue)
The commissions amount (pending and paid).
optional .google.shopping.type.Price commissions = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.shopping.type.Price.Builder |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setDate(Date value)
public YoutubeCreatorPerformanceView.Builder setDate(Date value)
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 1;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setDate(Date.Builder builderForValue)
public YoutubeCreatorPerformanceView.Builder setDate(Date.Builder builderForValue)
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public YoutubeCreatorPerformanceView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setGrossSales(Price value)
public YoutubeCreatorPerformanceView.Builder setGrossSales(Price value)
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 4;
Parameter | |
---|---|
Name | Description |
value |
com.google.shopping.type.Price |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setGrossSales(Price.Builder builderForValue)
public YoutubeCreatorPerformanceView.Builder setGrossSales(Price.Builder builderForValue)
The gross sales amount, before refunds.
optional .google.shopping.type.Price gross_sales = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.shopping.type.Price.Builder |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setNetSales(Price value)
public YoutubeCreatorPerformanceView.Builder setNetSales(Price value)
The net sales amount (includes both purchase and refunds).
optional .google.shopping.type.Price net_sales = 9;
Parameter | |
---|---|
Name | Description |
value |
com.google.shopping.type.Price |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setNetSales(Price.Builder builderForValue)
public YoutubeCreatorPerformanceView.Builder setNetSales(Price.Builder builderForValue)
The net sales amount (includes both purchase and refunds).
optional .google.shopping.type.Price net_sales = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.shopping.type.Price.Builder |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setOrders(long value)
public YoutubeCreatorPerformanceView.Builder setOrders(long value)
The number of orders.
optional int64 orders = 6;
Parameter | |
---|---|
Name | Description |
value |
long The orders to set. |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public YoutubeCreatorPerformanceView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setTitle(String value)
public YoutubeCreatorPerformanceView.Builder setTitle(String value)
The title of the creator channel.
optional string title = 2;
Parameter | |
---|---|
Name | Description |
value |
String The title to set. |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public YoutubeCreatorPerformanceView.Builder setTitleBytes(ByteString value)
The title of the creator channel.
optional string title = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final YoutubeCreatorPerformanceView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
setViews(long value)
public YoutubeCreatorPerformanceView.Builder setViews(long value)
The number of YouTube views.
optional int64 views = 7;
Parameter | |
---|---|
Name | Description |
value |
long The views to set. |
Returns | |
---|---|
Type | Description |
YoutubeCreatorPerformanceView.Builder |
This builder for chaining. |