public static final class ProductView.Builder extends GeneratedMessageV3.Builder<ProductView.Builder> implements ProductViewOrBuilder
Fields available for query in product_view
table.
Products in the current inventory. Products in this table are the same as in
Products sub-API but not all product attributes from Products sub-API are
available for query in this table. In contrast to Products sub-API, this
table allows to filter the returned list of products by product attributes.
To retrieve a single product by id
or list all products, Products sub-API
should be used.
Values are only set for fields requested explicitly in the request's search query.
Protobuf type google.shopping.merchant.reports.v1beta.ProductView
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProductView.BuilderImplements
ProductViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllGtin(Iterable<String> values)
public ProductView.Builder addAllGtin(Iterable<String> values)
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The gtin to add. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
addAllItemIssues(Iterable<? extends ProductView.ItemIssue> values)
public ProductView.Builder addAllItemIssues(Iterable<? extends ProductView.ItemIssue> values)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue> |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
addGtin(String value)
public ProductView.Builder addGtin(String value)
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Parameter | |
---|---|
Name | Description |
value | String The gtin to add. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
addGtinBytes(ByteString value)
public ProductView.Builder addGtinBytes(ByteString value)
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the gtin to add. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
addItemIssues(ProductView.ItemIssue value)
public ProductView.Builder addItemIssues(ProductView.ItemIssue value)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
value | ProductView.ItemIssue |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
addItemIssues(ProductView.ItemIssue.Builder builderForValue)
public ProductView.Builder addItemIssues(ProductView.ItemIssue.Builder builderForValue)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
builderForValue | ProductView.ItemIssue.Builder |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
addItemIssues(int index, ProductView.ItemIssue value)
public ProductView.Builder addItemIssues(int index, ProductView.ItemIssue value)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameters | |
---|---|
Name | Description |
index | int |
value | ProductView.ItemIssue |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
addItemIssues(int index, ProductView.ItemIssue.Builder builderForValue)
public ProductView.Builder addItemIssues(int index, ProductView.ItemIssue.Builder builderForValue)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ProductView.ItemIssue.Builder |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
addItemIssuesBuilder()
public ProductView.ItemIssue.Builder addItemIssuesBuilder()
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Returns | |
---|---|
Type | Description |
ProductView.ItemIssue.Builder |
addItemIssuesBuilder(int index)
public ProductView.ItemIssue.Builder addItemIssuesBuilder(int index)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ProductView.ItemIssue.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
build()
public ProductView build()
Returns | |
---|---|
Type | Description |
ProductView |
buildPartial()
public ProductView buildPartial()
Returns | |
---|---|
Type | Description |
ProductView |
clear()
public ProductView.Builder clear()
Returns | |
---|---|
Type | Description |
ProductView.Builder |
clearAggregatedDestinationStatus()
public ProductView.Builder clearAggregatedDestinationStatus()
Aggregated destination status.
optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearAvailability()
public ProductView.Builder clearAvailability()
Availability of the product.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearBrand()
public ProductView.Builder clearBrand()
Brand of the product.
optional string brand = 6;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearCategoryL1()
public ProductView.Builder clearCategoryL1()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 7;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearCategoryL2()
public ProductView.Builder clearCategoryL2()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 8;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearCategoryL3()
public ProductView.Builder clearCategoryL3()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 9;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearCategoryL4()
public ProductView.Builder clearCategoryL4()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 10;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearCategoryL5()
public ProductView.Builder clearCategoryL5()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 11;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearCondition()
public ProductView.Builder clearCondition()
Condition of the product.
optional string condition = 18;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearCreationTime()
public ProductView.Builder clearCreationTime()
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Returns | |
---|---|
Type | Description |
ProductView.Builder |
clearExpirationDate()
public ProductView.Builder clearExpirationDate()
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Returns | |
---|---|
Type | Description |
ProductView.Builder |
clearFeedLabel()
public ProductView.Builder clearFeedLabel()
Feed label of the product.
optional string feed_label = 3;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ProductView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
clearGtin()
public ProductView.Builder clearGtin()
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearId()
public ProductView.Builder clearId()
REST ID of the product, in the form of languageCode~feedLabel~offerId.
Merchant API methods that operate on products take this as their name
parameter.
Required in the SELECT
clause.
optional string id = 1;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearItemGroupId()
public ProductView.Builder clearItemGroupId()
Item group id provided by the merchant for grouping variants together.
optional string item_group_id = 22;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearItemIssues()
public ProductView.Builder clearItemIssues()
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Returns | |
---|---|
Type | Description |
ProductView.Builder |
clearLanguageCode()
public ProductView.Builder clearLanguageCode()
Language code of the product in BCP 47 format.
optional string language_code = 2;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearOfferId()
public ProductView.Builder clearOfferId()
Merchant-provided id of the product.
optional string offer_id = 4;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProductView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
clearPrice()
public ProductView.Builder clearPrice()
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
Returns | |
---|---|
Type | Description |
ProductView.Builder |
clearProductTypeL1()
public ProductView.Builder clearProductTypeL1()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 12;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearProductTypeL2()
public ProductView.Builder clearProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 13;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearProductTypeL3()
public ProductView.Builder clearProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 14;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearProductTypeL4()
public ProductView.Builder clearProductTypeL4()
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 15;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearProductTypeL5()
public ProductView.Builder clearProductTypeL5()
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 16;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearShippingLabel()
public ProductView.Builder clearShippingLabel()
Normalized shipping label specified in the feed.
optional string shipping_label = 20;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearThumbnailLink()
public ProductView.Builder clearThumbnailLink()
Link to the processed image of the product, hosted on the Google infrastructure.
optional string thumbnail_link = 23;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clearTitle()
public ProductView.Builder clearTitle()
Title of the product.
optional string title = 5;
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
clone()
public ProductView.Builder clone()
Returns | |
---|---|
Type | Description |
ProductView.Builder |
getAggregatedDestinationStatus()
public ProductView.AggregatedDestinationStatus getAggregatedDestinationStatus()
Aggregated destination status.
optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;
Returns | |
---|---|
Type | Description |
ProductView.AggregatedDestinationStatus | The aggregatedDestinationStatus. |
getAggregatedDestinationStatusValue()
public int getAggregatedDestinationStatusValue()
Aggregated destination status.
optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for aggregatedDestinationStatus. |
getAvailability()
public String getAvailability()
Availability of the product.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
String | The availability. |
getAvailabilityBytes()
public ByteString getAvailabilityBytes()
Availability of the product.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for availability. |
getBrand()
public String getBrand()
Brand of the product.
optional string brand = 6;
Returns | |
---|---|
Type | Description |
String | The brand. |
getBrandBytes()
public ByteString getBrandBytes()
Brand of the product.
optional string brand = 6;
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 = 7;
Returns | |
---|---|
Type | Description |
String | The categoryL1. |
getCategoryL1Bytes()
public ByteString getCategoryL1Bytes()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 7;
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 = 8;
Returns | |
---|---|
Type | Description |
String | The categoryL2. |
getCategoryL2Bytes()
public ByteString getCategoryL2Bytes()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 8;
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 = 9;
Returns | |
---|---|
Type | Description |
String | The categoryL3. |
getCategoryL3Bytes()
public ByteString getCategoryL3Bytes()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 9;
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 = 10;
Returns | |
---|---|
Type | Description |
String | The categoryL4. |
getCategoryL4Bytes()
public ByteString getCategoryL4Bytes()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 10;
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 = 11;
Returns | |
---|---|
Type | Description |
String | The categoryL5. |
getCategoryL5Bytes()
public ByteString getCategoryL5Bytes()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL5. |
getCondition()
public String getCondition()
Condition of the product.
optional string condition = 18;
Returns | |
---|---|
Type | Description |
String | The condition. |
getConditionBytes()
public ByteString getConditionBytes()
Condition of the product.
optional string condition = 18;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for condition. |
getCreationTime()
public Timestamp getCreationTime()
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Returns | |
---|---|
Type | Description |
Timestamp | The creationTime. |
getCreationTimeBuilder()
public Timestamp.Builder getCreationTimeBuilder()
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Returns | |
---|---|
Type | Description |
Builder |
getCreationTimeOrBuilder()
public TimestampOrBuilder getCreationTimeOrBuilder()
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public ProductView getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProductView |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpirationDate()
public Date getExpirationDate()
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The expirationDate. |
getExpirationDateBuilder()
public Date.Builder getExpirationDateBuilder()
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getExpirationDateOrBuilder()
public DateOrBuilder getExpirationDateOrBuilder()
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getFeedLabel()
public String getFeedLabel()
Feed label of the product.
optional string feed_label = 3;
Returns | |
---|---|
Type | Description |
String | The feedLabel. |
getFeedLabelBytes()
public ByteString getFeedLabelBytes()
Feed label of the product.
optional string feed_label = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for feedLabel. |
getGtin(int index)
public String getGtin(int index)
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The gtin at the given index. |
getGtinBytes(int index)
public ByteString getGtinBytes(int index)
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the gtin at the given index. |
getGtinCount()
public int getGtinCount()
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Returns | |
---|---|
Type | Description |
int | The count of gtin. |
getGtinList()
public ProtocolStringList getGtinList()
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the gtin. |
getId()
public String getId()
REST ID of the product, in the form of languageCode~feedLabel~offerId.
Merchant API methods that operate on products take this as their name
parameter.
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 languageCode~feedLabel~offerId.
Merchant API methods that operate on products take this as their name
parameter.
Required in the SELECT
clause.
optional string id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getItemGroupId()
public String getItemGroupId()
Item group id provided by the merchant for grouping variants together.
optional string item_group_id = 22;
Returns | |
---|---|
Type | Description |
String | The itemGroupId. |
getItemGroupIdBytes()
public ByteString getItemGroupIdBytes()
Item group id provided by the merchant for grouping variants together.
optional string item_group_id = 22;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for itemGroupId. |
getItemIssues(int index)
public ProductView.ItemIssue getItemIssues(int index)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ProductView.ItemIssue |
getItemIssuesBuilder(int index)
public ProductView.ItemIssue.Builder getItemIssuesBuilder(int index)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ProductView.ItemIssue.Builder |
getItemIssuesBuilderList()
public List<ProductView.ItemIssue.Builder> getItemIssuesBuilderList()
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Returns | |
---|---|
Type | Description |
List<Builder> |
getItemIssuesCount()
public int getItemIssuesCount()
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Returns | |
---|---|
Type | Description |
int |
getItemIssuesList()
public List<ProductView.ItemIssue> getItemIssuesList()
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Returns | |
---|---|
Type | Description |
List<ItemIssue> |
getItemIssuesOrBuilder(int index)
public ProductView.ItemIssueOrBuilder getItemIssuesOrBuilder(int index)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ProductView.ItemIssueOrBuilder |
getItemIssuesOrBuilderList()
public List<? extends ProductView.ItemIssueOrBuilder> getItemIssuesOrBuilderList()
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssueOrBuilder> |
getLanguageCode()
public String getLanguageCode()
Language code of the product in BCP 47 format.
optional string language_code = 2;
Returns | |
---|---|
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Language code of the product in BCP 47 format.
optional string language_code = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for languageCode. |
getOfferId()
public String getOfferId()
Merchant-provided id of the product.
optional string offer_id = 4;
Returns | |
---|---|
Type | Description |
String | The offerId. |
getOfferIdBytes()
public ByteString getOfferIdBytes()
Merchant-provided id of the product.
optional string offer_id = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for offerId. |
getPrice()
public Price getPrice()
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
Returns | |
---|---|
Type | Description |
Price | The price. |
getPriceBuilder()
public Price.Builder getPriceBuilder()
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
Returns | |
---|---|
Type | Description |
Price.Builder |
getPriceOrBuilder()
public PriceOrBuilder getPriceOrBuilder()
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
Returns | |
---|---|
Type | Description |
PriceOrBuilder |
getProductTypeL1()
public String getProductTypeL1()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 12;
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 = 12;
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 = 13;
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 = 13;
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 = 14;
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 = 14;
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 = 15;
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 = 15;
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 = 16;
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 = 16;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL5. |
getShippingLabel()
public String getShippingLabel()
Normalized shipping label specified in the feed.
optional string shipping_label = 20;
Returns | |
---|---|
Type | Description |
String | The shippingLabel. |
getShippingLabelBytes()
public ByteString getShippingLabelBytes()
Normalized shipping label specified in the feed.
optional string shipping_label = 20;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for shippingLabel. |
getThumbnailLink()
public String getThumbnailLink()
Link to the processed image of the product, hosted on the Google infrastructure.
optional string thumbnail_link = 23;
Returns | |
---|---|
Type | Description |
String | The thumbnailLink. |
getThumbnailLinkBytes()
public ByteString getThumbnailLinkBytes()
Link to the processed image of the product, hosted on the Google infrastructure.
optional string thumbnail_link = 23;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for thumbnailLink. |
getTitle()
public String getTitle()
Title of the product.
optional string title = 5;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Title of the product.
optional string title = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
hasAggregatedDestinationStatus()
public boolean hasAggregatedDestinationStatus()
Aggregated destination status.
optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;
Returns | |
---|---|
Type | Description |
boolean | Whether the aggregatedDestinationStatus field is set. |
hasAvailability()
public boolean hasAvailability()
Availability of the product.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
boolean | Whether the availability field is set. |
hasBrand()
public boolean hasBrand()
Brand of the product.
optional string brand = 6;
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 = 7;
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 = 8;
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 = 9;
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 = 10;
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 = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL5 field is set. |
hasCondition()
public boolean hasCondition()
Condition of the product.
optional string condition = 18;
Returns | |
---|---|
Type | Description |
boolean | Whether the condition field is set. |
hasCreationTime()
public boolean hasCreationTime()
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Returns | |
---|---|
Type | Description |
boolean | Whether the creationTime field is set. |
hasExpirationDate()
public boolean hasExpirationDate()
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Returns | |
---|---|
Type | Description |
boolean | Whether the expirationDate field is set. |
hasFeedLabel()
public boolean hasFeedLabel()
Feed label of the product.
optional string feed_label = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the feedLabel field is set. |
hasId()
public boolean hasId()
REST ID of the product, in the form of languageCode~feedLabel~offerId.
Merchant API methods that operate on products take this as their name
parameter.
Required in the SELECT
clause.
optional string id = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the id field is set. |
hasItemGroupId()
public boolean hasItemGroupId()
Item group id provided by the merchant for grouping variants together.
optional string item_group_id = 22;
Returns | |
---|---|
Type | Description |
boolean | Whether the itemGroupId field is set. |
hasLanguageCode()
public boolean hasLanguageCode()
Language code of the product in BCP 47 format.
optional string language_code = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the languageCode field is set. |
hasOfferId()
public boolean hasOfferId()
Merchant-provided id of the product.
optional string offer_id = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the offerId field is set. |
hasPrice()
public boolean hasPrice()
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
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 = 12;
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 = 13;
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 = 14;
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 = 15;
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 = 16;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL5 field is set. |
hasShippingLabel()
public boolean hasShippingLabel()
Normalized shipping label specified in the feed.
optional string shipping_label = 20;
Returns | |
---|---|
Type | Description |
boolean | Whether the shippingLabel field is set. |
hasThumbnailLink()
public boolean hasThumbnailLink()
Link to the processed image of the product, hosted on the Google infrastructure.
optional string thumbnail_link = 23;
Returns | |
---|---|
Type | Description |
boolean | Whether the thumbnailLink field is set. |
hasTitle()
public boolean hasTitle()
Title of the product.
optional string title = 5;
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 |
mergeCreationTime(Timestamp value)
public ProductView.Builder mergeCreationTime(Timestamp value)
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
mergeExpirationDate(Date value)
public ProductView.Builder mergeExpirationDate(Date value)
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProductView.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
mergeFrom(ProductView other)
public ProductView.Builder mergeFrom(ProductView other)
Parameter | |
---|---|
Name | Description |
other | ProductView |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
mergePrice(Price value)
public ProductView.Builder mergePrice(Price value)
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProductView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
removeItemIssues(int index)
public ProductView.Builder removeItemIssues(int index)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setAggregatedDestinationStatus(ProductView.AggregatedDestinationStatus value)
public ProductView.Builder setAggregatedDestinationStatus(ProductView.AggregatedDestinationStatus value)
Aggregated destination status.
optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;
Parameter | |
---|---|
Name | Description |
value | ProductView.AggregatedDestinationStatus The aggregatedDestinationStatus to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setAggregatedDestinationStatusValue(int value)
public ProductView.Builder setAggregatedDestinationStatusValue(int value)
Aggregated destination status.
optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for aggregatedDestinationStatus to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setAvailability(String value)
public ProductView.Builder setAvailability(String value)
Availability of the product.
optional string availability = 19;
Parameter | |
---|---|
Name | Description |
value | String The availability to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setAvailabilityBytes(ByteString value)
public ProductView.Builder setAvailabilityBytes(ByteString value)
Availability of the product.
optional string availability = 19;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for availability to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setBrand(String value)
public ProductView.Builder setBrand(String value)
Brand of the product.
optional string brand = 6;
Parameter | |
---|---|
Name | Description |
value | String The brand to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setBrandBytes(ByteString value)
public ProductView.Builder setBrandBytes(ByteString value)
Brand of the product.
optional string brand = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for brand to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL1(String value)
public ProductView.Builder setCategoryL1(String value)
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 7;
Parameter | |
---|---|
Name | Description |
value | String The categoryL1 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL1Bytes(ByteString value)
public ProductView.Builder setCategoryL1Bytes(ByteString value)
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL1 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL2(String value)
public ProductView.Builder setCategoryL2(String value)
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 8;
Parameter | |
---|---|
Name | Description |
value | String The categoryL2 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL2Bytes(ByteString value)
public ProductView.Builder setCategoryL2Bytes(ByteString value)
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 8;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL2 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL3(String value)
public ProductView.Builder setCategoryL3(String value)
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 9;
Parameter | |
---|---|
Name | Description |
value | String The categoryL3 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL3Bytes(ByteString value)
public ProductView.Builder setCategoryL3Bytes(ByteString value)
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 9;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL3 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL4(String value)
public ProductView.Builder setCategoryL4(String value)
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 10;
Parameter | |
---|---|
Name | Description |
value | String The categoryL4 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL4Bytes(ByteString value)
public ProductView.Builder setCategoryL4Bytes(ByteString value)
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 10;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL4 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL5(String value)
public ProductView.Builder setCategoryL5(String value)
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 11;
Parameter | |
---|---|
Name | Description |
value | String The categoryL5 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCategoryL5Bytes(ByteString value)
public ProductView.Builder setCategoryL5Bytes(ByteString value)
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 11;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL5 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCondition(String value)
public ProductView.Builder setCondition(String value)
Condition of the product.
optional string condition = 18;
Parameter | |
---|---|
Name | Description |
value | String The condition to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setConditionBytes(ByteString value)
public ProductView.Builder setConditionBytes(ByteString value)
Condition of the product.
optional string condition = 18;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for condition to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setCreationTime(Timestamp value)
public ProductView.Builder setCreationTime(Timestamp value)
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setCreationTime(Timestamp.Builder builderForValue)
public ProductView.Builder setCreationTime(Timestamp.Builder builderForValue)
The time the merchant created the product in timestamp seconds.
.google.protobuf.Timestamp creation_time = 24;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setExpirationDate(Date value)
public ProductView.Builder setExpirationDate(Date value)
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setExpirationDate(Date.Builder builderForValue)
public ProductView.Builder setExpirationDate(Date.Builder builderForValue)
Expiration date for the product, specified on insertion.
.google.type.Date expiration_date = 25;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setFeedLabel(String value)
public ProductView.Builder setFeedLabel(String value)
Feed label of the product.
optional string feed_label = 3;
Parameter | |
---|---|
Name | Description |
value | String The feedLabel to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setFeedLabelBytes(ByteString value)
public ProductView.Builder setFeedLabelBytes(ByteString value)
Feed label of the product.
optional string feed_label = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for feedLabel to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ProductView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setGtin(int index, String value)
public ProductView.Builder setGtin(int index, String value)
List of Global Trade Item Numbers (GTINs) of the product.
repeated string gtin = 21;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The gtin to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setId(String value)
public ProductView.Builder setId(String value)
REST ID of the product, in the form of languageCode~feedLabel~offerId.
Merchant API methods that operate on products take this as their name
parameter.
Required in the SELECT
clause.
optional string id = 1;
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public ProductView.Builder setIdBytes(ByteString value)
REST ID of the product, in the form of languageCode~feedLabel~offerId.
Merchant API methods that operate on products take this as their name
parameter.
Required in the SELECT
clause.
optional string id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setItemGroupId(String value)
public ProductView.Builder setItemGroupId(String value)
Item group id provided by the merchant for grouping variants together.
optional string item_group_id = 22;
Parameter | |
---|---|
Name | Description |
value | String The itemGroupId to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setItemGroupIdBytes(ByteString value)
public ProductView.Builder setItemGroupIdBytes(ByteString value)
Item group id provided by the merchant for grouping variants together.
optional string item_group_id = 22;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for itemGroupId to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setItemIssues(int index, ProductView.ItemIssue value)
public ProductView.Builder setItemIssues(int index, ProductView.ItemIssue value)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameters | |
---|---|
Name | Description |
index | int |
value | ProductView.ItemIssue |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setItemIssues(int index, ProductView.ItemIssue.Builder builderForValue)
public ProductView.Builder setItemIssues(int index, ProductView.ItemIssue.Builder builderForValue)
List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity
) can be used for filtering the
results.
repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ProductView.ItemIssue.Builder |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setLanguageCode(String value)
public ProductView.Builder setLanguageCode(String value)
Language code of the product in BCP 47 format.
optional string language_code = 2;
Parameter | |
---|---|
Name | Description |
value | String The languageCode to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public ProductView.Builder setLanguageCodeBytes(ByteString value)
Language code of the product in BCP 47 format.
optional string language_code = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setOfferId(String value)
public ProductView.Builder setOfferId(String value)
Merchant-provided id of the product.
optional string offer_id = 4;
Parameter | |
---|---|
Name | Description |
value | String The offerId to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setOfferIdBytes(ByteString value)
public ProductView.Builder setOfferIdBytes(ByteString value)
Merchant-provided id of the product.
optional string offer_id = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for offerId to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setPrice(Price value)
public ProductView.Builder setPrice(Price value)
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setPrice(Price.Builder builderForValue)
public ProductView.Builder setPrice(Price.Builder builderForValue)
Product price. Absent if the information about the price of the product is not available.
.google.shopping.type.Price price = 17;
Parameter | |
---|---|
Name | Description |
builderForValue | Price.Builder |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setProductTypeL1(String value)
public ProductView.Builder setProductTypeL1(String value)
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 12;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL1 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL1Bytes(ByteString value)
public ProductView.Builder setProductTypeL1Bytes(ByteString value)
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 12;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL1 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL2(String value)
public ProductView.Builder setProductTypeL2(String value)
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 13;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL2 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL2Bytes(ByteString value)
public ProductView.Builder setProductTypeL2Bytes(ByteString value)
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 13;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL2 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL3(String value)
public ProductView.Builder setProductTypeL3(String value)
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 14;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL3 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL3Bytes(ByteString value)
public ProductView.Builder setProductTypeL3Bytes(ByteString value)
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 14;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL3 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL4(String value)
public ProductView.Builder setProductTypeL4(String value)
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 15;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL4 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL4Bytes(ByteString value)
public ProductView.Builder setProductTypeL4Bytes(ByteString value)
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 15;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL4 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL5(String value)
public ProductView.Builder setProductTypeL5(String value)
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 16;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL5 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setProductTypeL5Bytes(ByteString value)
public ProductView.Builder setProductTypeL5Bytes(ByteString value)
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 16;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL5 to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProductView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ProductView.Builder |
setShippingLabel(String value)
public ProductView.Builder setShippingLabel(String value)
Normalized shipping label specified in the feed.
optional string shipping_label = 20;
Parameter | |
---|---|
Name | Description |
value | String The shippingLabel to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setShippingLabelBytes(ByteString value)
public ProductView.Builder setShippingLabelBytes(ByteString value)
Normalized shipping label specified in the feed.
optional string shipping_label = 20;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for shippingLabel to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setThumbnailLink(String value)
public ProductView.Builder setThumbnailLink(String value)
Link to the processed image of the product, hosted on the Google infrastructure.
optional string thumbnail_link = 23;
Parameter | |
---|---|
Name | Description |
value | String The thumbnailLink to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setThumbnailLinkBytes(ByteString value)
public ProductView.Builder setThumbnailLinkBytes(ByteString value)
Link to the processed image of the product, hosted on the Google infrastructure.
optional string thumbnail_link = 23;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for thumbnailLink to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setTitle(String value)
public ProductView.Builder setTitle(String value)
Title of the product.
optional string title = 5;
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public ProductView.Builder setTitleBytes(ByteString value)
Title of the product.
optional string title = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
ProductView.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProductView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProductView.Builder |