public interface ProductReviewOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCustomAttributes(int index)
public abstract CustomAttribute getCustomAttributes(int index)Optional. A list of custom (merchant-provided) attributes.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.CustomAttribute |
|
getCustomAttributesCount()
public abstract int getCustomAttributesCount()Optional. A list of custom (merchant-provided) attributes.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCustomAttributesList()
public abstract List<CustomAttribute> getCustomAttributesList()Optional. A list of custom (merchant-provided) attributes.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<com.google.shopping.type.CustomAttribute> |
|
getCustomAttributesOrBuilder(int index)
public abstract CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index)Optional. A list of custom (merchant-provided) attributes.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.CustomAttributeOrBuilder |
|
getCustomAttributesOrBuilderList()
public abstract List<? extends CustomAttributeOrBuilder> getCustomAttributesOrBuilderList()Optional. A list of custom (merchant-provided) attributes.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.type.CustomAttributeOrBuilder> |
|
getDataSource()
public abstract String getDataSource()Output only. The primary data source of the product review.
string data_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The dataSource. |
getDataSourceBytes()
public abstract ByteString getDataSourceBytes()Output only. The primary data source of the product review.
string data_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataSource. |
getName()
public abstract String getName() Identifier. The name of the product review.
Format:
"{productreview.name=accounts/{account}/productReviews/{productReview}}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. The name of the product review.
Format:
"{productreview.name=accounts/{account}/productReviews/{productReview}}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProductReviewAttributes()
public abstract ProductReviewAttributes getProductReviewAttributes()Optional. A list of product review attributes.
.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes product_review_attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProductReviewAttributes |
The productReviewAttributes. |
getProductReviewAttributesOrBuilder()
public abstract ProductReviewAttributesOrBuilder getProductReviewAttributesOrBuilder()Optional. A list of product review attributes.
.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes product_review_attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProductReviewAttributesOrBuilder |
|
getProductReviewId()
public abstract String getProductReviewId()Required. The permanent, unique identifier for the product review in the publisher’s system.
string product_review_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The productReviewId. |
getProductReviewIdBytes()
public abstract ByteString getProductReviewIdBytes()Required. The permanent, unique identifier for the product review in the publisher’s system.
string product_review_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for productReviewId. |
getProductReviewStatus()
public abstract ProductReviewStatus getProductReviewStatus()Output only. The status of a product review, data validation issues, that is, information about a product review computed asynchronously.
.google.shopping.merchant.reviews.v1beta.ProductReviewStatus product_review_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProductReviewStatus |
The productReviewStatus. |
getProductReviewStatusOrBuilder()
public abstract ProductReviewStatusOrBuilder getProductReviewStatusOrBuilder()Output only. The status of a product review, data validation issues, that is, information about a product review computed asynchronously.
.google.shopping.merchant.reviews.v1beta.ProductReviewStatus product_review_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProductReviewStatusOrBuilder |
|
hasProductReviewAttributes()
public abstract boolean hasProductReviewAttributes()Optional. A list of product review attributes.
.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes product_review_attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the productReviewAttributes field is set. |
hasProductReviewStatus()
public abstract boolean hasProductReviewStatus()Output only. The status of a product review, data validation issues, that is, information about a product review computed asynchronously.
.google.shopping.merchant.reviews.v1beta.ProductReviewStatus product_review_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the productReviewStatus field is set. |