Class PriceCompetitivenessProductView.Builder (0.15.0)

public static final class PriceCompetitivenessProductView.Builder extends GeneratedMessageV3.Builder<PriceCompetitivenessProductView.Builder> implements PriceCompetitivenessProductViewOrBuilder

Fields available for query in price_competitiveness_product_view table.

Price competitiveness report.

Values are only set for fields requested explicitly in the request's search query.

Protobuf type google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PriceCompetitivenessProductView build()
Returns
TypeDescription
PriceCompetitivenessProductView

buildPartial()

public PriceCompetitivenessProductView buildPartial()
Returns
TypeDescription
PriceCompetitivenessProductView

clear()

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

clearBenchmarkPrice()

public PriceCompetitivenessProductView.Builder clearBenchmarkPrice()

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

clearBrand()

public PriceCompetitivenessProductView.Builder clearBrand()

Brand of the product.

optional string brand = 5;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearCategoryL1()

public PriceCompetitivenessProductView.Builder clearCategoryL1()

Product category (1st level) in Google's product taxonomy.

optional string category_l1 = 6;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearCategoryL2()

public PriceCompetitivenessProductView.Builder clearCategoryL2()

Product category (2nd level) in Google's product taxonomy.

optional string category_l2 = 7;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearCategoryL3()

public PriceCompetitivenessProductView.Builder clearCategoryL3()

Product category (3rd level) in Google's product taxonomy.

optional string category_l3 = 8;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearCategoryL4()

public PriceCompetitivenessProductView.Builder clearCategoryL4()

Product category (4th level) in Google's product taxonomy.

optional string category_l4 = 9;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearCategoryL5()

public PriceCompetitivenessProductView.Builder clearCategoryL5()

Product category (5th level) in Google's product taxonomy.

optional string category_l5 = 10;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public PriceCompetitivenessProductView.Builder clearId()

REST ID of the product, in the form of channel~languageCode~feedLabel~offerId. Can be used to join data with the product_view table.

Required in the SELECT clause.

optional string id = 2;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearOfferId()

public PriceCompetitivenessProductView.Builder clearOfferId()

Merchant-provided id of the product.

optional string offer_id = 3;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrice()

public PriceCompetitivenessProductView.Builder clearPrice()

Current price of the product.

.google.shopping.type.Price price = 16;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

clearProductTypeL1()

public PriceCompetitivenessProductView.Builder clearProductTypeL1()

Product type (1st level) in merchant's own product taxonomy.

optional string product_type_l1 = 11;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearProductTypeL2()

public PriceCompetitivenessProductView.Builder clearProductTypeL2()

Product type (2nd level) in merchant's own product taxonomy.

optional string product_type_l2 = 12;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearProductTypeL3()

public PriceCompetitivenessProductView.Builder clearProductTypeL3()

Product type (3rd level) in merchant's own product taxonomy.

optional string product_type_l3 = 13;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearProductTypeL4()

public PriceCompetitivenessProductView.Builder clearProductTypeL4()

Product type (4th level) in merchant's own product taxonomy.

optional string product_type_l4 = 14;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearProductTypeL5()

public PriceCompetitivenessProductView.Builder clearProductTypeL5()

Product type (5th level) in merchant's own product taxonomy.

optional string product_type_l5 = 15;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearReportCountryCode()

public PriceCompetitivenessProductView.Builder clearReportCountryCode()

Country of the price benchmark. Represented in the ISO 3166 format.

Required in the SELECT clause.

optional string report_country_code = 1;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clearTitle()

public PriceCompetitivenessProductView.Builder clearTitle()

Title of the product.

optional string title = 4;

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

clone()

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

getBenchmarkPrice()

public Price getBenchmarkPrice()

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Returns
TypeDescription
com.google.shopping.type.Price

The benchmarkPrice.

getBenchmarkPriceBuilder()

public Price.Builder getBenchmarkPriceBuilder()

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Returns
TypeDescription
com.google.shopping.type.Price.Builder

getBenchmarkPriceOrBuilder()

public PriceOrBuilder getBenchmarkPriceOrBuilder()

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Returns
TypeDescription
com.google.shopping.type.PriceOrBuilder

getBrand()

public String getBrand()

Brand of the product.

optional string brand = 5;

Returns
TypeDescription
String

The brand.

getBrandBytes()

public ByteString getBrandBytes()

Brand of the product.

optional string brand = 5;

Returns
TypeDescription
ByteString

The bytes for brand.

getCategoryL1()

public String getCategoryL1()

Product category (1st level) in Google's product taxonomy.

optional string category_l1 = 6;

Returns
TypeDescription
String

The categoryL1.

getCategoryL1Bytes()

public ByteString getCategoryL1Bytes()

Product category (1st level) in Google's product taxonomy.

optional string category_l1 = 6;

Returns
TypeDescription
ByteString

The bytes for categoryL1.

getCategoryL2()

public String getCategoryL2()

Product category (2nd level) in Google's product taxonomy.

optional string category_l2 = 7;

Returns
TypeDescription
String

The categoryL2.

getCategoryL2Bytes()

public ByteString getCategoryL2Bytes()

Product category (2nd level) in Google's product taxonomy.

optional string category_l2 = 7;

Returns
TypeDescription
ByteString

The bytes for categoryL2.

getCategoryL3()

public String getCategoryL3()

Product category (3rd level) in Google's product taxonomy.

optional string category_l3 = 8;

Returns
TypeDescription
String

The categoryL3.

getCategoryL3Bytes()

public ByteString getCategoryL3Bytes()

Product category (3rd level) in Google's product taxonomy.

optional string category_l3 = 8;

Returns
TypeDescription
ByteString

The bytes for categoryL3.

getCategoryL4()

public String getCategoryL4()

Product category (4th level) in Google's product taxonomy.

optional string category_l4 = 9;

Returns
TypeDescription
String

The categoryL4.

getCategoryL4Bytes()

public ByteString getCategoryL4Bytes()

Product category (4th level) in Google's product taxonomy.

optional string category_l4 = 9;

Returns
TypeDescription
ByteString

The bytes for categoryL4.

getCategoryL5()

public String getCategoryL5()

Product category (5th level) in Google's product taxonomy.

optional string category_l5 = 10;

Returns
TypeDescription
String

The categoryL5.

getCategoryL5Bytes()

public ByteString getCategoryL5Bytes()

Product category (5th level) in Google's product taxonomy.

optional string category_l5 = 10;

Returns
TypeDescription
ByteString

The bytes for categoryL5.

getDefaultInstanceForType()

public PriceCompetitivenessProductView getDefaultInstanceForType()
Returns
TypeDescription
PriceCompetitivenessProductView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

REST ID of the product, in the form of channel~languageCode~feedLabel~offerId. Can be used to join data with the product_view table.

Required in the SELECT clause.

optional string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

REST ID of the product, in the form of channel~languageCode~feedLabel~offerId. Can be used to join data with the product_view table.

Required in the SELECT clause.

optional string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getOfferId()

public String getOfferId()

Merchant-provided id of the product.

optional string offer_id = 3;

Returns
TypeDescription
String

The offerId.

getOfferIdBytes()

public ByteString getOfferIdBytes()

Merchant-provided id of the product.

optional string offer_id = 3;

Returns
TypeDescription
ByteString

The bytes for offerId.

getPrice()

public Price getPrice()

Current price of the product.

.google.shopping.type.Price price = 16;

Returns
TypeDescription
com.google.shopping.type.Price

The price.

getPriceBuilder()

public Price.Builder getPriceBuilder()

Current price of the product.

.google.shopping.type.Price price = 16;

Returns
TypeDescription
com.google.shopping.type.Price.Builder

getPriceOrBuilder()

public PriceOrBuilder getPriceOrBuilder()

Current price of the product.

.google.shopping.type.Price price = 16;

Returns
TypeDescription
com.google.shopping.type.PriceOrBuilder

getProductTypeL1()

public String getProductTypeL1()

Product type (1st level) in merchant's own product taxonomy.

optional string product_type_l1 = 11;

Returns
TypeDescription
String

The productTypeL1.

getProductTypeL1Bytes()

public ByteString getProductTypeL1Bytes()

Product type (1st level) in merchant's own product taxonomy.

optional string product_type_l1 = 11;

Returns
TypeDescription
ByteString

The bytes for productTypeL1.

getProductTypeL2()

public String getProductTypeL2()

Product type (2nd level) in merchant's own product taxonomy.

optional string product_type_l2 = 12;

Returns
TypeDescription
String

The productTypeL2.

getProductTypeL2Bytes()

public ByteString getProductTypeL2Bytes()

Product type (2nd level) in merchant's own product taxonomy.

optional string product_type_l2 = 12;

Returns
TypeDescription
ByteString

The bytes for productTypeL2.

getProductTypeL3()

public String getProductTypeL3()

Product type (3rd level) in merchant's own product taxonomy.

optional string product_type_l3 = 13;

Returns
TypeDescription
String

The productTypeL3.

getProductTypeL3Bytes()

public ByteString getProductTypeL3Bytes()

Product type (3rd level) in merchant's own product taxonomy.

optional string product_type_l3 = 13;

Returns
TypeDescription
ByteString

The bytes for productTypeL3.

getProductTypeL4()

public String getProductTypeL4()

Product type (4th level) in merchant's own product taxonomy.

optional string product_type_l4 = 14;

Returns
TypeDescription
String

The productTypeL4.

getProductTypeL4Bytes()

public ByteString getProductTypeL4Bytes()

Product type (4th level) in merchant's own product taxonomy.

optional string product_type_l4 = 14;

Returns
TypeDescription
ByteString

The bytes for productTypeL4.

getProductTypeL5()

public String getProductTypeL5()

Product type (5th level) in merchant's own product taxonomy.

optional string product_type_l5 = 15;

Returns
TypeDescription
String

The productTypeL5.

getProductTypeL5Bytes()

public ByteString getProductTypeL5Bytes()

Product type (5th level) in merchant's own product taxonomy.

optional string product_type_l5 = 15;

Returns
TypeDescription
ByteString

The bytes for productTypeL5.

getReportCountryCode()

public String getReportCountryCode()

Country of the price benchmark. Represented in the ISO 3166 format.

Required in the SELECT clause.

optional string report_country_code = 1;

Returns
TypeDescription
String

The reportCountryCode.

getReportCountryCodeBytes()

public ByteString getReportCountryCodeBytes()

Country of the price benchmark. Represented in the ISO 3166 format.

Required in the SELECT clause.

optional string report_country_code = 1;

Returns
TypeDescription
ByteString

The bytes for reportCountryCode.

getTitle()

public String getTitle()

Title of the product.

optional string title = 4;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Title of the product.

optional string title = 4;

Returns
TypeDescription
ByteString

The bytes for title.

hasBenchmarkPrice()

public boolean hasBenchmarkPrice()

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Returns
TypeDescription
boolean

Whether the benchmarkPrice field is set.

hasBrand()

public boolean hasBrand()

Brand of the product.

optional string brand = 5;

Returns
TypeDescription
boolean

Whether the brand field is set.

hasCategoryL1()

public boolean hasCategoryL1()

Product category (1st level) in Google's product taxonomy.

optional string category_l1 = 6;

Returns
TypeDescription
boolean

Whether the categoryL1 field is set.

hasCategoryL2()

public boolean hasCategoryL2()

Product category (2nd level) in Google's product taxonomy.

optional string category_l2 = 7;

Returns
TypeDescription
boolean

Whether the categoryL2 field is set.

hasCategoryL3()

public boolean hasCategoryL3()

Product category (3rd level) in Google's product taxonomy.

optional string category_l3 = 8;

Returns
TypeDescription
boolean

Whether the categoryL3 field is set.

hasCategoryL4()

public boolean hasCategoryL4()

Product category (4th level) in Google's product taxonomy.

optional string category_l4 = 9;

Returns
TypeDescription
boolean

Whether the categoryL4 field is set.

hasCategoryL5()

public boolean hasCategoryL5()

Product category (5th level) in Google's product taxonomy.

optional string category_l5 = 10;

Returns
TypeDescription
boolean

Whether the categoryL5 field is set.

hasId()

public boolean hasId()

REST ID of the product, in the form of channel~languageCode~feedLabel~offerId. Can be used to join data with the product_view table.

Required in the SELECT clause.

optional string id = 2;

Returns
TypeDescription
boolean

Whether the id field is set.

hasOfferId()

public boolean hasOfferId()

Merchant-provided id of the product.

optional string offer_id = 3;

Returns
TypeDescription
boolean

Whether the offerId field is set.

hasPrice()

public boolean hasPrice()

Current price of the product.

.google.shopping.type.Price price = 16;

Returns
TypeDescription
boolean

Whether the price field is set.

hasProductTypeL1()

public boolean hasProductTypeL1()

Product type (1st level) in merchant's own product taxonomy.

optional string product_type_l1 = 11;

Returns
TypeDescription
boolean

Whether the productTypeL1 field is set.

hasProductTypeL2()

public boolean hasProductTypeL2()

Product type (2nd level) in merchant's own product taxonomy.

optional string product_type_l2 = 12;

Returns
TypeDescription
boolean

Whether the productTypeL2 field is set.

hasProductTypeL3()

public boolean hasProductTypeL3()

Product type (3rd level) in merchant's own product taxonomy.

optional string product_type_l3 = 13;

Returns
TypeDescription
boolean

Whether the productTypeL3 field is set.

hasProductTypeL4()

public boolean hasProductTypeL4()

Product type (4th level) in merchant's own product taxonomy.

optional string product_type_l4 = 14;

Returns
TypeDescription
boolean

Whether the productTypeL4 field is set.

hasProductTypeL5()

public boolean hasProductTypeL5()

Product type (5th level) in merchant's own product taxonomy.

optional string product_type_l5 = 15;

Returns
TypeDescription
boolean

Whether the productTypeL5 field is set.

hasReportCountryCode()

public boolean hasReportCountryCode()

Country of the price benchmark. Represented in the ISO 3166 format.

Required in the SELECT clause.

optional string report_country_code = 1;

Returns
TypeDescription
boolean

Whether the reportCountryCode field is set.

hasTitle()

public boolean hasTitle()

Title of the product.

optional string title = 4;

Returns
TypeDescription
boolean

Whether the title field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBenchmarkPrice(Price value)

public PriceCompetitivenessProductView.Builder mergeBenchmarkPrice(Price value)

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Parameter
NameDescription
valuecom.google.shopping.type.Price
Returns
TypeDescription
PriceCompetitivenessProductView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(PriceCompetitivenessProductView other)

public PriceCompetitivenessProductView.Builder mergeFrom(PriceCompetitivenessProductView other)
Parameter
NameDescription
otherPriceCompetitivenessProductView
Returns
TypeDescription
PriceCompetitivenessProductView.Builder

mergePrice(Price value)

public PriceCompetitivenessProductView.Builder mergePrice(Price value)

Current price of the product.

.google.shopping.type.Price price = 16;

Parameter
NameDescription
valuecom.google.shopping.type.Price
Returns
TypeDescription
PriceCompetitivenessProductView.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBenchmarkPrice(Price value)

public PriceCompetitivenessProductView.Builder setBenchmarkPrice(Price value)

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Parameter
NameDescription
valuecom.google.shopping.type.Price
Returns
TypeDescription
PriceCompetitivenessProductView.Builder

setBenchmarkPrice(Price.Builder builderForValue)

public PriceCompetitivenessProductView.Builder setBenchmarkPrice(Price.Builder builderForValue)

Latest available price benchmark for the product's catalog in the benchmark country.

.google.shopping.type.Price benchmark_price = 17;

Parameter
NameDescription
builderForValuecom.google.shopping.type.Price.Builder
Returns
TypeDescription
PriceCompetitivenessProductView.Builder

setBrand(String value)

public PriceCompetitivenessProductView.Builder setBrand(String value)

Brand of the product.

optional string brand = 5;

Parameter
NameDescription
valueString

The brand to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setBrandBytes(ByteString value)

public PriceCompetitivenessProductView.Builder setBrandBytes(ByteString value)

Brand of the product.

optional string brand = 5;

Parameter
NameDescription
valueByteString

The bytes for brand to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL1(String value)

public PriceCompetitivenessProductView.Builder setCategoryL1(String value)

Product category (1st level) in Google's product taxonomy.

optional string category_l1 = 6;

Parameter
NameDescription
valueString

The categoryL1 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL1Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setCategoryL1Bytes(ByteString value)

Product category (1st level) in Google's product taxonomy.

optional string category_l1 = 6;

Parameter
NameDescription
valueByteString

The bytes for categoryL1 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL2(String value)

public PriceCompetitivenessProductView.Builder setCategoryL2(String value)

Product category (2nd level) in Google's product taxonomy.

optional string category_l2 = 7;

Parameter
NameDescription
valueString

The categoryL2 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL2Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setCategoryL2Bytes(ByteString value)

Product category (2nd level) in Google's product taxonomy.

optional string category_l2 = 7;

Parameter
NameDescription
valueByteString

The bytes for categoryL2 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL3(String value)

public PriceCompetitivenessProductView.Builder setCategoryL3(String value)

Product category (3rd level) in Google's product taxonomy.

optional string category_l3 = 8;

Parameter
NameDescription
valueString

The categoryL3 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL3Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setCategoryL3Bytes(ByteString value)

Product category (3rd level) in Google's product taxonomy.

optional string category_l3 = 8;

Parameter
NameDescription
valueByteString

The bytes for categoryL3 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL4(String value)

public PriceCompetitivenessProductView.Builder setCategoryL4(String value)

Product category (4th level) in Google's product taxonomy.

optional string category_l4 = 9;

Parameter
NameDescription
valueString

The categoryL4 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL4Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setCategoryL4Bytes(ByteString value)

Product category (4th level) in Google's product taxonomy.

optional string category_l4 = 9;

Parameter
NameDescription
valueByteString

The bytes for categoryL4 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL5(String value)

public PriceCompetitivenessProductView.Builder setCategoryL5(String value)

Product category (5th level) in Google's product taxonomy.

optional string category_l5 = 10;

Parameter
NameDescription
valueString

The categoryL5 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setCategoryL5Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setCategoryL5Bytes(ByteString value)

Product category (5th level) in Google's product taxonomy.

optional string category_l5 = 10;

Parameter
NameDescription
valueByteString

The bytes for categoryL5 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public PriceCompetitivenessProductView.Builder setId(String value)

REST ID of the product, in the form of channel~languageCode~feedLabel~offerId. Can be used to join data with the product_view table.

Required in the SELECT clause.

optional string id = 2;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setIdBytes(ByteString value)

public PriceCompetitivenessProductView.Builder setIdBytes(ByteString value)

REST ID of the product, in the form of channel~languageCode~feedLabel~offerId. Can be used to join data with the product_view table.

Required in the SELECT clause.

optional string id = 2;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setOfferId(String value)

public PriceCompetitivenessProductView.Builder setOfferId(String value)

Merchant-provided id of the product.

optional string offer_id = 3;

Parameter
NameDescription
valueString

The offerId to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setOfferIdBytes(ByteString value)

public PriceCompetitivenessProductView.Builder setOfferIdBytes(ByteString value)

Merchant-provided id of the product.

optional string offer_id = 3;

Parameter
NameDescription
valueByteString

The bytes for offerId to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setPrice(Price value)

public PriceCompetitivenessProductView.Builder setPrice(Price value)

Current price of the product.

.google.shopping.type.Price price = 16;

Parameter
NameDescription
valuecom.google.shopping.type.Price
Returns
TypeDescription
PriceCompetitivenessProductView.Builder

setPrice(Price.Builder builderForValue)

public PriceCompetitivenessProductView.Builder setPrice(Price.Builder builderForValue)

Current price of the product.

.google.shopping.type.Price price = 16;

Parameter
NameDescription
builderForValuecom.google.shopping.type.Price.Builder
Returns
TypeDescription
PriceCompetitivenessProductView.Builder

setProductTypeL1(String value)

public PriceCompetitivenessProductView.Builder setProductTypeL1(String value)

Product type (1st level) in merchant's own product taxonomy.

optional string product_type_l1 = 11;

Parameter
NameDescription
valueString

The productTypeL1 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL1Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setProductTypeL1Bytes(ByteString value)

Product type (1st level) in merchant's own product taxonomy.

optional string product_type_l1 = 11;

Parameter
NameDescription
valueByteString

The bytes for productTypeL1 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL2(String value)

public PriceCompetitivenessProductView.Builder setProductTypeL2(String value)

Product type (2nd level) in merchant's own product taxonomy.

optional string product_type_l2 = 12;

Parameter
NameDescription
valueString

The productTypeL2 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL2Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setProductTypeL2Bytes(ByteString value)

Product type (2nd level) in merchant's own product taxonomy.

optional string product_type_l2 = 12;

Parameter
NameDescription
valueByteString

The bytes for productTypeL2 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL3(String value)

public PriceCompetitivenessProductView.Builder setProductTypeL3(String value)

Product type (3rd level) in merchant's own product taxonomy.

optional string product_type_l3 = 13;

Parameter
NameDescription
valueString

The productTypeL3 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL3Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setProductTypeL3Bytes(ByteString value)

Product type (3rd level) in merchant's own product taxonomy.

optional string product_type_l3 = 13;

Parameter
NameDescription
valueByteString

The bytes for productTypeL3 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL4(String value)

public PriceCompetitivenessProductView.Builder setProductTypeL4(String value)

Product type (4th level) in merchant's own product taxonomy.

optional string product_type_l4 = 14;

Parameter
NameDescription
valueString

The productTypeL4 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL4Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setProductTypeL4Bytes(ByteString value)

Product type (4th level) in merchant's own product taxonomy.

optional string product_type_l4 = 14;

Parameter
NameDescription
valueByteString

The bytes for productTypeL4 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL5(String value)

public PriceCompetitivenessProductView.Builder setProductTypeL5(String value)

Product type (5th level) in merchant's own product taxonomy.

optional string product_type_l5 = 15;

Parameter
NameDescription
valueString

The productTypeL5 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setProductTypeL5Bytes(ByteString value)

public PriceCompetitivenessProductView.Builder setProductTypeL5Bytes(ByteString value)

Product type (5th level) in merchant's own product taxonomy.

optional string product_type_l5 = 15;

Parameter
NameDescription
valueByteString

The bytes for productTypeL5 to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PriceCompetitivenessProductView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PriceCompetitivenessProductView.Builder
Overrides

setReportCountryCode(String value)

public PriceCompetitivenessProductView.Builder setReportCountryCode(String value)

Country of the price benchmark. Represented in the ISO 3166 format.

Required in the SELECT clause.

optional string report_country_code = 1;

Parameter
NameDescription
valueString

The reportCountryCode to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setReportCountryCodeBytes(ByteString value)

public PriceCompetitivenessProductView.Builder setReportCountryCodeBytes(ByteString value)

Country of the price benchmark. Represented in the ISO 3166 format.

Required in the SELECT clause.

optional string report_country_code = 1;

Parameter
NameDescription
valueByteString

The bytes for reportCountryCode to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setTitle(String value)

public PriceCompetitivenessProductView.Builder setTitle(String value)

Title of the product.

optional string title = 4;

Parameter
NameDescription
valueString

The title to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public PriceCompetitivenessProductView.Builder setTitleBytes(ByteString value)

Title of the product.

optional string title = 4;

Parameter
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
PriceCompetitivenessProductView.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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