Class ProductView (0.3.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_DESTINATION_STATUS_FIELD_NUMBER

public static final int AGGREGATED_DESTINATION_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

AVAILABILITY_FIELD_NUMBER

public static final int AVAILABILITY_FIELD_NUMBER
Field Value
TypeDescription
int

BRAND_FIELD_NUMBER

public static final int BRAND_FIELD_NUMBER
Field Value
TypeDescription
int

CATEGORY_L1_FIELD_NUMBER

public static final int CATEGORY_L1_FIELD_NUMBER
Field Value
TypeDescription
int

CATEGORY_L2_FIELD_NUMBER

public static final int CATEGORY_L2_FIELD_NUMBER
Field Value
TypeDescription
int

CATEGORY_L3_FIELD_NUMBER

public static final int CATEGORY_L3_FIELD_NUMBER
Field Value
TypeDescription
int

CATEGORY_L4_FIELD_NUMBER

public static final int CATEGORY_L4_FIELD_NUMBER
Field Value
TypeDescription
int

CATEGORY_L5_FIELD_NUMBER

public static final int CATEGORY_L5_FIELD_NUMBER
Field Value
TypeDescription
int

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

CREATION_TIME_FIELD_NUMBER

public static final int CREATION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

EXPIRATION_DATE_FIELD_NUMBER

public static final int EXPIRATION_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

FEED_LABEL_FIELD_NUMBER

public static final int FEED_LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

GTIN_FIELD_NUMBER

public static final int GTIN_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

ITEM_GROUP_ID_FIELD_NUMBER

public static final int ITEM_GROUP_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ITEM_ISSUES_FIELD_NUMBER

public static final int ITEM_ISSUES_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

OFFER_ID_FIELD_NUMBER

public static final int OFFER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PRICE_FIELD_NUMBER

public static final int PRICE_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_TYPE_L1_FIELD_NUMBER

public static final int PRODUCT_TYPE_L1_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_TYPE_L2_FIELD_NUMBER

public static final int PRODUCT_TYPE_L2_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_TYPE_L3_FIELD_NUMBER

public static final int PRODUCT_TYPE_L3_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_TYPE_L4_FIELD_NUMBER

public static final int PRODUCT_TYPE_L4_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_TYPE_L5_FIELD_NUMBER

public static final int PRODUCT_TYPE_L5_FIELD_NUMBER
Field Value
TypeDescription
int

SHIPPING_LABEL_FIELD_NUMBER

public static final int SHIPPING_LABEL_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int THUMBNAIL_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProductView getDefaultInstance()
Returns
TypeDescription
ProductView

getDescriptor()

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

newBuilder()

public static ProductView.Builder newBuilder()
Returns
TypeDescription
ProductView.Builder

newBuilder(ProductView prototype)

public static ProductView.Builder newBuilder(ProductView prototype)
Parameter
NameDescription
prototypeProductView
Returns
TypeDescription
ProductView.Builder

parseDelimitedFrom(InputStream input)

public static ProductView parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProductView parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductView parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductView parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProductView parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProductView parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductView
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProductView> parser()
Returns
TypeDescription
Parser<ProductView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAggregatedDestinationStatus()

public ProductView.AggregatedDestinationStatus getAggregatedDestinationStatus()

Aggregated destination status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;

Returns
TypeDescription
ProductView.AggregatedDestinationStatus

The aggregatedDestinationStatus.

getAggregatedDestinationStatusValue()

public int getAggregatedDestinationStatusValue()

Aggregated destination status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;

Returns
TypeDescription
int

The enum numeric value on the wire for aggregatedDestinationStatus.

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.

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.

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

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.

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

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.

getParserForType()

public Parser<ProductView> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hasAggregatedDestinationStatus()

public boolean hasAggregatedDestinationStatus()

Aggregated destination status.

optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedDestinationStatus aggregated_destination_status = 26;

Returns
TypeDescription
boolean

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

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 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProductView.Builder newBuilderForType()
Returns
TypeDescription
ProductView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProductView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProductView.Builder toBuilder()
Returns
TypeDescription
ProductView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException