public static final class ByteplusSaasContent.PredictRequest extends com.google.protobuf.GeneratedMessageV3 implements ByteplusSaasContent.PredictRequestOrBuilder
The request proto for `Predict` call.Protobuf type
bytedance.byteplus.rec.content.PredictRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
ByteplusSaasContent.PredictRequest.Builder
The request proto for `Predict` call.
|
static class |
ByteplusSaasContent.PredictRequest.Context
The context of this request.
|
static interface |
ByteplusSaasContent.PredictRequest.ContextOrBuilder |
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 |
CONTENT_CONTEXT_FIELD_NUMBER |
static int |
EXTRA_FIELD_NUMBER |
static int |
FILTER_ITEMS_FIELD_NUMBER |
static int |
MODEL_ID_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
SCENE_FIELD_NUMBER |
static int |
SIZE_FIELD_NUMBER |
static int |
USER_ID_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 PROJECT_ID_FIELD_NUMBER
public static final int MODEL_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
public static final int SCENE_FIELD_NUMBER
public static final int CONTENT_CONTEXT_FIELD_NUMBER
public static final int FILTER_ITEMS_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 getProjectId()
Required Id of the recommendation project.
string project_id = 1;getProjectId 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required Id of the recommendation project.
string project_id = 1;getProjectIdBytes 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic String getModelId()
Required Recommended model unique identification.
string model_id = 2;getModelId 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic com.google.protobuf.ByteString getModelIdBytes()
Required Recommended model unique identification.
string model_id = 2;getModelIdBytes 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic String getUserId()
Required. This is same as `User.user_id`.
string user_id = 10;getUserId 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic com.google.protobuf.ByteString getUserIdBytes()
Required. This is same as `User.user_id`.
string user_id = 10;getUserIdBytes 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic int getSize()
Required. The maximum number of contents returned. The actual # of contents returned is the min of: `size` length(`context.candidates_content_ids`) total # of contents with `is_recommendable=True`
int32 size = 11;getSize 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic boolean hasScene()
Required. The scene for the recommendation.
.bytedance.byteplus.rec.content.Scene scene = 12;hasScene 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic ByteplusSaasContent.Scene getScene()
Required. The scene for the recommendation.
.bytedance.byteplus.rec.content.Scene scene = 12;getScene 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic ByteplusSaasContent.SceneOrBuilder getSceneOrBuilder()
Required. The scene for the recommendation.
.bytedance.byteplus.rec.content.Scene scene = 12;public boolean hasContentContext()
Optional. The context of this request.
.bytedance.byteplus.rec.content.PredictRequest.Context content_context = 14;hasContentContext 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic ByteplusSaasContent.PredictRequest.Context getContentContext()
Optional. The context of this request.
.bytedance.byteplus.rec.content.PredictRequest.Context content_context = 14;getContentContext 在接口中 ByteplusSaasContent.PredictRequestOrBuilderpublic ByteplusSaasContent.PredictRequest.ContextOrBuilder getContentContextOrBuilder()
Optional. The context of this request.
.bytedance.byteplus.rec.content.PredictRequest.Context content_context = 14;public List<ByteplusSaasContent.PredictFilterItem> getFilterItemsList()
Optional. Filter some IDs in recommendations
repeated .bytedance.byteplus.rec.content.PredictFilterItem filter_items = 15;public List<? extends ByteplusSaasContent.PredictFilterItemOrBuilder> getFilterItemsOrBuilderList()
Optional. Filter some IDs in recommendations
repeated .bytedance.byteplus.rec.content.PredictFilterItem filter_items = 15;public int getFilterItemsCount()
Optional. Filter some IDs in recommendations
repeated .bytedance.byteplus.rec.content.PredictFilterItem filter_items = 15;public ByteplusSaasContent.PredictFilterItem getFilterItems(int index)
Optional. Filter some IDs in recommendations
repeated .bytedance.byteplus.rec.content.PredictFilterItem filter_items = 15;public ByteplusSaasContent.PredictFilterItemOrBuilder getFilterItemsOrBuilder(int index)
Optional. Filter some IDs in recommendations
repeated .bytedance.byteplus.rec.content.PredictFilterItem filter_items = 15;public int getExtraCount()
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 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.public 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 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 ByteplusSaasContent.PredictRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasContent.PredictRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusSaasContent.PredictRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ByteplusSaasContent.PredictRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ByteplusSaasContent.PredictRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ByteplusSaasContent.PredictRequest.Builder newBuilder()
public static ByteplusSaasContent.PredictRequest.Builder newBuilder(ByteplusSaasContent.PredictRequest prototype)
public ByteplusSaasContent.PredictRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ByteplusSaasContent.PredictRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ByteplusSaasContent.PredictRequest getDefaultInstance()
public static com.google.protobuf.Parser<ByteplusSaasContent.PredictRequest> parser()
public com.google.protobuf.Parser<ByteplusSaasContent.PredictRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ByteplusSaasContent.PredictRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.