Class ProductView.Builder (0.11.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The gtin to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue>
Returns
TypeDescription
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
NameDescription
valueString

The gtin to add.

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

The bytes of the gtin to add.

Returns
TypeDescription
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
NameDescription
valueProductView.ItemIssue
Returns
TypeDescription
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
NameDescription
builderForValueProductView.ItemIssue.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProductView.ItemIssue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProductView.ItemIssue.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProductView.ItemIssue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProductView build()
Returns
TypeDescription
ProductView

buildPartial()

public ProductView buildPartial()
Returns
TypeDescription
ProductView

clear()

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

clearAggregatedReportingContextStatus()

public ProductView.Builder clearAggregatedReportingContextStatus()

Aggregated status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearAvailability()

public ProductView.Builder clearAvailability()

Availability of the product.

optional string availability = 19;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearBrand()

public ProductView.Builder clearBrand()

Brand of the product.

optional string brand = 6;

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

This builder for chaining.

clearChannel()

public ProductView.Builder clearChannel()

Channel of the product. Can be ONLINE or LOCAL.

optional .google.shopping.type.Channel.ChannelEnum channel = 28;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearCondition()

public ProductView.Builder clearCondition()

Condition of the product.

optional string condition = 18;

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

clearExpirationDate()

public ProductView.Builder clearExpirationDate()

Expiration date for the product, specified on insertion.

.google.type.Date expiration_date = 25;

Returns
TypeDescription
ProductView.Builder

clearFeedLabel()

public ProductView.Builder clearFeedLabel()

Feed label of the product.

optional string feed_label = 3;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGtin()

public ProductView.Builder clearGtin()

List of Global Trade Item Numbers (GTINs) of the product.

repeated string gtin = 21;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearId()

public ProductView.Builder clearId()

REST ID of the product, in the form of channel~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
TypeDescription
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
TypeDescription
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
TypeDescription
ProductView.Builder

clearLanguageCode()

public ProductView.Builder clearLanguageCode()

Language code of the product in BCP 47 format.

optional string language_code = 2;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearOfferId()

public ProductView.Builder clearOfferId()

Merchant-provided id of the product.

optional string offer_id = 4;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
ProductView.Builder

clearProductTypeL1()

public ProductView.Builder clearProductTypeL1()

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

optional string product_type_l1 = 12;

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

This builder for chaining.

clearShippingLabel()

public ProductView.Builder clearShippingLabel()

Normalized shipping label specified in the feed.

optional string shipping_label = 20;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

public ProductView.Builder clearThumbnailLink()

Link to the processed image of the product, hosted on the Google infrastructure.

optional string thumbnail_link = 23;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clearTitle()

public ProductView.Builder clearTitle()

Title of the product.

optional string title = 5;

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

clone()

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

getAggregatedReportingContextStatus()

public ProductView.AggregatedReportingContextStatus getAggregatedReportingContextStatus()

Aggregated status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;

Returns
TypeDescription
ProductView.AggregatedReportingContextStatus

The aggregatedReportingContextStatus.

getAggregatedReportingContextStatusValue()

public int getAggregatedReportingContextStatusValue()

Aggregated status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;

Returns
TypeDescription
int

The enum numeric value on the wire for aggregatedReportingContextStatus.

getAvailability()

public String getAvailability()

Availability of the product.

optional string availability = 19;

Returns
TypeDescription
String

The availability.

getAvailabilityBytes()

public ByteString getAvailabilityBytes()

Availability of the product.

optional string availability = 19;

Returns
TypeDescription
ByteString

The bytes for availability.

getBrand()

public String getBrand()

Brand of the product.

optional string brand = 6;

Returns
TypeDescription
String

The brand.

getBrandBytes()

public ByteString getBrandBytes()

Brand of the product.

optional string brand = 6;

Returns
TypeDescription
ByteString

The bytes for brand.

getCategoryL1()

public String getCategoryL1()

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

optional string category_l1 = 7;

Returns
TypeDescription
String

The categoryL1.

getCategoryL1Bytes()

public ByteString getCategoryL1Bytes()

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

optional string category_l1 = 7;

Returns
TypeDescription
ByteString

The bytes for categoryL1.

getCategoryL2()

public String getCategoryL2()

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

optional string category_l2 = 8;

Returns
TypeDescription
String

The categoryL2.

getCategoryL2Bytes()

public ByteString getCategoryL2Bytes()

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

optional string category_l2 = 8;

Returns
TypeDescription
ByteString

The bytes for categoryL2.

getCategoryL3()

public String getCategoryL3()

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

optional string category_l3 = 9;

Returns
TypeDescription
String

The categoryL3.

getCategoryL3Bytes()

public ByteString getCategoryL3Bytes()

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

optional string category_l3 = 9;

Returns
TypeDescription
ByteString

The bytes for categoryL3.

getCategoryL4()

public String getCategoryL4()

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

optional string category_l4 = 10;

Returns
TypeDescription
String

The categoryL4.

getCategoryL4Bytes()

public ByteString getCategoryL4Bytes()

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

optional string category_l4 = 10;

Returns
TypeDescription
ByteString

The bytes for categoryL4.

getCategoryL5()

public String getCategoryL5()

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

optional string category_l5 = 11;

Returns
TypeDescription
String

The categoryL5.

getCategoryL5Bytes()

public ByteString getCategoryL5Bytes()

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

optional string category_l5 = 11;

Returns
TypeDescription
ByteString

The bytes for categoryL5.

getChannel()

public Channel.ChannelEnum getChannel()

Channel of the product. Can be ONLINE or LOCAL.

optional .google.shopping.type.Channel.ChannelEnum channel = 28;

Returns
TypeDescription
Channel.ChannelEnum

The channel.

getChannelValue()

public int getChannelValue()

Channel of the product. Can be ONLINE or LOCAL.

optional .google.shopping.type.Channel.ChannelEnum channel = 28;

Returns
TypeDescription
int

The enum numeric value on the wire for channel.

getCondition()

public String getCondition()

Condition of the product.

optional string condition = 18;

Returns
TypeDescription
String

The condition.

getConditionBytes()

public ByteString getConditionBytes()

Condition of the product.

optional string condition = 18;

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

getCreationTimeOrBuilder()

public TimestampOrBuilder getCreationTimeOrBuilder()

The time the merchant created the product in timestamp seconds.

.google.protobuf.Timestamp creation_time = 24;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ProductView getDefaultInstanceForType()
Returns
TypeDescription
ProductView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpirationDate()

public Date getExpirationDate()

Expiration date for the product, specified on insertion.

.google.type.Date expiration_date = 25;

Returns
TypeDescription
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
TypeDescription
com.google.type.Date.Builder

getExpirationDateOrBuilder()

public DateOrBuilder getExpirationDateOrBuilder()

Expiration date for the product, specified on insertion.

.google.type.Date expiration_date = 25;

Returns
TypeDescription
com.google.type.DateOrBuilder

getFeedLabel()

public String getFeedLabel()

Feed label of the product.

optional string feed_label = 3;

Returns
TypeDescription
String

The feedLabel.

getFeedLabelBytes()

public ByteString getFeedLabelBytes()

Feed label of the product.

optional string feed_label = 3;

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

The index of the element to return.

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

The index of the value to return.

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

The count of gtin.

getGtinList()

public ProtocolStringList getGtinList()

List of Global Trade Item Numbers (GTINs) of the product.

repeated string gtin = 21;

Returns
TypeDescription
ProtocolStringList

A list containing the gtin.

getId()

public String getId()

REST ID of the product, in the form of channel~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
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

REST ID of the product, in the form of channel~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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Language code of the product in BCP 47 format.

optional string language_code = 2;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getOfferId()

public String getOfferId()

Merchant-provided id of the product.

optional string offer_id = 4;

Returns
TypeDescription
String

The offerId.

getOfferIdBytes()

public ByteString getOfferIdBytes()

Merchant-provided id of the product.

optional string offer_id = 4;

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

getProductTypeL1()

public String getProductTypeL1()

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

optional string product_type_l1 = 12;

Returns
TypeDescription
String

The productTypeL1.

getProductTypeL1Bytes()

public ByteString getProductTypeL1Bytes()

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

optional string product_type_l1 = 12;

Returns
TypeDescription
ByteString

The bytes for productTypeL1.

getProductTypeL2()

public String getProductTypeL2()

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

optional string product_type_l2 = 13;

Returns
TypeDescription
String

The productTypeL2.

getProductTypeL2Bytes()

public ByteString getProductTypeL2Bytes()

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

optional string product_type_l2 = 13;

Returns
TypeDescription
ByteString

The bytes for productTypeL2.

getProductTypeL3()

public String getProductTypeL3()

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

optional string product_type_l3 = 14;

Returns
TypeDescription
String

The productTypeL3.

getProductTypeL3Bytes()

public ByteString getProductTypeL3Bytes()

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

optional string product_type_l3 = 14;

Returns
TypeDescription
ByteString

The bytes for productTypeL3.

getProductTypeL4()

public String getProductTypeL4()

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

optional string product_type_l4 = 15;

Returns
TypeDescription
String

The productTypeL4.

getProductTypeL4Bytes()

public ByteString getProductTypeL4Bytes()

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

optional string product_type_l4 = 15;

Returns
TypeDescription
ByteString

The bytes for productTypeL4.

getProductTypeL5()

public String getProductTypeL5()

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

optional string product_type_l5 = 16;

Returns
TypeDescription
String

The productTypeL5.

getProductTypeL5Bytes()

public ByteString getProductTypeL5Bytes()

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

optional string product_type_l5 = 16;

Returns
TypeDescription
ByteString

The bytes for productTypeL5.

getShippingLabel()

public String getShippingLabel()

Normalized shipping label specified in the feed.

optional string shipping_label = 20;

Returns
TypeDescription
String

The shippingLabel.

getShippingLabelBytes()

public ByteString getShippingLabelBytes()

Normalized shipping label specified in the feed.

optional string shipping_label = 20;

Returns
TypeDescription
ByteString

The bytes for shippingLabel.

public String getThumbnailLink()

Link to the processed image of the product, hosted on the Google infrastructure.

optional string thumbnail_link = 23;

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

The bytes for thumbnailLink.

getTitle()

public String getTitle()

Title of the product.

optional string title = 5;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Title of the product.

optional string title = 5;

Returns
TypeDescription
ByteString

The bytes for title.

hasAggregatedReportingContextStatus()

public boolean hasAggregatedReportingContextStatus()

Aggregated status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;

Returns
TypeDescription
boolean

Whether the aggregatedReportingContextStatus field is set.

hasAvailability()

public boolean hasAvailability()

Availability of the product.

optional string availability = 19;

Returns
TypeDescription
boolean

Whether the availability field is set.

hasBrand()

public boolean hasBrand()

Brand of the product.

optional string brand = 6;

Returns
TypeDescription
boolean

Whether the brand field is set.

hasCategoryL1()

public boolean hasCategoryL1()

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

optional string category_l1 = 7;

Returns
TypeDescription
boolean

Whether the categoryL1 field is set.

hasCategoryL2()

public boolean hasCategoryL2()

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

optional string category_l2 = 8;

Returns
TypeDescription
boolean

Whether the categoryL2 field is set.

hasCategoryL3()

public boolean hasCategoryL3()

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

optional string category_l3 = 9;

Returns
TypeDescription
boolean

Whether the categoryL3 field is set.

hasCategoryL4()

public boolean hasCategoryL4()

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

optional string category_l4 = 10;

Returns
TypeDescription
boolean

Whether the categoryL4 field is set.

hasCategoryL5()

public boolean hasCategoryL5()

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

optional string category_l5 = 11;

Returns
TypeDescription
boolean

Whether the categoryL5 field is set.

hasChannel()

public boolean hasChannel()

Channel of the product. Can be ONLINE or LOCAL.

optional .google.shopping.type.Channel.ChannelEnum channel = 28;

Returns
TypeDescription
boolean

Whether the channel field is set.

hasCondition()

public boolean hasCondition()

Condition of the product.

optional string condition = 18;

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

Whether the expirationDate field is set.

hasFeedLabel()

public boolean hasFeedLabel()

Feed label of the product.

optional string feed_label = 3;

Returns
TypeDescription
boolean

Whether the feedLabel field is set.

hasId()

public boolean hasId()

REST ID of the product, in the form of channel~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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the languageCode field is set.

hasOfferId()

public boolean hasOfferId()

Merchant-provided id of the product.

optional string offer_id = 4;

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

Whether the price field is set.

hasProductTypeL1()

public boolean hasProductTypeL1()

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

optional string product_type_l1 = 12;

Returns
TypeDescription
boolean

Whether the productTypeL1 field is set.

hasProductTypeL2()

public boolean hasProductTypeL2()

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

optional string product_type_l2 = 13;

Returns
TypeDescription
boolean

Whether the productTypeL2 field is set.

hasProductTypeL3()

public boolean hasProductTypeL3()

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

optional string product_type_l3 = 14;

Returns
TypeDescription
boolean

Whether the productTypeL3 field is set.

hasProductTypeL4()

public boolean hasProductTypeL4()

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

optional string product_type_l4 = 15;

Returns
TypeDescription
boolean

Whether the productTypeL4 field is set.

hasProductTypeL5()

public boolean hasProductTypeL5()

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

optional string product_type_l5 = 16;

Returns
TypeDescription
boolean

Whether the productTypeL5 field is set.

hasShippingLabel()

public boolean hasShippingLabel()

Normalized shipping label specified in the feed.

optional string shipping_label = 20;

Returns
TypeDescription
boolean

Whether the shippingLabel field is set.

public boolean hasThumbnailLink()

Link to the processed image of the product, hosted on the Google infrastructure.

optional string thumbnail_link = 23;

Returns
TypeDescription
boolean

Whether the thumbnailLink field is set.

hasTitle()

public boolean hasTitle()

Title of the product.

optional string title = 5;

Returns
TypeDescription
boolean

Whether the title field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
ProductView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ProductView other)

public ProductView.Builder mergeFrom(ProductView other)
Parameter
NameDescription
otherProductView
Returns
TypeDescription
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
NameDescription
valuePrice
Returns
TypeDescription
ProductView.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
indexint
Returns
TypeDescription
ProductView.Builder

setAggregatedReportingContextStatus(ProductView.AggregatedReportingContextStatus value)

public ProductView.Builder setAggregatedReportingContextStatus(ProductView.AggregatedReportingContextStatus value)

Aggregated status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;

Parameter
NameDescription
valueProductView.AggregatedReportingContextStatus

The aggregatedReportingContextStatus to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setAggregatedReportingContextStatusValue(int value)

public ProductView.Builder setAggregatedReportingContextStatusValue(int value)

Aggregated status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setAvailability(String value)

public ProductView.Builder setAvailability(String value)

Availability of the product.

optional string availability = 19;

Parameter
NameDescription
valueString

The availability to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setAvailabilityBytes(ByteString value)

public ProductView.Builder setAvailabilityBytes(ByteString value)

Availability of the product.

optional string availability = 19;

Parameter
NameDescription
valueByteString

The bytes for availability to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setBrand(String value)

public ProductView.Builder setBrand(String value)

Brand of the product.

optional string brand = 6;

Parameter
NameDescription
valueString

The brand to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setBrandBytes(ByteString value)

public ProductView.Builder setBrandBytes(ByteString value)

Brand of the product.

optional string brand = 6;

Parameter
NameDescription
valueByteString

The bytes for brand to set.

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

The categoryL1 to set.

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

The bytes for categoryL1 to set.

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

The categoryL2 to set.

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

The bytes for categoryL2 to set.

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

The categoryL3 to set.

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

The bytes for categoryL3 to set.

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

The categoryL4 to set.

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

The bytes for categoryL4 to set.

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

The categoryL5 to set.

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

The bytes for categoryL5 to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setChannel(Channel.ChannelEnum value)

public ProductView.Builder setChannel(Channel.ChannelEnum value)

Channel of the product. Can be ONLINE or LOCAL.

optional .google.shopping.type.Channel.ChannelEnum channel = 28;

Parameter
NameDescription
valueChannel.ChannelEnum

The channel to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setChannelValue(int value)

public ProductView.Builder setChannelValue(int value)

Channel of the product. Can be ONLINE or LOCAL.

optional .google.shopping.type.Channel.ChannelEnum channel = 28;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setCondition(String value)

public ProductView.Builder setCondition(String value)

Condition of the product.

optional string condition = 18;

Parameter
NameDescription
valueString

The condition to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setConditionBytes(ByteString value)

public ProductView.Builder setConditionBytes(ByteString value)

Condition of the product.

optional string condition = 18;

Parameter
NameDescription
valueByteString

The bytes for condition to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
ProductView.Builder

setFeedLabel(String value)

public ProductView.Builder setFeedLabel(String value)

Feed label of the product.

optional string feed_label = 3;

Parameter
NameDescription
valueString

The feedLabel to set.

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

The bytes for feedLabel to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

The index to set the value at.

valueString

The gtin to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setId(String value)

public ProductView.Builder setId(String value)

REST ID of the product, in the form of channel~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
NameDescription
valueString

The id to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ProductView.Builder setIdBytes(ByteString value)

REST ID of the product, in the form of channel~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
NameDescription
valueByteString

The bytes for id to set.

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

The itemGroupId to set.

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

The bytes for itemGroupId to set.

Returns
TypeDescription
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
NameDescription
indexint
valueProductView.ItemIssue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProductView.ItemIssue.Builder
Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

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

The bytes for languageCode to set.

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

The offerId to set.

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

The bytes for offerId to set.

Returns
TypeDescription
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
NameDescription
valuePrice
Returns
TypeDescription
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
NameDescription
builderForValuePrice.Builder
Returns
TypeDescription
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
NameDescription
valueString

The productTypeL1 to set.

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

The bytes for productTypeL1 to set.

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

The productTypeL2 to set.

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

The bytes for productTypeL2 to set.

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

The productTypeL3 to set.

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

The bytes for productTypeL3 to set.

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

The productTypeL4 to set.

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

The bytes for productTypeL4 to set.

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

The productTypeL5 to set.

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

The bytes for productTypeL5 to set.

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

setShippingLabel(String value)

public ProductView.Builder setShippingLabel(String value)

Normalized shipping label specified in the feed.

optional string shipping_label = 20;

Parameter
NameDescription
valueString

The shippingLabel to set.

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

The bytes for shippingLabel to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

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

The thumbnailLink to set.

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

The bytes for thumbnailLink to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setTitle(String value)

public ProductView.Builder setTitle(String value)

Title of the product.

optional string title = 5;

Parameter
NameDescription
valueString

The title to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public ProductView.Builder setTitleBytes(ByteString value)

Title of the product.

optional string title = 5;

Parameter
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
ProductView.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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