public static final class BestSellersBrandView.Builder extends GeneratedMessageV3.Builder<BestSellersBrandView.Builder> implements BestSellersBrandViewOrBuilder
Fields available for query in best_sellers_brand_view
table.
Best sellers report with top brands.
Values are only set for fields requested explicitly in the request's search query.
Protobuf type google.shopping.merchant.reports.v1beta.BestSellersBrandView
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BestSellersBrandView.BuilderImplements
BestSellersBrandViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BestSellersBrandView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
build()
public BestSellersBrandView build()
Returns | |
---|---|
Type | Description |
BestSellersBrandView |
buildPartial()
public BestSellersBrandView buildPartial()
Returns | |
---|---|
Type | Description |
BestSellersBrandView |
clear()
public BestSellersBrandView.Builder clear()
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
clearBrand()
public BestSellersBrandView.Builder clearBrand()
Name of the brand.
optional string brand = 6;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BestSellersBrandView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BestSellersBrandView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
clearPreviousRank()
public BestSellersBrandView.Builder clearPreviousRank()
Popularity rank in the previous week or month.
optional int64 previous_rank = 8;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearPreviousRelativeDemand()
public BestSellersBrandView.Builder clearPreviousRelativeDemand()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearRank()
public BestSellersBrandView.Builder clearRank()
Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.
optional int64 rank = 7;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearRelativeDemand()
public BestSellersBrandView.Builder clearRelativeDemand()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearRelativeDemandChange()
public BestSellersBrandView.Builder clearRelativeDemandChange()
Change in the estimated demand. Whether it rose, sank or remained flat.
optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearReportCategoryId()
public BestSellersBrandView.Builder clearReportCategoryId()
Google product category ID to calculate the ranking for, represented in Google's product taxonomy.
Required in the SELECT
clause. If a WHERE
condition on
report_category_id
is not specified in the query, rankings for all
top-level categories are returned.
optional int64 report_category_id = 4;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearReportCountryCode()
public BestSellersBrandView.Builder clearReportCountryCode()
Country where the ranking is calculated. Represented in the ISO 3166 format.
Required in the SELECT
clause. Condition on report_country_code
is
required in the WHERE
clause.
optional string report_country_code = 3;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clearReportDate()
public BestSellersBrandView.Builder clearReportDate()
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
clearReportGranularity()
public BestSellersBrandView.Builder clearReportGranularity()
Granularity of the report. The ranking can be done over a week or a month timeframe.
Required in the SELECT
clause. Condition on report_granularity
is
required in the WHERE
clause.
optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
clone()
public BestSellersBrandView.Builder clone()
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
getBrand()
public String getBrand()
Name of the brand.
optional string brand = 6;
Returns | |
---|---|
Type | Description |
String | The brand. |
getBrandBytes()
public ByteString getBrandBytes()
Name of the brand.
optional string brand = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for brand. |
getDefaultInstanceForType()
public BestSellersBrandView getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BestSellersBrandView |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPreviousRank()
public long getPreviousRank()
Popularity rank in the previous week or month.
optional int64 previous_rank = 8;
Returns | |
---|---|
Type | Description |
long | The previousRank. |
getPreviousRelativeDemand()
public RelativeDemand.RelativeDemandEnum getPreviousRelativeDemand()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
Returns | |
---|---|
Type | Description |
RelativeDemand.RelativeDemandEnum | The previousRelativeDemand. |
getPreviousRelativeDemandValue()
public int getPreviousRelativeDemandValue()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for previousRelativeDemand. |
getRank()
public long getRank()
Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.
optional int64 rank = 7;
Returns | |
---|---|
Type | Description |
long | The rank. |
getRelativeDemand()
public RelativeDemand.RelativeDemandEnum getRelativeDemand()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
Returns | |
---|---|
Type | Description |
RelativeDemand.RelativeDemandEnum | The relativeDemand. |
getRelativeDemandChange()
public RelativeDemandChangeType.RelativeDemandChangeTypeEnum getRelativeDemandChange()
Change in the estimated demand. Whether it rose, sank or remained flat.
optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
Returns | |
---|---|
Type | Description |
RelativeDemandChangeType.RelativeDemandChangeTypeEnum | The relativeDemandChange. |
getRelativeDemandChangeValue()
public int getRelativeDemandChangeValue()
Change in the estimated demand. Whether it rose, sank or remained flat.
optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for relativeDemandChange. |
getRelativeDemandValue()
public int getRelativeDemandValue()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for relativeDemand. |
getReportCategoryId()
public long getReportCategoryId()
Google product category ID to calculate the ranking for, represented in Google's product taxonomy.
Required in the SELECT
clause. If a WHERE
condition on
report_category_id
is not specified in the query, rankings for all
top-level categories are returned.
optional int64 report_category_id = 4;
Returns | |
---|---|
Type | Description |
long | The reportCategoryId. |
getReportCountryCode()
public String getReportCountryCode()
Country where the ranking is calculated. Represented in the ISO 3166 format.
Required in the SELECT
clause. Condition on report_country_code
is
required in the WHERE
clause.
optional string report_country_code = 3;
Returns | |
---|---|
Type | Description |
String | The reportCountryCode. |
getReportCountryCodeBytes()
public ByteString getReportCountryCodeBytes()
Country where the ranking is calculated. Represented in the ISO 3166 format.
Required in the SELECT
clause. Condition on report_country_code
is
required in the WHERE
clause.
optional string report_country_code = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for reportCountryCode. |
getReportDate()
public Date getReportDate()
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The reportDate. |
getReportDateBuilder()
public Date.Builder getReportDateBuilder()
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getReportDateOrBuilder()
public DateOrBuilder getReportDateOrBuilder()
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getReportGranularity()
public ReportGranularity.ReportGranularityEnum getReportGranularity()
Granularity of the report. The ranking can be done over a week or a month timeframe.
Required in the SELECT
clause. Condition on report_granularity
is
required in the WHERE
clause.
optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
Returns | |
---|---|
Type | Description |
ReportGranularity.ReportGranularityEnum | The reportGranularity. |
getReportGranularityValue()
public int getReportGranularityValue()
Granularity of the report. The ranking can be done over a week or a month timeframe.
Required in the SELECT
clause. Condition on report_granularity
is
required in the WHERE
clause.
optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for reportGranularity. |
hasBrand()
public boolean hasBrand()
Name of the brand.
optional string brand = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the brand field is set. |
hasPreviousRank()
public boolean hasPreviousRank()
Popularity rank in the previous week or month.
optional int64 previous_rank = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the previousRank field is set. |
hasPreviousRelativeDemand()
public boolean hasPreviousRelativeDemand()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the previousRelativeDemand field is set. |
hasRank()
public boolean hasRank()
Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.
optional int64 rank = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the rank field is set. |
hasRelativeDemand()
public boolean hasRelativeDemand()
Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the relativeDemand field is set. |
hasRelativeDemandChange()
public boolean hasRelativeDemandChange()
Change in the estimated demand. Whether it rose, sank or remained flat.
optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the relativeDemandChange field is set. |
hasReportCategoryId()
public boolean hasReportCategoryId()
Google product category ID to calculate the ranking for, represented in Google's product taxonomy.
Required in the SELECT
clause. If a WHERE
condition on
report_category_id
is not specified in the query, rankings for all
top-level categories are returned.
optional int64 report_category_id = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the reportCategoryId field is set. |
hasReportCountryCode()
public boolean hasReportCountryCode()
Country where the ranking is calculated. Represented in the ISO 3166 format.
Required in the SELECT
clause. Condition on report_country_code
is
required in the WHERE
clause.
optional string report_country_code = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the reportCountryCode field is set. |
hasReportDate()
public boolean hasReportDate()
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the reportDate field is set. |
hasReportGranularity()
public boolean hasReportGranularity()
Granularity of the report. The ranking can be done over a week or a month timeframe.
Required in the SELECT
clause. Condition on report_granularity
is
required in the WHERE
clause.
optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the reportGranularity field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BestSellersBrandView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BestSellersBrandView.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
mergeFrom(BestSellersBrandView other)
public BestSellersBrandView.Builder mergeFrom(BestSellersBrandView other)
Parameter | |
---|---|
Name | Description |
other | BestSellersBrandView |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
mergeReportDate(Date value)
public BestSellersBrandView.Builder mergeReportDate(Date value)
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BestSellersBrandView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
setBrand(String value)
public BestSellersBrandView.Builder setBrand(String value)
Name of the brand.
optional string brand = 6;
Parameter | |
---|---|
Name | Description |
value | String The brand to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setBrandBytes(ByteString value)
public BestSellersBrandView.Builder setBrandBytes(ByteString value)
Name of the brand.
optional string brand = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for brand to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BestSellersBrandView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
setPreviousRank(long value)
public BestSellersBrandView.Builder setPreviousRank(long value)
Popularity rank in the previous week or month.
optional int64 previous_rank = 8;
Parameter | |
---|---|
Name | Description |
value | long The previousRank to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setPreviousRelativeDemand(RelativeDemand.RelativeDemandEnum value)
public BestSellersBrandView.Builder setPreviousRelativeDemand(RelativeDemand.RelativeDemandEnum value)
Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
Parameter | |
---|---|
Name | Description |
value | RelativeDemand.RelativeDemandEnum The previousRelativeDemand to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setPreviousRelativeDemandValue(int value)
public BestSellersBrandView.Builder setPreviousRelativeDemandValue(int value)
Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for previousRelativeDemand to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setRank(long value)
public BestSellersBrandView.Builder setRank(long value)
Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.
optional int64 rank = 7;
Parameter | |
---|---|
Name | Description |
value | long The rank to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setRelativeDemand(RelativeDemand.RelativeDemandEnum value)
public BestSellersBrandView.Builder setRelativeDemand(RelativeDemand.RelativeDemandEnum value)
Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
Parameter | |
---|---|
Name | Description |
value | RelativeDemand.RelativeDemandEnum The relativeDemand to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setRelativeDemandChange(RelativeDemandChangeType.RelativeDemandChangeTypeEnum value)
public BestSellersBrandView.Builder setRelativeDemandChange(RelativeDemandChangeType.RelativeDemandChangeTypeEnum value)
Change in the estimated demand. Whether it rose, sank or remained flat.
optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
Parameter | |
---|---|
Name | Description |
value | RelativeDemandChangeType.RelativeDemandChangeTypeEnum The relativeDemandChange to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setRelativeDemandChangeValue(int value)
public BestSellersBrandView.Builder setRelativeDemandChangeValue(int value)
Change in the estimated demand. Whether it rose, sank or remained flat.
optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for relativeDemandChange to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setRelativeDemandValue(int value)
public BestSellersBrandView.Builder setRelativeDemandValue(int value)
Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for relativeDemand to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BestSellersBrandView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
setReportCategoryId(long value)
public BestSellersBrandView.Builder setReportCategoryId(long value)
Google product category ID to calculate the ranking for, represented in Google's product taxonomy.
Required in the SELECT
clause. If a WHERE
condition on
report_category_id
is not specified in the query, rankings for all
top-level categories are returned.
optional int64 report_category_id = 4;
Parameter | |
---|---|
Name | Description |
value | long The reportCategoryId to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setReportCountryCode(String value)
public BestSellersBrandView.Builder setReportCountryCode(String value)
Country where the ranking is calculated. Represented in the ISO 3166 format.
Required in the SELECT
clause. Condition on report_country_code
is
required in the WHERE
clause.
optional string report_country_code = 3;
Parameter | |
---|---|
Name | Description |
value | String The reportCountryCode to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setReportCountryCodeBytes(ByteString value)
public BestSellersBrandView.Builder setReportCountryCodeBytes(ByteString value)
Country where the ranking is calculated. Represented in the ISO 3166 format.
Required in the SELECT
clause. Condition on report_country_code
is
required in the WHERE
clause.
optional string report_country_code = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for reportCountryCode to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setReportDate(Date value)
public BestSellersBrandView.Builder setReportDate(Date value)
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
setReportDate(Date.Builder builderForValue)
public BestSellersBrandView.Builder setReportDate(Date.Builder builderForValue)
Report date. The value of this field can only be one of the following:
- The first day of the week (Monday) for weekly reports,
The first day of the month for monthly reports.
Required in the
SELECT
clause. If aWHERE
condition onreport_date
is not specified in the query, the latest available weekly or monthly report is returned.
.google.type.Date report_date = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |
setReportGranularity(ReportGranularity.ReportGranularityEnum value)
public BestSellersBrandView.Builder setReportGranularity(ReportGranularity.ReportGranularityEnum value)
Granularity of the report. The ranking can be done over a week or a month timeframe.
Required in the SELECT
clause. Condition on report_granularity
is
required in the WHERE
clause.
optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
Parameter | |
---|---|
Name | Description |
value | ReportGranularity.ReportGranularityEnum The reportGranularity to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setReportGranularityValue(int value)
public BestSellersBrandView.Builder setReportGranularityValue(int value)
Granularity of the report. The ranking can be done over a week or a month timeframe.
Required in the SELECT
clause. Condition on report_granularity
is
required in the WHERE
clause.
optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for reportGranularity to set. |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BestSellersBrandView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BestSellersBrandView.Builder |