Interface ProductReviewOrBuilder (0.1.0)

public interface ProductReviewOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributes()

public abstract ProductReviewAttributes getAttributes()

Optional. A list of product review attributes.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductReviewAttributes

The attributes.

getAttributesOrBuilder()

public abstract ProductReviewAttributesOrBuilder getAttributesOrBuilder()

Optional. A list of product review attributes.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductReviewAttributesOrBuilder

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.

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

hasAttributes()

public abstract boolean hasAttributes()

Optional. A list of product review attributes.

.google.shopping.merchant.reviews.v1beta.ProductReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

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