public static final class ByteplusSaasRetail.Product.ProductSpec extends com.google.protobuf.GeneratedMessageV3 implements ByteplusSaasRetail.Product.ProductSpecOrBuilder
The detailed product specs.Protobuf type
bytedance.byteplus.rec.retail.Product.ProductSpec| 限定符和类型 | 类和说明 |
|---|---|
static class |
ByteplusSaasRetail.Product.ProductSpec.Builder
The detailed product specs.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COMMENT_COUNT_FIELD_NUMBER |
static int |
PRODUCT_GROUP_ID_FIELD_NUMBER |
static int |
PUBLISH_TIMESTAMP_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
USER_RATING_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PRODUCT_GROUP_ID_FIELD_NUMBER
public static final int USER_RATING_FIELD_NUMBER
public static final int COMMENT_COUNT_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int PUBLISH_TIMESTAMP_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public 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;getProductGroupId 在接口中 ByteplusSaasRetail.Product.ProductSpecOrBuilderpublic 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;getProductGroupIdBytes 在接口中 ByteplusSaasRetail.Product.ProductSpecOrBuilderpublic double getUserRating()
Optional. The rating given by the users. The value is normalized to [0.0, 5.0].
double user_rating = 2;getUserRating 在接口中 ByteplusSaasRetail.Product.ProductSpecOrBuilderpublic int getCommentCount()
Optional. The # of comments for this product.
int32 comment_count = 3;getCommentCount 在接口中 ByteplusSaasRetail.Product.ProductSpecOrBuilderpublic String getSource()
Optional. The source of the product. The accepted values are ["self", "thirdparty", "other"].
string source = 4;getSource 在接口中 ByteplusSaasRetail.Product.ProductSpecOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
Optional. The source of the product. The accepted values are ["self", "thirdparty", "other"].
string source = 4;getSourceBytes 在接口中 ByteplusSaasRetail.Product.ProductSpecOrBuilderpublic long getPublishTimestamp()
Optional. The time that the product is on sales.
int64 publish_timestamp = 5;getPublishTimestamp 在接口中 ByteplusSaasRetail.Product.ProductSpecOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ByteplusSaasRetail.Product.ProductSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ByteplusSaasRetail.Product.ProductSpec.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ByteplusSaasRetail.Product.ProductSpec.Builder newBuilder()
public static ByteplusSaasRetail.Product.ProductSpec.Builder newBuilder(ByteplusSaasRetail.Product.ProductSpec prototype)
public ByteplusSaasRetail.Product.ProductSpec.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ByteplusSaasRetail.Product.ProductSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ByteplusSaasRetail.Product.ProductSpec getDefaultInstance()
public static com.google.protobuf.Parser<ByteplusSaasRetail.Product.ProductSpec> parser()
public com.google.protobuf.Parser<ByteplusSaasRetail.Product.ProductSpec> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ByteplusSaasRetail.Product.ProductSpec getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.