public static interface ByteplusSaasRetail.PredictRequest.ContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
ByteplusSaasRetail.Product |
getCandidateProducts(int index)
Optional
The list of candidates for the recommendation.
|
int |
getCandidateProductsCount()
Optional
The list of candidates for the recommendation.
|
List<ByteplusSaasRetail.Product> |
getCandidateProductsList()
Optional
The list of candidates for the recommendation.
|
ByteplusSaasRetail.ProductOrBuilder |
getCandidateProductsOrBuilder(int index)
Optional
The list of candidates for the recommendation.
|
List<? extends ByteplusSaasRetail.ProductOrBuilder> |
getCandidateProductsOrBuilderList()
Optional
The list of candidates for the recommendation.
|
ByteplusSaasRetail.Device |
getDevice()
Optional.
|
ByteplusSaasRetail.DeviceOrBuilder |
getDeviceOrBuilder()
Optional.
|
ByteplusSaasRetail.Product |
getRootProduct()
Optional.
|
ByteplusSaasRetail.ProductOrBuilder |
getRootProductOrBuilder()
Optional.
|
boolean |
hasDevice()
Optional.
|
boolean |
hasRootProduct()
Optional.
|
boolean hasRootProduct()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;ByteplusSaasRetail.Product getRootProduct()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;ByteplusSaasRetail.ProductOrBuilder getRootProductOrBuilder()
Optional. This is only required for product details page.
.bytedance.byteplus.rec.retail.Product root_product = 1;boolean hasDevice()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;ByteplusSaasRetail.Device getDevice()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;ByteplusSaasRetail.DeviceOrBuilder getDeviceOrBuilder()
Optional. Make sure this is as close to `UserEvent.device` as possible.
.bytedance.byteplus.rec.retail.Device device = 2;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;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;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;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;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;Copyright © 2022. All rights reserved.