Interface ProductReviewAttributesOrBuilder (0.1.0)

public interface ProductReviewAttributesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregatorName()

public abstract String getAggregatorName()

Optional. The name of the aggregator of the product reviews.

A publisher may use a reviews aggregator to manage reviews and provide the feeds. This element indicates the use of an aggregator and contains information about the aggregator.

optional string aggregator_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The aggregatorName.

getAggregatorNameBytes()

public abstract ByteString getAggregatorNameBytes()

Optional. The name of the aggregator of the product reviews.

A publisher may use a reviews aggregator to manage reviews and provide the feeds. This element indicates the use of an aggregator and contains information about the aggregator.

optional string aggregator_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for aggregatorName.

getAsins(int index)

public abstract String getAsins(int index)

Optional. Contains ASINs (Amazon Standard Identification Numbers) associated with a product.

repeated string asins = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The asins at the given index.

getAsinsBytes(int index)

public abstract ByteString getAsinsBytes(int index)

Optional. Contains ASINs (Amazon Standard Identification Numbers) associated with a product.

repeated string asins = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the asins at the given index.

getAsinsCount()

public abstract int getAsinsCount()

Optional. Contains ASINs (Amazon Standard Identification Numbers) associated with a product.

repeated string asins = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of asins.

getAsinsList()

public abstract List<String> getAsinsList()

Optional. Contains ASINs (Amazon Standard Identification Numbers) associated with a product.

repeated string asins = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the asins.

getBrands(int index)

public abstract String getBrands(int index)

Optional. Contains brand names associated with a product.

repeated string brands = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The brands at the given index.

getBrandsBytes(int index)

public abstract ByteString getBrandsBytes(int index)

Optional. Contains brand names associated with a product.

repeated string brands = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the brands at the given index.

getBrandsCount()

public abstract int getBrandsCount()

Optional. Contains brand names associated with a product.

repeated string brands = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of brands.

getBrandsList()

public abstract List<String> getBrandsList()

Optional. Contains brand names associated with a product.

repeated string brands = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the brands.

getCollectionMethod()

public abstract ProductReviewAttributes.CollectionMethod getCollectionMethod()

Optional. The method used to collect the review.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.CollectionMethod collection_method = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductReviewAttributes.CollectionMethod

The collectionMethod.

getCollectionMethodValue()

public abstract int getCollectionMethodValue()

Optional. The method used to collect the review.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.CollectionMethod collection_method = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for collectionMethod.

getCons(int index)

public abstract String getCons(int index)

Optional. Contains the disadvantages based on the opinion of the reviewer. Omit boilerplate text like "con:" unless it was written by the reviewer.

repeated string cons = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The cons at the given index.

getConsBytes(int index)

public abstract ByteString getConsBytes(int index)

Optional. Contains the disadvantages based on the opinion of the reviewer. Omit boilerplate text like "con:" unless it was written by the reviewer.

repeated string cons = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the cons at the given index.

getConsCount()

public abstract int getConsCount()

Optional. Contains the disadvantages based on the opinion of the reviewer. Omit boilerplate text like "con:" unless it was written by the reviewer.

repeated string cons = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of cons.

getConsList()

public abstract List<String> getConsList()

Optional. Contains the disadvantages based on the opinion of the reviewer. Omit boilerplate text like "con:" unless it was written by the reviewer.

repeated string cons = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the cons.

getContent()

public abstract String getContent()

Required. The content of the review.

optional string content = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

Required. The content of the review.

optional string content = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for content.

getGtins(int index)

public abstract String getGtins(int index)

Optional. Contains GTINs (global trade item numbers) associated with a product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.

repeated string gtins = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The gtins at the given index.

getGtinsBytes(int index)

public abstract ByteString getGtinsBytes(int index)

Optional. Contains GTINs (global trade item numbers) associated with a product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.

repeated string gtins = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the gtins at the given index.

getGtinsCount()

public abstract int getGtinsCount()

Optional. Contains GTINs (global trade item numbers) associated with a product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.

repeated string gtins = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of gtins.

getGtinsList()

public abstract List<String> getGtinsList()

Optional. Contains GTINs (global trade item numbers) associated with a product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.

repeated string gtins = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the gtins.

getIsSpam()

public abstract boolean getIsSpam()

Optional. Indicates whether the review is marked as spam in the publisher's system.

optional bool is_spam = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The isSpam.

getMaxRating()

public abstract long getMaxRating()

Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min attribute.

optional int64 max_rating = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The maxRating.

getMinRating()

public abstract long getMinRating()

Optional. Contains the ratings associated with the review. The minimum possible number for the rating. This should be the worst possible rating and should not be a value for no rating.

optional int64 min_rating = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The minRating.

getMpns(int index)

public abstract String getMpns(int index)

Optional. Contains MPNs (manufacturer part numbers) associated with a product.

repeated string mpns = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The mpns at the given index.

getMpnsBytes(int index)

public abstract ByteString getMpnsBytes(int index)

Optional. Contains MPNs (manufacturer part numbers) associated with a product.

repeated string mpns = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the mpns at the given index.

getMpnsCount()

public abstract int getMpnsCount()

Optional. Contains MPNs (manufacturer part numbers) associated with a product.

repeated string mpns = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of mpns.

getMpnsList()

public abstract List<String> getMpnsList()

Optional. Contains MPNs (manufacturer part numbers) associated with a product.

repeated string mpns = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the mpns.

public abstract String getProductLinks(int index)

Optional. The URI of the product. This URI can have the same value as the review_link element, if the review URI and the product URI are the same.

repeated string product_links = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The productLinks at the given index.

getProductLinksBytes(int index)

public abstract ByteString getProductLinksBytes(int index)

Optional. The URI of the product. This URI can have the same value as the review_link element, if the review URI and the product URI are the same.

repeated string product_links = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the productLinks at the given index.

getProductLinksCount()

public abstract int getProductLinksCount()

Optional. The URI of the product. This URI can have the same value as the review_link element, if the review URI and the product URI are the same.

repeated string product_links = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of productLinks.

public abstract List<String> getProductLinksList()

Optional. The URI of the product. This URI can have the same value as the review_link element, if the review URI and the product URI are the same.

repeated string product_links = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the productLinks.

getProductNames(int index)

public abstract String getProductNames(int index)

Optional. Descriptive name of a product.

repeated string product_names = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The productNames at the given index.

getProductNamesBytes(int index)

public abstract ByteString getProductNamesBytes(int index)

Optional. Descriptive name of a product.

repeated string product_names = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the productNames at the given index.

getProductNamesCount()

public abstract int getProductNamesCount()

Optional. Descriptive name of a product.

repeated string product_names = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of productNames.

getProductNamesList()

public abstract List<String> getProductNamesList()

Optional. Descriptive name of a product.

repeated string product_names = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the productNames.

getPros(int index)

public abstract String getPros(int index)

Optional. Contains the advantages based on the opinion of the reviewer. Omit boilerplate text like "pro:" unless it was written by the reviewer.

repeated string pros = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pros at the given index.

getProsBytes(int index)

public abstract ByteString getProsBytes(int index)

Optional. Contains the advantages based on the opinion of the reviewer. Omit boilerplate text like "pro:" unless it was written by the reviewer.

repeated string pros = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the pros at the given index.

getProsCount()

public abstract int getProsCount()

Optional. Contains the advantages based on the opinion of the reviewer. Omit boilerplate text like "pro:" unless it was written by the reviewer.

repeated string pros = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of pros.

getProsList()

public abstract List<String> getProsList()

Optional. Contains the advantages based on the opinion of the reviewer. Omit boilerplate text like "pro:" unless it was written by the reviewer.

repeated string pros = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the pros.

getPublisherFavicon()

public abstract String getPublisherFavicon()

Optional. A link to the company favicon of the publisher. The image dimensions should be favicon size: 16x16 pixels. The image format should be GIF, JPG or PNG.

optional string publisher_favicon = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The publisherFavicon.

getPublisherFaviconBytes()

public abstract ByteString getPublisherFaviconBytes()

Optional. A link to the company favicon of the publisher. The image dimensions should be favicon size: 16x16 pixels. The image format should be GIF, JPG or PNG.

optional string publisher_favicon = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for publisherFavicon.

getPublisherName()

public abstract String getPublisherName()

Optional. The name of the publisher of the product reviews.

The information about the publisher, which may be a retailer, manufacturer, reviews service company, or any entity that publishes product reviews.

optional string publisher_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The publisherName.

getPublisherNameBytes()

public abstract ByteString getPublisherNameBytes()

Optional. The name of the publisher of the product reviews.

The information about the publisher, which may be a retailer, manufacturer, reviews service company, or any entity that publishes product reviews.

optional string publisher_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for publisherName.

getRating()

public abstract double getRating()

Optional. The reviewer's overall rating of the product.

optional double rating = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The rating.

getReviewCountry()

public abstract String getReviewCountry()

Optional. The country of the review defined by ISO 3166-1 Alpha-2 Country Code.

optional string review_country = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The reviewCountry.

getReviewCountryBytes()

public abstract ByteString getReviewCountryBytes()

Optional. The country of the review defined by ISO 3166-1 Alpha-2 Country Code.

optional string review_country = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for reviewCountry.

getReviewLanguage()

public abstract String getReviewLanguage()

Optional. The language of the review defined by BCP-47 language code.

optional string review_language = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The reviewLanguage.

getReviewLanguageBytes()

public abstract ByteString getReviewLanguageBytes()

Optional. The language of the review defined by BCP-47 language code.

optional string review_language = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for reviewLanguage.

public abstract ProductReviewAttributes.ReviewLink getReviewLink()

Optional. The URI of the review landing page.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink review_link = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductReviewAttributes.ReviewLink

The reviewLink.

getReviewLinkOrBuilder()

public abstract ProductReviewAttributes.ReviewLinkOrBuilder getReviewLinkOrBuilder()

Optional. The URI of the review landing page.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink review_link = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductReviewAttributes.ReviewLinkOrBuilder

getReviewTime()

public abstract Timestamp getReviewTime()

Required. The timestamp indicating when the review was written.

.google.protobuf.Timestamp review_time = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The reviewTime.

getReviewTimeOrBuilder()

public abstract TimestampOrBuilder getReviewTimeOrBuilder()

Required. The timestamp indicating when the review was written.

.google.protobuf.Timestamp review_time = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getReviewerId()

public abstract String getReviewerId()

Optional. The author of the product review.

A permanent, unique identifier for the author of the review in the publisher's system.

optional string reviewer_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The reviewerId.

getReviewerIdBytes()

public abstract ByteString getReviewerIdBytes()

Optional. The author of the product review.

A permanent, unique identifier for the author of the review in the publisher's system.

optional string reviewer_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for reviewerId.

public abstract String getReviewerImageLinks(int index)

Optional. A URI to an image of the reviewed product created by the review author. The URI does not have to end with an image file extension.

repeated string reviewer_image_links = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The reviewerImageLinks at the given index.

getReviewerImageLinksBytes(int index)

public abstract ByteString getReviewerImageLinksBytes(int index)

Optional. A URI to an image of the reviewed product created by the review author. The URI does not have to end with an image file extension.

repeated string reviewer_image_links = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the reviewerImageLinks at the given index.

getReviewerImageLinksCount()

public abstract int getReviewerImageLinksCount()

Optional. A URI to an image of the reviewed product created by the review author. The URI does not have to end with an image file extension.

repeated string reviewer_image_links = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of reviewerImageLinks.

public abstract List<String> getReviewerImageLinksList()

Optional. A URI to an image of the reviewed product created by the review author. The URI does not have to end with an image file extension.

repeated string reviewer_image_links = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the reviewerImageLinks.

getReviewerIsAnonymous()

public abstract boolean getReviewerIsAnonymous()

Optional. Set to true if the reviewer should remain anonymous.

optional bool reviewer_is_anonymous = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The reviewerIsAnonymous.

getReviewerUsername()

public abstract String getReviewerUsername()

Optional. The name of the reviewer of the product review.

optional string reviewer_username = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The reviewerUsername.

getReviewerUsernameBytes()

public abstract ByteString getReviewerUsernameBytes()

Optional. The name of the reviewer of the product review.

optional string reviewer_username = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for reviewerUsername.

getSkus(int index)

public abstract String getSkus(int index)

Optional. Contains SKUs (stock keeping units) associated with a product. Often this matches the product Offer Id in the product feed.

repeated string skus = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The skus at the given index.

getSkusBytes(int index)

public abstract ByteString getSkusBytes(int index)

Optional. Contains SKUs (stock keeping units) associated with a product. Often this matches the product Offer Id in the product feed.

repeated string skus = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the skus at the given index.

getSkusCount()

public abstract int getSkusCount()

Optional. Contains SKUs (stock keeping units) associated with a product. Often this matches the product Offer Id in the product feed.

repeated string skus = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of skus.

getSkusList()

public abstract List<String> getSkusList()

Optional. Contains SKUs (stock keeping units) associated with a product. Often this matches the product Offer Id in the product feed.

repeated string skus = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the skus.

getSubclientName()

public abstract String getSubclientName()

Optional. The name of the subclient of the product reviews.

The subclient is an identifier of the product review source. It should be equivalent to the directory provided in the file data source path.

optional string subclient_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The subclientName.

getSubclientNameBytes()

public abstract ByteString getSubclientNameBytes()

Optional. The name of the subclient of the product reviews.

The subclient is an identifier of the product review source. It should be equivalent to the directory provided in the file data source path.

optional string subclient_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subclientName.

getTitle()

public abstract String getTitle()

Optional. The title of the review.

optional string title = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Optional. The title of the review.

optional string title = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for title.

getTransactionId()

public abstract String getTransactionId()

Optional. A permanent, unique identifier for the transaction associated with the review in the publisher's system. This ID can be used to indicate that multiple reviews are associated with the same transaction.

string transaction_id = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The transactionId.

getTransactionIdBytes()

public abstract ByteString getTransactionIdBytes()

Optional. A permanent, unique identifier for the transaction associated with the review in the publisher's system. This ID can be used to indicate that multiple reviews are associated with the same transaction.

string transaction_id = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for transactionId.

hasAggregatorName()

public abstract boolean hasAggregatorName()

Optional. The name of the aggregator of the product reviews.

A publisher may use a reviews aggregator to manage reviews and provide the feeds. This element indicates the use of an aggregator and contains information about the aggregator.

optional string aggregator_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the aggregatorName field is set.

hasContent()

public abstract boolean hasContent()

Required. The content of the review.

optional string content = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the content field is set.

hasIsSpam()

public abstract boolean hasIsSpam()

Optional. Indicates whether the review is marked as spam in the publisher's system.

optional bool is_spam = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the isSpam field is set.

hasMaxRating()

public abstract boolean hasMaxRating()

Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min attribute.

optional int64 max_rating = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maxRating field is set.

hasMinRating()

public abstract boolean hasMinRating()

Optional. Contains the ratings associated with the review. The minimum possible number for the rating. This should be the worst possible rating and should not be a value for no rating.

optional int64 min_rating = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minRating field is set.

hasPublisherFavicon()

public abstract boolean hasPublisherFavicon()

Optional. A link to the company favicon of the publisher. The image dimensions should be favicon size: 16x16 pixels. The image format should be GIF, JPG or PNG.

optional string publisher_favicon = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the publisherFavicon field is set.

hasPublisherName()

public abstract boolean hasPublisherName()

Optional. The name of the publisher of the product reviews.

The information about the publisher, which may be a retailer, manufacturer, reviews service company, or any entity that publishes product reviews.

optional string publisher_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the publisherName field is set.

hasRating()

public abstract boolean hasRating()

Optional. The reviewer's overall rating of the product.

optional double rating = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rating field is set.

hasReviewCountry()

public abstract boolean hasReviewCountry()

Optional. The country of the review defined by ISO 3166-1 Alpha-2 Country Code.

optional string review_country = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reviewCountry field is set.

hasReviewLanguage()

public abstract boolean hasReviewLanguage()

Optional. The language of the review defined by BCP-47 language code.

optional string review_language = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reviewLanguage field is set.

public abstract boolean hasReviewLink()

Optional. The URI of the review landing page.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes.ReviewLink review_link = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reviewLink field is set.

hasReviewTime()

public abstract boolean hasReviewTime()

Required. The timestamp indicating when the review was written.

.google.protobuf.Timestamp review_time = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the reviewTime field is set.

hasReviewerId()

public abstract boolean hasReviewerId()

Optional. The author of the product review.

A permanent, unique identifier for the author of the review in the publisher's system.

optional string reviewer_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reviewerId field is set.

hasReviewerIsAnonymous()

public abstract boolean hasReviewerIsAnonymous()

Optional. Set to true if the reviewer should remain anonymous.

optional bool reviewer_is_anonymous = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reviewerIsAnonymous field is set.

hasReviewerUsername()

public abstract boolean hasReviewerUsername()

Optional. The name of the reviewer of the product review.

optional string reviewer_username = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reviewerUsername field is set.

hasSubclientName()

public abstract boolean hasSubclientName()

Optional. The name of the subclient of the product reviews.

The subclient is an identifier of the product review source. It should be equivalent to the directory provided in the file data source path.

optional string subclient_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subclientName field is set.

hasTitle()

public abstract boolean hasTitle()

Optional. The title of the review.

optional string title = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the title field is set.