Class BestSellersBrandView.Builder (0.5.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BestSellersBrandView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

build()

public BestSellersBrandView build()
Returns
TypeDescription
BestSellersBrandView

buildPartial()

public BestSellersBrandView buildPartial()
Returns
TypeDescription
BestSellersBrandView

clear()

public BestSellersBrandView.Builder clear()
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

clearBrand()

public BestSellersBrandView.Builder clearBrand()

Name of the brand.

optional string brand = 6;

Returns
TypeDescription
BestSellersBrandView.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BestSellersBrandView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BestSellersBrandView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

clearPreviousRank()

public BestSellersBrandView.Builder clearPreviousRank()

Popularity rank in the previous week or month.

optional int64 previous_rank = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Returns
TypeDescription
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
TypeDescription
BestSellersBrandView.Builder

This builder for chaining.

clone()

public BestSellersBrandView.Builder clone()
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

getBrand()

public String getBrand()

Name of the brand.

optional string brand = 6;

Returns
TypeDescription
String

The brand.

getBrandBytes()

public ByteString getBrandBytes()

Name of the brand.

optional string brand = 6;

Returns
TypeDescription
ByteString

The bytes for brand.

getDefaultInstanceForType()

public BestSellersBrandView getDefaultInstanceForType()
Returns
TypeDescription
BestSellersBrandView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPreviousRank()

public long getPreviousRank()

Popularity rank in the previous week or month.

optional int64 previous_rank = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Returns
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Returns
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for reportGranularity.

hasBrand()

public boolean hasBrand()

Name of the brand.

optional string brand = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the reportGranularity field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BestSellersBrandView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BestSellersBrandView.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

mergeFrom(BestSellersBrandView other)

public BestSellersBrandView.Builder mergeFrom(BestSellersBrandView other)
Parameter
NameDescription
otherBestSellersBrandView
Returns
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
BestSellersBrandView.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BestSellersBrandView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

setBrand(String value)

public BestSellersBrandView.Builder setBrand(String value)

Name of the brand.

optional string brand = 6;

Parameter
NameDescription
valueString

The brand to set.

Returns
TypeDescription
BestSellersBrandView.Builder

This builder for chaining.

setBrandBytes(ByteString value)

public BestSellersBrandView.Builder setBrandBytes(ByteString value)

Name of the brand.

optional string brand = 6;

Parameter
NameDescription
valueByteString

The bytes for brand to set.

Returns
TypeDescription
BestSellersBrandView.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BestSellersBrandView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

setPreviousRank(long value)

public BestSellersBrandView.Builder setPreviousRank(long value)

Popularity rank in the previous week or month.

optional int64 previous_rank = 8;

Parameter
NameDescription
valuelong

The previousRank to set.

Returns
TypeDescription
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
NameDescription
valueRelativeDemand.RelativeDemandEnum

The previousRelativeDemand to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for previousRelativeDemand to set.

Returns
TypeDescription
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
NameDescription
valuelong

The rank to set.

Returns
TypeDescription
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
NameDescription
valueRelativeDemand.RelativeDemandEnum

The relativeDemand to set.

Returns
TypeDescription
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
NameDescription
valueRelativeDemandChangeType.RelativeDemandChangeTypeEnum

The relativeDemandChange to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for relativeDemandChange to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for relativeDemand to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides

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
NameDescription
valuelong

The reportCategoryId to set.

Returns
TypeDescription
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
NameDescription
valueString

The reportCountryCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for reportCountryCode to set.

Returns
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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 a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.

.google.type.Date report_date = 1;

Parameter
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
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
NameDescription
valueReportGranularity.ReportGranularityEnum

The reportGranularity to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for reportGranularity to set.

Returns
TypeDescription
BestSellersBrandView.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BestSellersBrandView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BestSellersBrandView.Builder
Overrides