public static final class ByteplusSaasRetail.Product.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder> implements ByteplusSaasRetail.ProductOrBuilder
The product proto.Protobuf type
bytedance.byteplus.rec.retail.ProductgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ByteplusSaasRetail.Product build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasRetail.Product buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasRetail.Product.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder mergeFrom(ByteplusSaasRetail.Product other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public ByteplusSaasRetail.Product.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ByteplusSaasRetail.Product.Builder>IOExceptionpublic String getProductId()
Required. The unique identifier for the product. [link to best practices on deciding product ids](./ways-to-improve-recommendation-performance)
string product_id = 1;getProductId 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic com.google.protobuf.ByteString getProductIdBytes()
Required. The unique identifier for the product. [link to best practices on deciding product ids](./ways-to-improve-recommendation-performance)
string product_id = 1;getProductIdBytes 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setProductId(String value)
Required. The unique identifier for the product. [link to best practices on deciding product ids](./ways-to-improve-recommendation-performance)
string product_id = 1;value - The productId to set.public ByteplusSaasRetail.Product.Builder clearProductId()
Required. The unique identifier for the product. [link to best practices on deciding product ids](./ways-to-improve-recommendation-performance)
string product_id = 1;public ByteplusSaasRetail.Product.Builder setProductIdBytes(com.google.protobuf.ByteString value)
Required. The unique identifier for the product. [link to best practices on deciding product ids](./ways-to-improve-recommendation-performance)
string product_id = 1;value - The bytes for productId to set.public List<ByteplusSaasRetail.Product.Category> getCategoriesList()
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public int getCategoriesCount()
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Category getCategories(int index)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder setCategories(int index, ByteplusSaasRetail.Product.Category value)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder setCategories(int index, ByteplusSaasRetail.Product.Category.Builder builderForValue)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder addCategories(ByteplusSaasRetail.Product.Category value)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder addCategories(int index, ByteplusSaasRetail.Product.Category value)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder addCategories(ByteplusSaasRetail.Product.Category.Builder builderForValue)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder addCategories(int index, ByteplusSaasRetail.Product.Category.Builder builderForValue)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder addAllCategories(Iterable<? extends ByteplusSaasRetail.Product.Category> values)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder clearCategories()
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Builder removeCategories(int index)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Category.Builder getCategoriesBuilder(int index)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.CategoryOrBuilder getCategoriesOrBuilder(int index)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public List<? extends ByteplusSaasRetail.Product.CategoryOrBuilder> getCategoriesOrBuilderList()
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Category.Builder addCategoriesBuilder()
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public ByteplusSaasRetail.Product.Category.Builder addCategoriesBuilder(int index)
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public List<ByteplusSaasRetail.Product.Category.Builder> getCategoriesBuilderList()
Required.
The categorical information of the product.
Missing this will significantly hurt the performance.
For example, if a product has "Shoes -> Men's Shoes -> Basketball Shoes"
This should be:
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's Shoes"}] },
{"category_depth":3,
"category_nodes": [{"id_or_name":"Basketball Shoes"}] },
]
If a product belongs to 2 different categories,
"Shoes -> Men's shoes" and "Sports -> Basketball"
then
[
{"category_depth":1,
"category_nodes": [{"id_or_name":"Shoes"},
{"id_or_name":"Sports"}] },
{"category_depth":2,
"category_nodes": [{"id_or_name":"Men's shoes"},
{"id_or_name":"Basketball"}] },
]
repeated .bytedance.byteplus.rec.retail.Product.Category categories = 2;public List<ByteplusSaasRetail.Product.Brand> getBrandsList()
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public int getBrandsCount()
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Brand getBrands(int index)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;getBrands 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setBrands(int index, ByteplusSaasRetail.Product.Brand value)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder setBrands(int index, ByteplusSaasRetail.Product.Brand.Builder builderForValue)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder addBrands(ByteplusSaasRetail.Product.Brand value)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder addBrands(int index, ByteplusSaasRetail.Product.Brand value)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder addBrands(ByteplusSaasRetail.Product.Brand.Builder builderForValue)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder addBrands(int index, ByteplusSaasRetail.Product.Brand.Builder builderForValue)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder addAllBrands(Iterable<? extends ByteplusSaasRetail.Product.Brand> values)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder clearBrands()
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Builder removeBrands(int index)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Brand.Builder getBrandsBuilder(int index)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.BrandOrBuilder getBrandsOrBuilder(int index)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public List<? extends ByteplusSaasRetail.Product.BrandOrBuilder> getBrandsOrBuilderList()
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Brand.Builder addBrandsBuilder()
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public ByteplusSaasRetail.Product.Brand.Builder addBrandsBuilder(int index)
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public List<ByteplusSaasRetail.Product.Brand.Builder> getBrandsBuilderList()
Required.
Missing this will significantly hurt the performance.
The order should be asending on depth.
For example, if a product belongs to "Adidas -> Yeezy",
this field should be:
[
{"brand_depth": 1, "id_or_name":"Adidas"},
{"brand_depth": 2, "id_or_name":"Yeezy"},
]
repeated .bytedance.byteplus.rec.retail.Product.Brand brands = 3;public boolean hasPrice()
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;hasPrice 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Price getPrice()
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;getPrice 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setPrice(ByteplusSaasRetail.Product.Price value)
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;public ByteplusSaasRetail.Product.Builder setPrice(ByteplusSaasRetail.Product.Price.Builder builderForValue)
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;public ByteplusSaasRetail.Product.Builder mergePrice(ByteplusSaasRetail.Product.Price value)
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;public ByteplusSaasRetail.Product.Builder clearPrice()
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;public ByteplusSaasRetail.Product.Price.Builder getPriceBuilder()
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;public ByteplusSaasRetail.Product.PriceOrBuilder getPriceOrBuilder()
Required. The product price info. Please make sure the accuracy and recency.
.bytedance.byteplus.rec.retail.Product.Price price = 4;public int getIsRecommendable()
Required. 1 if the product is recommendable (result in `Predict` call). 0 if the product isn't recommendable. Note: Any change of this takes up to 1 hour to take effect. Note: Even if a product isn't recommendable, please still send this to us. This is because that users might interact with such products historically, therefore it provides reasonably strong signals.
int32 is_recommendable = 5;getIsRecommendable 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setIsRecommendable(int value)
Required. 1 if the product is recommendable (result in `Predict` call). 0 if the product isn't recommendable. Note: Any change of this takes up to 1 hour to take effect. Note: Even if a product isn't recommendable, please still send this to us. This is because that users might interact with such products historically, therefore it provides reasonably strong signals.
int32 is_recommendable = 5;value - The isRecommendable to set.public ByteplusSaasRetail.Product.Builder clearIsRecommendable()
Required. 1 if the product is recommendable (result in `Predict` call). 0 if the product isn't recommendable. Note: Any change of this takes up to 1 hour to take effect. Note: Even if a product isn't recommendable, please still send this to us. This is because that users might interact with such products historically, therefore it provides reasonably strong signals.
int32 is_recommendable = 5;public String getTitle()
Required. The product title.
string title = 6;getTitle 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
Required. The product title.
string title = 6;getTitleBytes 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setTitle(String value)
Required. The product title.
string title = 6;value - The title to set.public ByteplusSaasRetail.Product.Builder clearTitle()
Required. The product title.
string title = 6;public ByteplusSaasRetail.Product.Builder setTitleBytes(com.google.protobuf.ByteString value)
Required. The product title.
string title = 6;value - The bytes for title to set.public double getQualityScore()
Optional. The product quality score. Note: this is different than user ratings. It is normally computed as a composite score considering many factors, including sales, customer feedback, information completeness, etc. This score should be normalized to [1.0, 5.0]
double quality_score = 7;getQualityScore 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setQualityScore(double value)
Optional. The product quality score. Note: this is different than user ratings. It is normally computed as a composite score considering many factors, including sales, customer feedback, information completeness, etc. This score should be normalized to [1.0, 5.0]
double quality_score = 7;value - The qualityScore to set.public ByteplusSaasRetail.Product.Builder clearQualityScore()
Optional. The product quality score. Note: this is different than user ratings. It is normally computed as a composite score considering many factors, including sales, customer feedback, information completeness, etc. This score should be normalized to [1.0, 5.0]
double quality_score = 7;public com.google.protobuf.ProtocolStringList getTagsList()
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;getTagsList 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic int getTagsCount()
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;getTagsCount 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic String getTags(int index)
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;getTags 在接口中 ByteplusSaasRetail.ProductOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;getTagsBytes 在接口中 ByteplusSaasRetail.ProductOrBuilderindex - The index of the value to return.public ByteplusSaasRetail.Product.Builder setTags(int index, String value)
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;index - The index to set the value at.value - The tags to set.public ByteplusSaasRetail.Product.Builder addTags(String value)
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;value - The tags to add.public ByteplusSaasRetail.Product.Builder addAllTags(Iterable<String> values)
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;values - The tags to add.public ByteplusSaasRetail.Product.Builder clearTags()
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;public ByteplusSaasRetail.Product.Builder addTagsBytes(com.google.protobuf.ByteString value)
Optional. The tags given by the seller for this product. This is used to lift the performance. Sample values are: "New", "Summer", "Clearance", etc.
repeated string tags = 8;value - The bytes of the tags to add.public boolean hasDisplay()
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;hasDisplay 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Display getDisplay()
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;getDisplay 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setDisplay(ByteplusSaasRetail.Product.Display value)
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;public ByteplusSaasRetail.Product.Builder setDisplay(ByteplusSaasRetail.Product.Display.Builder builderForValue)
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;public ByteplusSaasRetail.Product.Builder mergeDisplay(ByteplusSaasRetail.Product.Display value)
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;public ByteplusSaasRetail.Product.Builder clearDisplay()
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;public ByteplusSaasRetail.Product.Display.Builder getDisplayBuilder()
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;public ByteplusSaasRetail.Product.DisplayOrBuilder getDisplayOrBuilder()
Optional. The display information of the product.
.bytedance.byteplus.rec.retail.Product.Display display = 9;public boolean hasProductSpec()
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;hasProductSpec 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.ProductSpec getProductSpec()
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;getProductSpec 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setProductSpec(ByteplusSaasRetail.Product.ProductSpec value)
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;public ByteplusSaasRetail.Product.Builder setProductSpec(ByteplusSaasRetail.Product.ProductSpec.Builder builderForValue)
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;public ByteplusSaasRetail.Product.Builder mergeProductSpec(ByteplusSaasRetail.Product.ProductSpec value)
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;public ByteplusSaasRetail.Product.Builder clearProductSpec()
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;public ByteplusSaasRetail.Product.ProductSpec.Builder getProductSpecBuilder()
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;public ByteplusSaasRetail.Product.ProductSpecOrBuilder getProductSpecOrBuilder()
Optional. The product specs.
.bytedance.byteplus.rec.retail.Product.ProductSpec product_spec = 10;public boolean hasSeller()
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;hasSeller 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Seller getSeller()
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;getSeller 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic ByteplusSaasRetail.Product.Builder setSeller(ByteplusSaasRetail.Product.Seller value)
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;public ByteplusSaasRetail.Product.Builder setSeller(ByteplusSaasRetail.Product.Seller.Builder builderForValue)
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;public ByteplusSaasRetail.Product.Builder mergeSeller(ByteplusSaasRetail.Product.Seller value)
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;public ByteplusSaasRetail.Product.Builder clearSeller()
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;public ByteplusSaasRetail.Product.Seller.Builder getSellerBuilder()
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;public ByteplusSaasRetail.Product.SellerOrBuilder getSellerOrBuilder()
Optional. The seller proto.
.bytedance.byteplus.rec.retail.Product.Seller seller = 11;public int getExtraCount()
ByteplusSaasRetail.ProductOrBuilderOptional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public boolean containsExtra(String key)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;@Deprecated public Map<String,String> getExtra()
getExtraMap() instead.getExtra 在接口中 ByteplusSaasRetail.ProductOrBuilderpublic Map<String,String> getExtraMap()
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public String getExtraOrDefault(String key, String defaultValue)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public String getExtraOrThrow(String key)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public ByteplusSaasRetail.Product.Builder clearExtra()
public ByteplusSaasRetail.Product.Builder removeExtra(String key)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;@Deprecated public Map<String,String> getMutableExtra()
public ByteplusSaasRetail.Product.Builder putExtra(String key, String value)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public ByteplusSaasRetail.Product.Builder putAllExtra(Map<String,String> values)
Optional. This is a catch-all field to pass all the additional information. Please provide as much information as possible.
map<string, string> extra = 100;public final ByteplusSaasRetail.Product.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>public final ByteplusSaasRetail.Product.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.Product.Builder>Copyright © 2022. All rights reserved.