Class ProductView (0.25.0)

public final class ProductView extends GeneratedMessageV3 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 Fields

AGGREGATED_REPORTING_CONTEXT_STATUS_FIELD_NUMBER

public static final int AGGREGATED_REPORTING_CONTEXT_STATUS_FIELD_NUMBER
Field Value
Type Description
int

AVAILABILITY_FIELD_NUMBER

public static final int AVAILABILITY_FIELD_NUMBER
Field Value
Type Description
int

BRAND_FIELD_NUMBER

public static final int BRAND_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_L1_FIELD_NUMBER

public static final int CATEGORY_L1_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_L2_FIELD_NUMBER

public static final int CATEGORY_L2_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_L3_FIELD_NUMBER

public static final int CATEGORY_L3_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_L4_FIELD_NUMBER

public static final int CATEGORY_L4_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_L5_FIELD_NUMBER

public static final int CATEGORY_L5_FIELD_NUMBER
Field Value
Type Description
int

CHANNEL_FIELD_NUMBER

public static final int CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

CLICK_POTENTIAL_FIELD_NUMBER

public static final int CLICK_POTENTIAL_FIELD_NUMBER
Field Value
Type Description
int

CLICK_POTENTIAL_RANK_FIELD_NUMBER

public static final int CLICK_POTENTIAL_RANK_FIELD_NUMBER
Field Value
Type Description
int

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
Type Description
int

CREATION_TIME_FIELD_NUMBER

public static final int CREATION_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXPIRATION_DATE_FIELD_NUMBER

public static final int EXPIRATION_DATE_FIELD_NUMBER
Field Value
Type Description
int

FEED_LABEL_FIELD_NUMBER

public static final int FEED_LABEL_FIELD_NUMBER
Field Value
Type Description
int

GTIN_FIELD_NUMBER

public static final int GTIN_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

ITEM_GROUP_ID_FIELD_NUMBER

public static final int ITEM_GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

ITEM_ISSUES_FIELD_NUMBER

public static final int ITEM_ISSUES_FIELD_NUMBER
Field Value
Type Description
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
Type Description
int

OFFER_ID_FIELD_NUMBER

public static final int OFFER_ID_FIELD_NUMBER
Field Value
Type Description
int

PRICE_FIELD_NUMBER

public static final int PRICE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_TYPE_L1_FIELD_NUMBER

public static final int PRODUCT_TYPE_L1_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_TYPE_L2_FIELD_NUMBER

public static final int PRODUCT_TYPE_L2_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_TYPE_L3_FIELD_NUMBER

public static final int PRODUCT_TYPE_L3_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_TYPE_L4_FIELD_NUMBER

public static final int PRODUCT_TYPE_L4_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_TYPE_L5_FIELD_NUMBER

public static final int PRODUCT_TYPE_L5_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_LABEL_FIELD_NUMBER

public static final int SHIPPING_LABEL_FIELD_NUMBER
Field Value
Type Description
int
public static final int THUMBNAIL_LINK_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductView getDefaultInstance()
Returns
Type Description
ProductView

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProductView.Builder newBuilder()
Returns
Type Description
ProductView.Builder

newBuilder(ProductView prototype)

public static ProductView.Builder newBuilder(ProductView prototype)
Parameter
Name Description
prototype ProductView
Returns
Type Description
ProductView.Builder

parseDelimitedFrom(InputStream input)

public static ProductView parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductView
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductView
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductView parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductView parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductView parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductView
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductView
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductView parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductView
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductView
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductView parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductView
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductView> parser()
Returns
Type Description
Parser<ProductView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAggregatedReportingContextStatus()

public ProductView.AggregatedReportingContextStatus getAggregatedReportingContextStatus()

Aggregated status.

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

Returns
Type Description
ProductView.AggregatedReportingContextStatus

The aggregatedReportingContextStatus.

getAggregatedReportingContextStatusValue()

public int getAggregatedReportingContextStatusValue()

Aggregated status.

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

Returns
Type Description
int

The enum numeric value on the wire for aggregatedReportingContextStatus.

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.

getChannel()

public Channel.ChannelEnum getChannel()

Channel of the product. Can be ONLINE or LOCAL.

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

Returns
Type Description
com.google.shopping.type.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
Type Description
int

The enum numeric value on the wire for channel.

getClickPotential()

public ProductView.ClickPotential getClickPotential()

Estimated performance potential compared to highest performing products of the merchant.

.google.shopping.merchant.reports.v1beta.ProductView.ClickPotential click_potential = 29;

Returns
Type Description
ProductView.ClickPotential

The clickPotential.

getClickPotentialRank()

public long getClickPotentialRank()

Rank of the product based on its click potential. A product with click_potential_rank 1 has the highest click potential among the merchant's products that fulfill the search query conditions.

optional int64 click_potential_rank = 30;

Returns
Type Description
long

The clickPotentialRank.

getClickPotentialValue()

public int getClickPotentialValue()

Estimated performance potential compared to highest performing products of the merchant.

.google.shopping.merchant.reports.v1beta.ProductView.ClickPotential click_potential = 29;

Returns
Type Description
int

The enum numeric value on the wire for clickPotential.

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.

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

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.

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 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
Type Description
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
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

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.

getParserForType()

public Parser<ProductView> getParserForType()
Returns
Type Description
Parser<ProductView>
Overrides

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
com.google.shopping.type.Price

The price.

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
com.google.shopping.type.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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShippingLabel()

public String getShippingLabel()

Normalized shipping label specified in the data source.

optional string shipping_label = 20;

Returns
Type Description
String

The shippingLabel.

getShippingLabelBytes()

public ByteString getShippingLabelBytes()

Normalized shipping label specified in the data source.

optional string shipping_label = 20;

Returns
Type Description
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
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.

hasAggregatedReportingContextStatus()

public boolean hasAggregatedReportingContextStatus()

Aggregated status.

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

Returns
Type Description
boolean

Whether the aggregatedReportingContextStatus 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.

hasChannel()

public boolean hasChannel()

Channel of the product. Can be ONLINE or LOCAL.

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

Returns
Type Description
boolean

Whether the channel field is set.

hasClickPotentialRank()

public boolean hasClickPotentialRank()

Rank of the product based on its click potential. A product with click_potential_rank 1 has the highest click potential among the merchant's products that fulfill the search query conditions.

optional int64 click_potential_rank = 30;

Returns
Type Description
boolean

Whether the clickPotentialRank 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 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
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 data source.

optional string shipping_label = 20;

Returns
Type Description
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
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductView.Builder newBuilderForType()
Returns
Type Description
ProductView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProductView.Builder toBuilder()
Returns
Type Description
ProductView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException