public static final class ByteplusSaasRetail.PredictRequest.Context.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder> implements ByteplusSaasRetail.PredictRequest.ContextOrBuilder
The context of this request.Protobuf type
bytedance.byteplus.rec.retail.PredictRequest.ContextgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ByteplusSaasRetail.PredictRequest.Context build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasRetail.PredictRequest.Context buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ByteplusSaasRetail.PredictRequest.Context.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.Builder mergeFrom(ByteplusSaasRetail.PredictRequest.Context other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public ByteplusSaasRetail.PredictRequest.Context.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.PredictRequest.Context.Builder>IOExceptionpublic boolean hasRootProduct()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;hasRootProduct 在接口中 ByteplusSaasRetail.PredictRequest.ContextOrBuilderpublic ByteplusSaasRetail.Product getRootProduct()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;getRootProduct 在接口中 ByteplusSaasRetail.PredictRequest.ContextOrBuilderpublic ByteplusSaasRetail.PredictRequest.Context.Builder setRootProduct(ByteplusSaasRetail.Product value)
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;public ByteplusSaasRetail.PredictRequest.Context.Builder setRootProduct(ByteplusSaasRetail.Product.Builder builderForValue)
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;public ByteplusSaasRetail.PredictRequest.Context.Builder mergeRootProduct(ByteplusSaasRetail.Product value)
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;public ByteplusSaasRetail.PredictRequest.Context.Builder clearRootProduct()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;public ByteplusSaasRetail.Product.Builder getRootProductBuilder()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;public ByteplusSaasRetail.ProductOrBuilder getRootProductOrBuilder()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;public boolean hasDevice()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;hasDevice 在接口中 ByteplusSaasRetail.PredictRequest.ContextOrBuilderpublic ByteplusSaasRetail.Device getDevice()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;getDevice 在接口中 ByteplusSaasRetail.PredictRequest.ContextOrBuilderpublic ByteplusSaasRetail.PredictRequest.Context.Builder setDevice(ByteplusSaasRetail.Device value)
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;public ByteplusSaasRetail.PredictRequest.Context.Builder setDevice(ByteplusSaasRetail.Device.Builder builderForValue)
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;public ByteplusSaasRetail.PredictRequest.Context.Builder mergeDevice(ByteplusSaasRetail.Device value)
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;public ByteplusSaasRetail.PredictRequest.Context.Builder clearDevice()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;public ByteplusSaasRetail.Device.Builder getDeviceBuilder()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;public ByteplusSaasRetail.DeviceOrBuilder getDeviceOrBuilder()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;public List<ByteplusSaasRetail.Product> getCandidateProductsList()
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public int getCandidateProductsCount()
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.Product getCandidateProducts(int index)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder setCandidateProducts(int index, ByteplusSaasRetail.Product value)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder setCandidateProducts(int index, ByteplusSaasRetail.Product.Builder builderForValue)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder addCandidateProducts(ByteplusSaasRetail.Product value)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder addCandidateProducts(int index, ByteplusSaasRetail.Product value)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder addCandidateProducts(ByteplusSaasRetail.Product.Builder builderForValue)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder addCandidateProducts(int index, ByteplusSaasRetail.Product.Builder builderForValue)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder addAllCandidateProducts(Iterable<? extends ByteplusSaasRetail.Product> values)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder clearCandidateProducts()
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.PredictRequest.Context.Builder removeCandidateProducts(int index)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.Product.Builder getCandidateProductsBuilder(int index)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.ProductOrBuilder getCandidateProductsOrBuilder(int index)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public List<? extends ByteplusSaasRetail.ProductOrBuilder> getCandidateProductsOrBuilderList()
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.Product.Builder addCandidateProductsBuilder()
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public ByteplusSaasRetail.Product.Builder addCandidateProductsBuilder(int index)
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public List<ByteplusSaasRetail.Product.Builder> getCandidateProductsBuilderList()
Optional The list of candidates for the recommendation. If this is empty, all products are the candidates.
repeated .bytedance.byteplus.rec.retail.Product candidate_products = 4;public final ByteplusSaasRetail.PredictRequest.Context.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>public final ByteplusSaasRetail.PredictRequest.Context.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<ByteplusSaasRetail.PredictRequest.Context.Builder>Copyright © 2022. All rights reserved.