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