public final class MerchantReview extends GeneratedMessageV3 implements MerchantReviewOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MERCHANT_REVIEW_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MERCHANT_REVIEW_STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static MerchantReview getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MerchantReview.Builder newBuilder()
public static MerchantReview.Builder newBuilder(MerchantReview prototype)
public static MerchantReview parseDelimitedFrom(InputStream input)
public static MerchantReview parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MerchantReview parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static MerchantReview parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MerchantReview parseFrom(ByteString data)
public static MerchantReview parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MerchantReview parseFrom(CodedInputStream input)
public static MerchantReview parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MerchantReview parseFrom(InputStream input)
public static MerchantReview parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MerchantReview parseFrom(ByteBuffer data)
public static MerchantReview parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MerchantReview> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public MerchantReviewAttributes getAttributes()
Optional. A list of merchant review attributes.
.google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
public MerchantReviewAttributesOrBuilder getAttributesOrBuilder()
Optional. A list of merchant review attributes.
.google.shopping.merchant.reviews.v1beta.MerchantReviewAttributes attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
public 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 |
|
public 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 |
|
public 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> |
|
public 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 |
|
public 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> |
|
public 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.
|
public 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.
|
public MerchantReview getDefaultInstanceForType()
public 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.
|
public 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.
|
public 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];
public 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];
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.
|
public 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.
|
public Parser<MerchantReview> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public 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.
|
public 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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MerchantReview.Builder newBuilderForType()
protected MerchantReview.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public MerchantReview.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides