public interface MerchantReviewOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAttributes()
public abstract MerchantReviewAttributes getAttributes()
Optional. A list of merchant review attributes.
.google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MerchantReviewAttributes |
The attributes. |
getAttributesOrBuilder()
public abstract MerchantReviewAttributesOrBuilder getAttributesOrBuilder()
Optional. A list of merchant review attributes.
.google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MerchantReviewAttributesOrBuilder |
getCustomAttributes(int index)
public abstract CustomAttribute getCustomAttributes(int index)
Required. A list of custom (merchant-provided) attributes. It can also be
used for submitting any attribute of the data specification in its generic
form (for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as experimental attributes.
Maximum allowed number of characters for each
custom attribute is 10240 (represents sum of characters for name and
value). Maximum 2500 custom attributes can be set per product, with total
size of 102.4kB. Underscores in custom attribute names are replaced by
spaces upon insertion.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.shopping.type.CustomAttribute |
getCustomAttributesCount()
public abstract int getCustomAttributesCount()
Required. A list of custom (merchant-provided) attributes. It can also be
used for submitting any attribute of the data specification in its generic
form (for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as experimental attributes.
Maximum allowed number of characters for each
custom attribute is 10240 (represents sum of characters for name and
value). Maximum 2500 custom attributes can be set per product, with total
size of 102.4kB. Underscores in custom attribute names are replaced by
spaces upon insertion.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getCustomAttributesList()
public abstract List<CustomAttribute> getCustomAttributesList()
Required. A list of custom (merchant-provided) attributes. It can also be
used for submitting any attribute of the data specification in its generic
form (for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as experimental attributes.
Maximum allowed number of characters for each
custom attribute is 10240 (represents sum of characters for name and
value). Maximum 2500 custom attributes can be set per product, with total
size of 102.4kB. Underscores in custom attribute names are replaced by
spaces upon insertion.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<com.google.shopping.type.CustomAttribute> |
getCustomAttributesOrBuilder(int index)
public abstract CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index)
Required. A list of custom (merchant-provided) attributes. It can also be
used for submitting any attribute of the data specification in its generic
form (for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as experimental attributes.
Maximum allowed number of characters for each
custom attribute is 10240 (represents sum of characters for name and
value). Maximum 2500 custom attributes can be set per product, with total
size of 102.4kB. Underscores in custom attribute names are replaced by
spaces upon insertion.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.shopping.type.CustomAttributeOrBuilder |
getCustomAttributesOrBuilderList()
public abstract List<? extends CustomAttributeOrBuilder> getCustomAttributesOrBuilderList()
Required. A list of custom (merchant-provided) attributes. It can also be
used for submitting any attribute of the data specification in its generic
form (for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as experimental attributes.
Maximum allowed number of characters for each
custom attribute is 10240 (represents sum of characters for name and
value). Maximum 2500 custom attributes can be set per product, with total
size of 102.4kB. Underscores in custom attribute names are replaced by
spaces upon insertion.
repeated .google.shopping.type.CustomAttribute custom_attributes = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.type.CustomAttributeOrBuilder> |
getDataSource()
public abstract String getDataSource()
Output only. The primary data source of the merchant 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 merchant review.
string data_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for dataSource. |
getMerchantReviewId()
public abstract String getMerchantReviewId()
Required. The user provided merchant review ID to uniquely identify the merchant review.
string merchant_review_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The merchantReviewId. |
getMerchantReviewIdBytes()
public abstract ByteString getMerchantReviewIdBytes()
Required. The user provided merchant review ID to uniquely identify the merchant review.
string merchant_review_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for merchantReviewId. |
getMerchantReviewStatus()
public abstract MerchantReviewStatus getMerchantReviewStatus()
Output only. The status of a merchant review, data validation issues, that is, information about a merchant review computed asynchronously.
.google.shopping.merchant.reviews.v1beta.MerchantReviewStatus merchant_review_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MerchantReviewStatus |
The merchantReviewStatus. |
getMerchantReviewStatusOrBuilder()
public abstract MerchantReviewStatusOrBuilder getMerchantReviewStatusOrBuilder()
Output only. The status of a merchant review, data validation issues, that is, information about a merchant review computed asynchronously.
.google.shopping.merchant.reviews.v1beta.MerchantReviewStatus merchant_review_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MerchantReviewStatusOrBuilder |
getName()
public abstract String getName()
Identifier. The name of the merchant review.
Format:
"{merchantreview.name=accounts/{account}/merchantReviews/{merchantReview}}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Identifier. The name of the merchant review.
Format:
"{merchantreview.name=accounts/{account}/merchantReviews/{merchantReview}}"
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
hasAttributes()
public abstract boolean hasAttributes()
Optional. A list of merchant review attributes.
.google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the attributes field is set. |
hasMerchantReviewStatus()
public abstract boolean hasMerchantReviewStatus()
Output only. The status of a merchant review, data validation issues, that is, information about a merchant review computed asynchronously.
.google.shopping.merchant.reviews.v1beta.MerchantReviewStatus merchant_review_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the merchantReviewStatus field is set. |