public static final class ByteplusSaasRetail.PredictResult.ResponseProduct extends com.google.protobuf.GeneratedMessageV3 implements ByteplusSaasRetail.PredictResult.ResponseProductOrBuilder
The response of a product.Protobuf type
bytedance.byteplus.rec.retail.PredictResult.ResponseProduct| 限定符和类型 | 类和说明 |
|---|---|
static class |
ByteplusSaasRetail.PredictResult.ResponseProduct.Builder
The response of a product.
|
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 |
EXTRA_FIELD_NUMBER |
static int |
PCTR_FIELD_NUMBER |
static int |
PCVR_FIELD_NUMBER |
static int |
PRODUCT_ID_FIELD_NUMBER |
static int |
RANK_FIELD_NUMBER |
static int |
REC_INFO_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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_ID_FIELD_NUMBER
public static final int RANK_FIELD_NUMBER
public static final int PCTR_FIELD_NUMBER
public static final int PCVR_FIELD_NUMBER
public static final int REC_INFO_FIELD_NUMBER
public static final int EXTRA_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.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getProductId()
Output only. The product id. This is consistent with `Product.product_id`.
string product_id = 1;getProductId 在接口中 ByteplusSaasRetail.PredictResult.ResponseProductOrBuilderpublic com.google.protobuf.ByteString getProductIdBytes()
Output only. The product id. This is consistent with `Product.product_id`.
string product_id = 1;getProductIdBytes 在接口中 ByteplusSaasRetail.PredictResult.ResponseProductOrBuilderpublic int getRank()
Output only. This is the 1-based ranking of the product.
int32 rank = 2;getRank 在接口中 ByteplusSaasRetail.PredictResult.ResponseProductOrBuilderpublic double getPctr()
Output only. The is the predicted CTR.
double pctr = 3;getPctr 在接口中 ByteplusSaasRetail.PredictResult.ResponseProductOrBuilderpublic double getPcvr()
Output only. This is the predicted CVR.
double pcvr = 4;getPcvr 在接口中 ByteplusSaasRetail.PredictResult.ResponseProductOrBuilderpublic String getRecInfo()
Output only. The strategy used for this particular recommendation result.
string rec_info = 5;getRecInfo 在接口中 ByteplusSaasRetail.PredictResult.ResponseProductOrBuilderpublic com.google.protobuf.ByteString getRecInfoBytes()
Output only. The strategy used for this particular recommendation result.
string rec_info = 5;getRecInfoBytes 在接口中 ByteplusSaasRetail.PredictResult.ResponseProductOrBuilderpublic int getExtraCount()
Output only. All the extra debug info here.
map<string, string> extra = 100;public boolean containsExtra(String key)
Output only. All the extra debug info here.
map<string, string> extra = 100;@Deprecated public Map<String,String> getExtra()
getExtraMap() instead.public Map<String,String> getExtraMap()
Output only. All the extra debug info here.
map<string, string> extra = 100;public String getExtraOrDefault(String key, String defaultValue)
Output only. All the extra debug info here.
map<string, string> extra = 100;public String getExtraOrThrow(String key)
Output only. All the extra debug info here.
map<string, string> extra = 100;public 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.PredictResult.ResponseProduct parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ByteplusSaasRetail.PredictResult.ResponseProduct parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ByteplusSaasRetail.PredictResult.ResponseProduct.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ByteplusSaasRetail.PredictResult.ResponseProduct.Builder newBuilder()
public static ByteplusSaasRetail.PredictResult.ResponseProduct.Builder newBuilder(ByteplusSaasRetail.PredictResult.ResponseProduct prototype)
public ByteplusSaasRetail.PredictResult.ResponseProduct.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ByteplusSaasRetail.PredictResult.ResponseProduct.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ByteplusSaasRetail.PredictResult.ResponseProduct getDefaultInstance()
public static com.google.protobuf.Parser<ByteplusSaasRetail.PredictResult.ResponseProduct> parser()
public com.google.protobuf.Parser<ByteplusSaasRetail.PredictResult.ResponseProduct> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ByteplusSaasRetail.PredictResult.ResponseProduct getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.