public static interface ByteplusSaasRetail.Product.ProductSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCommentCount()
Optional.
|
String |
getProductGroupId()
Required.
|
com.google.protobuf.ByteString |
getProductGroupIdBytes()
Required.
|
long |
getPublishTimestamp()
Optional.
|
String |
getSource()
Optional.
|
com.google.protobuf.ByteString |
getSourceBytes()
Optional.
|
double |
getUserRating()
Optional.
|
String getProductGroupId()
Required. The product group id. For example, the beer (same brand) might have 6-pack, 12-pack, etc, each has a different `product_id`, then they should have the `same product_group_id`
string product_group_id = 1;com.google.protobuf.ByteString getProductGroupIdBytes()
Required. The product group id. For example, the beer (same brand) might have 6-pack, 12-pack, etc, each has a different `product_id`, then they should have the `same product_group_id`
string product_group_id = 1;double getUserRating()
Optional. The rating given by the users. The value is normalized to [0.0, 5.0].
double user_rating = 2;int getCommentCount()
Optional. The # of comments for this product.
int32 comment_count = 3;String getSource()
Optional. The source of the product. The accepted values are ["self", "thirdparty", "other"].
string source = 4;com.google.protobuf.ByteString getSourceBytes()
Optional. The source of the product. The accepted values are ["self", "thirdparty", "other"].
string source = 4;long getPublishTimestamp()
Optional. The time that the product is on sales.
int64 publish_timestamp = 5;Copyright © 2022. All rights reserved.