public interface MerchantReviewAttributesOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCollectionMethod()
public abstract MerchantReviewAttributes.CollectionMethod getCollectionMethod()
Optional. The method used to collect the review.
optional .google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes.CollectionMethod collection_method = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MerchantReviewAttributes.CollectionMethod |
The collectionMethod. |
getCollectionMethodValue()
public abstract int getCollectionMethodValue()
Optional. The method used to collect the review.
optional .google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes.CollectionMethod collection_method = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for collectionMethod. |
getContent()
public abstract String getContent()
Required. This should be any freeform text provided by the user and should not be truncated. If multiple responses to different questions are provided, all responses should be included, with the minimal context for the responses to make sense. Context should not be provided if questions were left unanswered.
optional string content = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes()
Required. This should be any freeform text provided by the user and should not be truncated. If multiple responses to different questions are provided, all responses should be included, with the minimal context for the responses to make sense. Context should not be provided if questions were left unanswered.
optional string content = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for content. |
getIsAnonymous()
public abstract boolean getIsAnonymous()
Optional. Set to true if the reviewer should remain anonymous.
optional bool is_anonymous = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The isAnonymous. |
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 rating.
optional int64 max_rating = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The maxRating. |
getMerchantDisplayName()
public abstract String getMerchantDisplayName()
Optional. Human-readable display name for the merchant.
optional string merchant_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The merchantDisplayName. |
getMerchantDisplayNameBytes()
public abstract ByteString getMerchantDisplayNameBytes()
Optional. Human-readable display name for the merchant.
optional string merchant_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for merchantDisplayName. |
getMerchantId()
public abstract String getMerchantId()
Required. Must be unique and stable across all requests. In other words, if a request today and another 90 days ago refer to the same merchant, they must have the same id.
optional string merchant_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The merchantId. |
getMerchantIdBytes()
public abstract ByteString getMerchantIdBytes()
Required. Must be unique and stable across all requests. In other words, if a request today and another 90 days ago refer to the same merchant, they must have the same id.
optional string merchant_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for merchantId. |
getMerchantLink()
public abstract String getMerchantLink()
Optional. URL to the merchant's main website. Do not use a redirect URL for this value. In other words, the value should point directly to the merchant's site.
optional string merchant_link = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The merchantLink. |
getMerchantLinkBytes()
public abstract ByteString getMerchantLinkBytes()
Optional. URL to the merchant's main website. Do not use a redirect URL for this value. In other words, the value should point directly to the merchant's site.
optional string merchant_link = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for merchantLink. |
getMerchantRatingLink()
public abstract String getMerchantRatingLink()
Optional. URL to the landing page that hosts the reviews for this merchant. Do not use a redirect URL.
optional string merchant_rating_link = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The merchantRatingLink. |
getMerchantRatingLinkBytes()
public abstract ByteString getMerchantRatingLinkBytes()
Optional. URL to the landing page that hosts the reviews for this merchant. Do not use a redirect URL.
optional string merchant_rating_link = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for merchantRatingLink. |
getMinRating()
public abstract long getMinRating()
Optional. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The minRating. |
getRating()
public abstract double getRating()
Optional. The reviewer's overall rating of the merchant.
optional double rating = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
double |
The rating. |
getReviewCountry()
public abstract String getReviewCountry()
Optional. The country where the reviewer made the order defined by ISO 3166-1 Alpha-2 Country Code.
optional string review_country = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The reviewCountry. |
getReviewCountryBytes()
public abstract ByteString getReviewCountryBytes()
Optional. The country where the reviewer made the order defined by ISO 3166-1 Alpha-2 Country Code.
optional string review_country = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for reviewCountry. |
getReviewLanguage()
public abstract String getReviewLanguage()
Required. The language of the review defined by BCP-47 language code.
optional string review_language = 15 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The reviewLanguage. |
getReviewLanguageBytes()
public abstract ByteString getReviewLanguageBytes()
Required. The language of the review defined by BCP-47 language code.
optional string review_language = 15 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for reviewLanguage. |
getReviewTime()
public abstract Timestamp getReviewTime()
Required. The timestamp indicating when the review was written.
optional .google.protobuf.Timestamp review_time = 14 [(.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.
optional .google.protobuf.Timestamp review_time = 14 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getReviewerId()
public abstract String getReviewerId()
Optional. A permanent, unique identifier for the author of the review in the publisher's system.
optional string reviewer_id = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The reviewerId. |
getReviewerIdBytes()
public abstract ByteString getReviewerIdBytes()
Optional. A permanent, unique identifier for the author of the review in the publisher's system.
optional string reviewer_id = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for reviewerId. |
getReviewerUsername()
public abstract String getReviewerUsername()
Optional. Display name of the review author.
optional string reviewer_username = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The reviewerUsername. |
getReviewerUsernameBytes()
public abstract ByteString getReviewerUsernameBytes()
Optional. Display name of the review author.
optional string reviewer_username = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for reviewerUsername. |
getTitle()
public abstract String getTitle()
Optional. The title of the review.
optional string title = 8 [(.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 = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for title. |
hasCollectionMethod()
public abstract boolean hasCollectionMethod()
Optional. The method used to collect the review.
optional .google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes.CollectionMethod collection_method = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the collectionMethod field is set. |
hasContent()
public abstract boolean hasContent()
Required. This should be any freeform text provided by the user and should not be truncated. If multiple responses to different questions are provided, all responses should be included, with the minimal context for the responses to make sense. Context should not be provided if questions were left unanswered.
optional string content = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the content field is set. |
hasIsAnonymous()
public abstract boolean hasIsAnonymous()
Optional. Set to true if the reviewer should remain anonymous.
optional bool is_anonymous = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the isAnonymous 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 rating.
optional int64 max_rating = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the maxRating field is set. |
hasMerchantDisplayName()
public abstract boolean hasMerchantDisplayName()
Optional. Human-readable display name for the merchant.
optional string merchant_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the merchantDisplayName field is set. |
hasMerchantId()
public abstract boolean hasMerchantId()
Required. Must be unique and stable across all requests. In other words, if a request today and another 90 days ago refer to the same merchant, they must have the same id.
optional string merchant_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the merchantId field is set. |
hasMerchantLink()
public abstract boolean hasMerchantLink()
Optional. URL to the merchant's main website. Do not use a redirect URL for this value. In other words, the value should point directly to the merchant's site.
optional string merchant_link = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the merchantLink field is set. |
hasMerchantRatingLink()
public abstract boolean hasMerchantRatingLink()
Optional. URL to the landing page that hosts the reviews for this merchant. Do not use a redirect URL.
optional string merchant_rating_link = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the merchantRatingLink field is set. |
hasMinRating()
public abstract boolean hasMinRating()
Optional. 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 = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the minRating field is set. |
hasRating()
public abstract boolean hasRating()
Optional. The reviewer's overall rating of the merchant.
optional double rating = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the rating field is set. |
hasReviewCountry()
public abstract boolean hasReviewCountry()
Optional. The country where the reviewer made the order defined by ISO 3166-1 Alpha-2 Country Code.
optional string review_country = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the reviewCountry field is set. |
hasReviewLanguage()
public abstract boolean hasReviewLanguage()
Required. The language of the review defined by BCP-47 language code.
optional string review_language = 15 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the reviewLanguage field is set. |
hasReviewTime()
public abstract boolean hasReviewTime()
Required. The timestamp indicating when the review was written.
optional .google.protobuf.Timestamp review_time = 14 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the reviewTime field is set. |
hasReviewerId()
public abstract boolean hasReviewerId()
Optional. A permanent, unique identifier for the author of the review in the publisher's system.
optional string reviewer_id = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the reviewerId field is set. |
hasReviewerUsername()
public abstract boolean hasReviewerUsername()
Optional. Display name of the review author.
optional string reviewer_username = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the reviewerUsername field is set. |
hasTitle()
public abstract boolean hasTitle()
Optional. The title of the review.
optional string title = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the title field is set. |