public static final class PriceInsightsProductView.Builder extends GeneratedMessageV3.Builder<PriceInsightsProductView.Builder> implements PriceInsightsProductViewOrBuilder
Fields available for query in price_insights_product_view
table.
Price insights report.
Values are only set for fields requested explicitly in the request's search query.
Protobuf type google.shopping.merchant.reports.v1beta.PriceInsightsProductView
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PriceInsightsProductView.BuilderImplements
PriceInsightsProductViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PriceInsightsProductView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
build()
public PriceInsightsProductView build()
Returns | |
---|---|
Type | Description |
PriceInsightsProductView |
buildPartial()
public PriceInsightsProductView buildPartial()
Returns | |
---|---|
Type | Description |
PriceInsightsProductView |
clear()
public PriceInsightsProductView.Builder clear()
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
clearBrand()
public PriceInsightsProductView.Builder clearBrand()
Brand of the product.
optional string brand = 4;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearCategoryL1()
public PriceInsightsProductView.Builder clearCategoryL1()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 5;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearCategoryL2()
public PriceInsightsProductView.Builder clearCategoryL2()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 6;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearCategoryL3()
public PriceInsightsProductView.Builder clearCategoryL3()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 7;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearCategoryL4()
public PriceInsightsProductView.Builder clearCategoryL4()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 8;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearCategoryL5()
public PriceInsightsProductView.Builder clearCategoryL5()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 9;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PriceInsightsProductView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
clearId()
public PriceInsightsProductView.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 = 1;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearOfferId()
public PriceInsightsProductView.Builder clearOfferId()
Merchant-provided id of the product.
optional string offer_id = 2;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PriceInsightsProductView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
clearPredictedClicksChangeFraction()
public PriceInsightsProductView.Builder clearPredictedClicksChangeFraction()
Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.
optional double predicted_clicks_change_fraction = 18;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearPredictedConversionsChangeFraction()
public PriceInsightsProductView.Builder clearPredictedConversionsChangeFraction()
Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).
optional double predicted_conversions_change_fraction = 19;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearPredictedImpressionsChangeFraction()
public PriceInsightsProductView.Builder clearPredictedImpressionsChangeFraction()
Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.
optional double predicted_impressions_change_fraction = 17;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearPrice()
public PriceInsightsProductView.Builder clearPrice()
Current price of the product.
.google.shopping.type.Price price = 15;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
clearProductTypeL1()
public PriceInsightsProductView.Builder clearProductTypeL1()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 10;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearProductTypeL2()
public PriceInsightsProductView.Builder clearProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 11;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearProductTypeL3()
public PriceInsightsProductView.Builder clearProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 12;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearProductTypeL4()
public PriceInsightsProductView.Builder clearProductTypeL4()
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 13;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearProductTypeL5()
public PriceInsightsProductView.Builder clearProductTypeL5()
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 14;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clearSuggestedPrice()
public PriceInsightsProductView.Builder clearSuggestedPrice()
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
clearTitle()
public PriceInsightsProductView.Builder clearTitle()
Title of the product.
optional string title = 3;
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
clone()
public PriceInsightsProductView.Builder clone()
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
getBrand()
public String getBrand()
Brand of the product.
optional string brand = 4;
Returns | |
---|---|
Type | Description |
String | The brand. |
getBrandBytes()
public ByteString getBrandBytes()
Brand of the product.
optional string brand = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for brand. |
getCategoryL1()
public String getCategoryL1()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 5;
Returns | |
---|---|
Type | Description |
String | The categoryL1. |
getCategoryL1Bytes()
public ByteString getCategoryL1Bytes()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL1. |
getCategoryL2()
public String getCategoryL2()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 6;
Returns | |
---|---|
Type | Description |
String | The categoryL2. |
getCategoryL2Bytes()
public ByteString getCategoryL2Bytes()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL2. |
getCategoryL3()
public String getCategoryL3()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 7;
Returns | |
---|---|
Type | Description |
String | The categoryL3. |
getCategoryL3Bytes()
public ByteString getCategoryL3Bytes()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL3. |
getCategoryL4()
public String getCategoryL4()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 8;
Returns | |
---|---|
Type | Description |
String | The categoryL4. |
getCategoryL4Bytes()
public ByteString getCategoryL4Bytes()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL4. |
getCategoryL5()
public String getCategoryL5()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 9;
Returns | |
---|---|
Type | Description |
String | The categoryL5. |
getCategoryL5Bytes()
public ByteString getCategoryL5Bytes()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 9;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL5. |
getDefaultInstanceForType()
public PriceInsightsProductView getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PriceInsightsProductView |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 = 1;
Returns | |
---|---|
Type | Description |
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 = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getOfferId()
public String getOfferId()
Merchant-provided id of the product.
optional string offer_id = 2;
Returns | |
---|---|
Type | Description |
String | The offerId. |
getOfferIdBytes()
public ByteString getOfferIdBytes()
Merchant-provided id of the product.
optional string offer_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for offerId. |
getPredictedClicksChangeFraction()
public double getPredictedClicksChangeFraction()
Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.
optional double predicted_clicks_change_fraction = 18;
Returns | |
---|---|
Type | Description |
double | The predictedClicksChangeFraction. |
getPredictedConversionsChangeFraction()
public double getPredictedConversionsChangeFraction()
Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).
optional double predicted_conversions_change_fraction = 19;
Returns | |
---|---|
Type | Description |
double | The predictedConversionsChangeFraction. |
getPredictedImpressionsChangeFraction()
public double getPredictedImpressionsChangeFraction()
Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.
optional double predicted_impressions_change_fraction = 17;
Returns | |
---|---|
Type | Description |
double | The predictedImpressionsChangeFraction. |
getPrice()
public Price getPrice()
Current price of the product.
.google.shopping.type.Price price = 15;
Returns | |
---|---|
Type | Description |
Price | The price. |
getPriceBuilder()
public Price.Builder getPriceBuilder()
Current price of the product.
.google.shopping.type.Price price = 15;
Returns | |
---|---|
Type | Description |
Price.Builder |
getPriceOrBuilder()
public PriceOrBuilder getPriceOrBuilder()
Current price of the product.
.google.shopping.type.Price price = 15;
Returns | |
---|---|
Type | Description |
PriceOrBuilder |
getProductTypeL1()
public String getProductTypeL1()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 10;
Returns | |
---|---|
Type | Description |
String | The productTypeL1. |
getProductTypeL1Bytes()
public ByteString getProductTypeL1Bytes()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 10;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL1. |
getProductTypeL2()
public String getProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 11;
Returns | |
---|---|
Type | Description |
String | The productTypeL2. |
getProductTypeL2Bytes()
public ByteString getProductTypeL2Bytes()
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL2. |
getProductTypeL3()
public String getProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 12;
Returns | |
---|---|
Type | Description |
String | The productTypeL3. |
getProductTypeL3Bytes()
public ByteString getProductTypeL3Bytes()
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 12;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL3. |
getProductTypeL4()
public String getProductTypeL4()
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 13;
Returns | |
---|---|
Type | Description |
String | The productTypeL4. |
getProductTypeL4Bytes()
public ByteString getProductTypeL4Bytes()
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 13;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL4. |
getProductTypeL5()
public String getProductTypeL5()
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 14;
Returns | |
---|---|
Type | Description |
String | The productTypeL5. |
getProductTypeL5Bytes()
public ByteString getProductTypeL5Bytes()
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 14;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL5. |
getSuggestedPrice()
public Price getSuggestedPrice()
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Returns | |
---|---|
Type | Description |
Price | The suggestedPrice. |
getSuggestedPriceBuilder()
public Price.Builder getSuggestedPriceBuilder()
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Returns | |
---|---|
Type | Description |
Price.Builder |
getSuggestedPriceOrBuilder()
public PriceOrBuilder getSuggestedPriceOrBuilder()
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Returns | |
---|---|
Type | Description |
PriceOrBuilder |
getTitle()
public String getTitle()
Title of the product.
optional string title = 3;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Title of the product.
optional string title = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
hasBrand()
public boolean hasBrand()
Brand of the product.
optional string brand = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the brand field is set. |
hasCategoryL1()
public boolean hasCategoryL1()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL1 field is set. |
hasCategoryL2()
public boolean hasCategoryL2()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL2 field is set. |
hasCategoryL3()
public boolean hasCategoryL3()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL3 field is set. |
hasCategoryL4()
public boolean hasCategoryL4()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL4 field is set. |
hasCategoryL5()
public boolean hasCategoryL5()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 9;
Returns | |
---|---|
Type | Description |
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 = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the id field is set. |
hasOfferId()
public boolean hasOfferId()
Merchant-provided id of the product.
optional string offer_id = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the offerId field is set. |
hasPredictedClicksChangeFraction()
public boolean hasPredictedClicksChangeFraction()
Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.
optional double predicted_clicks_change_fraction = 18;
Returns | |
---|---|
Type | Description |
boolean | Whether the predictedClicksChangeFraction field is set. |
hasPredictedConversionsChangeFraction()
public boolean hasPredictedConversionsChangeFraction()
Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).
optional double predicted_conversions_change_fraction = 19;
Returns | |
---|---|
Type | Description |
boolean | Whether the predictedConversionsChangeFraction field is set. |
hasPredictedImpressionsChangeFraction()
public boolean hasPredictedImpressionsChangeFraction()
Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.
optional double predicted_impressions_change_fraction = 17;
Returns | |
---|---|
Type | Description |
boolean | Whether the predictedImpressionsChangeFraction field is set. |
hasPrice()
public boolean hasPrice()
Current price of the product.
.google.shopping.type.Price price = 15;
Returns | |
---|---|
Type | Description |
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 = 10;
Returns | |
---|---|
Type | Description |
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 = 11;
Returns | |
---|---|
Type | Description |
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 = 12;
Returns | |
---|---|
Type | Description |
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 = 13;
Returns | |
---|---|
Type | Description |
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 = 14;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL5 field is set. |
hasSuggestedPrice()
public boolean hasSuggestedPrice()
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Returns | |
---|---|
Type | Description |
boolean | Whether the suggestedPrice field is set. |
hasTitle()
public boolean hasTitle()
Title of the product.
optional string title = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the title 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 PriceInsightsProductView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PriceInsightsProductView.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
mergeFrom(PriceInsightsProductView other)
public PriceInsightsProductView.Builder mergeFrom(PriceInsightsProductView other)
Parameter | |
---|---|
Name | Description |
other | PriceInsightsProductView |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
mergePrice(Price value)
public PriceInsightsProductView.Builder mergePrice(Price value)
Current price of the product.
.google.shopping.type.Price price = 15;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
mergeSuggestedPrice(Price value)
public PriceInsightsProductView.Builder mergeSuggestedPrice(Price value)
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PriceInsightsProductView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
setBrand(String value)
public PriceInsightsProductView.Builder setBrand(String value)
Brand of the product.
optional string brand = 4;
Parameter | |
---|---|
Name | Description |
value | String The brand to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setBrandBytes(ByteString value)
public PriceInsightsProductView.Builder setBrandBytes(ByteString value)
Brand of the product.
optional string brand = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for brand to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL1(String value)
public PriceInsightsProductView.Builder setCategoryL1(String value)
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 5;
Parameter | |
---|---|
Name | Description |
value | String The categoryL1 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL1Bytes(ByteString value)
public PriceInsightsProductView.Builder setCategoryL1Bytes(ByteString value)
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL1 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL2(String value)
public PriceInsightsProductView.Builder setCategoryL2(String value)
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 6;
Parameter | |
---|---|
Name | Description |
value | String The categoryL2 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL2Bytes(ByteString value)
public PriceInsightsProductView.Builder setCategoryL2Bytes(ByteString value)
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL2 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL3(String value)
public PriceInsightsProductView.Builder setCategoryL3(String value)
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 7;
Parameter | |
---|---|
Name | Description |
value | String The categoryL3 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL3Bytes(ByteString value)
public PriceInsightsProductView.Builder setCategoryL3Bytes(ByteString value)
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL3 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL4(String value)
public PriceInsightsProductView.Builder setCategoryL4(String value)
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 8;
Parameter | |
---|---|
Name | Description |
value | String The categoryL4 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL4Bytes(ByteString value)
public PriceInsightsProductView.Builder setCategoryL4Bytes(ByteString value)
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 8;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL4 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL5(String value)
public PriceInsightsProductView.Builder setCategoryL5(String value)
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 9;
Parameter | |
---|---|
Name | Description |
value | String The categoryL5 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setCategoryL5Bytes(ByteString value)
public PriceInsightsProductView.Builder setCategoryL5Bytes(ByteString value)
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 9;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL5 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PriceInsightsProductView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
setId(String value)
public PriceInsightsProductView.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 = 1;
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public PriceInsightsProductView.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 = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setOfferId(String value)
public PriceInsightsProductView.Builder setOfferId(String value)
Merchant-provided id of the product.
optional string offer_id = 2;
Parameter | |
---|---|
Name | Description |
value | String The offerId to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setOfferIdBytes(ByteString value)
public PriceInsightsProductView.Builder setOfferIdBytes(ByteString value)
Merchant-provided id of the product.
optional string offer_id = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for offerId to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setPredictedClicksChangeFraction(double value)
public PriceInsightsProductView.Builder setPredictedClicksChangeFraction(double value)
Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.
optional double predicted_clicks_change_fraction = 18;
Parameter | |
---|---|
Name | Description |
value | double The predictedClicksChangeFraction to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setPredictedConversionsChangeFraction(double value)
public PriceInsightsProductView.Builder setPredictedConversionsChangeFraction(double value)
Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).
optional double predicted_conversions_change_fraction = 19;
Parameter | |
---|---|
Name | Description |
value | double The predictedConversionsChangeFraction to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setPredictedImpressionsChangeFraction(double value)
public PriceInsightsProductView.Builder setPredictedImpressionsChangeFraction(double value)
Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.
optional double predicted_impressions_change_fraction = 17;
Parameter | |
---|---|
Name | Description |
value | double The predictedImpressionsChangeFraction to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setPrice(Price value)
public PriceInsightsProductView.Builder setPrice(Price value)
Current price of the product.
.google.shopping.type.Price price = 15;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
setPrice(Price.Builder builderForValue)
public PriceInsightsProductView.Builder setPrice(Price.Builder builderForValue)
Current price of the product.
.google.shopping.type.Price price = 15;
Parameter | |
---|---|
Name | Description |
builderForValue | Price.Builder |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
setProductTypeL1(String value)
public PriceInsightsProductView.Builder setProductTypeL1(String value)
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 10;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL1 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL1Bytes(ByteString value)
public PriceInsightsProductView.Builder setProductTypeL1Bytes(ByteString value)
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 10;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL1 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL2(String value)
public PriceInsightsProductView.Builder setProductTypeL2(String value)
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 11;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL2 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL2Bytes(ByteString value)
public PriceInsightsProductView.Builder setProductTypeL2Bytes(ByteString value)
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 11;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL2 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL3(String value)
public PriceInsightsProductView.Builder setProductTypeL3(String value)
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 12;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL3 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL3Bytes(ByteString value)
public PriceInsightsProductView.Builder setProductTypeL3Bytes(ByteString value)
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 12;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL3 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL4(String value)
public PriceInsightsProductView.Builder setProductTypeL4(String value)
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 13;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL4 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL4Bytes(ByteString value)
public PriceInsightsProductView.Builder setProductTypeL4Bytes(ByteString value)
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 13;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL4 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL5(String value)
public PriceInsightsProductView.Builder setProductTypeL5(String value)
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 14;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL5 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setProductTypeL5Bytes(ByteString value)
public PriceInsightsProductView.Builder setProductTypeL5Bytes(ByteString value)
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 14;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL5 to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PriceInsightsProductView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
setSuggestedPrice(Price value)
public PriceInsightsProductView.Builder setSuggestedPrice(Price value)
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
setSuggestedPrice(Price.Builder builderForValue)
public PriceInsightsProductView.Builder setSuggestedPrice(Price.Builder builderForValue)
Latest suggested price for the product.
.google.shopping.type.Price suggested_price = 16;
Parameter | |
---|---|
Name | Description |
builderForValue | Price.Builder |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |
setTitle(String value)
public PriceInsightsProductView.Builder setTitle(String value)
Title of the product.
optional string title = 3;
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public PriceInsightsProductView.Builder setTitleBytes(ByteString value)
Title of the product.
optional string title = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PriceInsightsProductView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PriceInsightsProductView.Builder |