public static final class Api.ChatReq.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder> implements Api.ChatReqOrBuilder
api.ChatReq| Modifier and Type | Method and Description |
|---|---|
Api.ChatReq.Builder |
addAllFunctions(Iterable<? extends Api.Function> values)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
addAllMessages(Iterable<? extends Api.Message> values)
User input prompt
|
Api.ChatReq.Builder |
addAllPlugins(Iterable<String> values)
optional list of plugins the model may call.
|
Api.ChatReq.Builder |
addFunctions(Api.Function.Builder builderForValue)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
addFunctions(Api.Function value)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
addFunctions(int index,
Api.Function.Builder builderForValue)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
addFunctions(int index,
Api.Function value)
optional list of functions the model may generate json inputs for.
|
Api.Function.Builder |
addFunctionsBuilder()
optional list of functions the model may generate json inputs for.
|
Api.Function.Builder |
addFunctionsBuilder(int index)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
addMessages(Api.Message.Builder builderForValue)
User input prompt
|
Api.ChatReq.Builder |
addMessages(Api.Message value)
User input prompt
|
Api.ChatReq.Builder |
addMessages(int index,
Api.Message.Builder builderForValue)
User input prompt
|
Api.ChatReq.Builder |
addMessages(int index,
Api.Message value)
User input prompt
|
Api.Message.Builder |
addMessagesBuilder()
User input prompt
|
Api.Message.Builder |
addMessagesBuilder(int index)
User input prompt
|
Api.ChatReq.Builder |
addPlugins(String value)
optional list of plugins the model may call.
|
Api.ChatReq.Builder |
addPluginsBytes(com.google.protobuf.ByteString value)
optional list of plugins the model may call.
|
Api.ChatReq.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Api.ChatReq |
build() |
Api.ChatReq |
buildPartial() |
Api.ChatReq.Builder |
clear() |
Api.ChatReq.Builder |
clearCryptoToken()
optional symmetric key to encrypt messages, the key itself is encrypted
with model's public key.
|
Api.ChatReq.Builder |
clearExtra() |
Api.ChatReq.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Api.ChatReq.Builder |
clearFunctions()
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
clearMessages()
User input prompt
|
Api.ChatReq.Builder |
clearMethod()
Method supports chat/tokenize/classification
|
Api.ChatReq.Builder |
clearModel()
Used model for inference
|
Api.ChatReq.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Api.ChatReq.Builder |
clearParameters()
API specific parameters
|
Api.ChatReq.Builder |
clearPlugins()
optional list of plugins the model may call.
|
Api.ChatReq.Builder |
clearReqId()
Unified request id
|
Api.ChatReq.Builder |
clearStream()
Whether use stream mode, if set, partial message deltas will be sent as
data-only server-sent events as they become available
The stream will be terminated by a data: [DONE]
|
Api.ChatReq.Builder |
clone() |
boolean |
containsExtra(String key)
extra info
|
String |
getCryptoToken()
optional symmetric key to encrypt messages, the key itself is encrypted
with model's public key.
|
com.google.protobuf.ByteString |
getCryptoTokenBytes()
optional symmetric key to encrypt messages, the key itself is encrypted
with model's public key.
|
Api.ChatReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getExtra()
Deprecated.
|
int |
getExtraCount()
extra info
|
Map<String,String> |
getExtraMap()
extra info
|
String |
getExtraOrDefault(String key,
String defaultValue)
extra info
|
String |
getExtraOrThrow(String key)
extra info
|
Api.Function |
getFunctions(int index)
optional list of functions the model may generate json inputs for.
|
Api.Function.Builder |
getFunctionsBuilder(int index)
optional list of functions the model may generate json inputs for.
|
List<Api.Function.Builder> |
getFunctionsBuilderList()
optional list of functions the model may generate json inputs for.
|
int |
getFunctionsCount()
optional list of functions the model may generate json inputs for.
|
List<Api.Function> |
getFunctionsList()
optional list of functions the model may generate json inputs for.
|
Api.FunctionOrBuilder |
getFunctionsOrBuilder(int index)
optional list of functions the model may generate json inputs for.
|
List<? extends Api.FunctionOrBuilder> |
getFunctionsOrBuilderList()
optional list of functions the model may generate json inputs for.
|
Api.Message |
getMessages(int index)
User input prompt
|
Api.Message.Builder |
getMessagesBuilder(int index)
User input prompt
|
List<Api.Message.Builder> |
getMessagesBuilderList()
User input prompt
|
int |
getMessagesCount()
User input prompt
|
List<Api.Message> |
getMessagesList()
User input prompt
|
Api.MessageOrBuilder |
getMessagesOrBuilder(int index)
User input prompt
|
List<? extends Api.MessageOrBuilder> |
getMessagesOrBuilderList()
User input prompt
|
String |
getMethod()
Method supports chat/tokenize/classification
|
com.google.protobuf.ByteString |
getMethodBytes()
Method supports chat/tokenize/classification
|
Api.Model |
getModel()
Used model for inference
|
Api.Model.Builder |
getModelBuilder()
Used model for inference
|
Api.ModelOrBuilder |
getModelOrBuilder()
Used model for inference
|
Map<String,String> |
getMutableExtra()
Deprecated.
|
Api.Parameters |
getParameters()
API specific parameters
|
Api.Parameters.Builder |
getParametersBuilder()
API specific parameters
|
Api.ParametersOrBuilder |
getParametersOrBuilder()
API specific parameters
|
String |
getPlugins(int index)
optional list of plugins the model may call.
|
com.google.protobuf.ByteString |
getPluginsBytes(int index)
optional list of plugins the model may call.
|
int |
getPluginsCount()
optional list of plugins the model may call.
|
com.google.protobuf.ProtocolStringList |
getPluginsList()
optional list of plugins the model may call.
|
String |
getReqId()
Unified request id
|
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
|
boolean |
getStream()
Whether use stream mode, if set, partial message deltas will be sent as
data-only server-sent events as they become available
The stream will be terminated by a data: [DONE]
|
boolean |
hasModel()
Used model for inference
|
boolean |
hasParameters()
API specific parameters
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Api.ChatReq.Builder |
mergeFrom(Api.ChatReq other) |
Api.ChatReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Api.ChatReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
Api.ChatReq.Builder |
mergeModel(Api.Model value)
Used model for inference
|
Api.ChatReq.Builder |
mergeParameters(Api.Parameters value)
API specific parameters
|
Api.ChatReq.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Api.ChatReq.Builder |
putAllExtra(Map<String,String> values)
extra info
|
Api.ChatReq.Builder |
putExtra(String key,
String value)
extra info
|
Api.ChatReq.Builder |
removeExtra(String key)
extra info
|
Api.ChatReq.Builder |
removeFunctions(int index)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
removeMessages(int index)
User input prompt
|
Api.ChatReq.Builder |
setCryptoToken(String value)
optional symmetric key to encrypt messages, the key itself is encrypted
with model's public key.
|
Api.ChatReq.Builder |
setCryptoTokenBytes(com.google.protobuf.ByteString value)
optional symmetric key to encrypt messages, the key itself is encrypted
with model's public key.
|
Api.ChatReq.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Api.ChatReq.Builder |
setFunctions(int index,
Api.Function.Builder builderForValue)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
setFunctions(int index,
Api.Function value)
optional list of functions the model may generate json inputs for.
|
Api.ChatReq.Builder |
setMessages(int index,
Api.Message.Builder builderForValue)
User input prompt
|
Api.ChatReq.Builder |
setMessages(int index,
Api.Message value)
User input prompt
|
Api.ChatReq.Builder |
setMethod(String value)
Method supports chat/tokenize/classification
|
Api.ChatReq.Builder |
setMethodBytes(com.google.protobuf.ByteString value)
Method supports chat/tokenize/classification
|
Api.ChatReq.Builder |
setModel(Api.Model.Builder builderForValue)
Used model for inference
|
Api.ChatReq.Builder |
setModel(Api.Model value)
Used model for inference
|
Api.ChatReq.Builder |
setParameters(Api.Parameters.Builder builderForValue)
API specific parameters
|
Api.ChatReq.Builder |
setParameters(Api.Parameters value)
API specific parameters
|
Api.ChatReq.Builder |
setPlugins(int index,
String value)
optional list of plugins the model may call.
|
Api.ChatReq.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Api.ChatReq.Builder |
setReqId(String value)
Unified request id
|
Api.ChatReq.Builder |
setReqIdBytes(com.google.protobuf.ByteString value)
Unified request id
|
Api.ChatReq.Builder |
setStream(boolean value)
Whether use stream mode, if set, partial message deltas will be sent as
data-only server-sent events as they become available
The stream will be terminated by a data: [DONE]
|
Api.ChatReq.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Api.ChatReq build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Api.ChatReq buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Api.ChatReq.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder mergeFrom(Api.ChatReq other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public Api.ChatReq.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Api.ChatReq.Builder>IOExceptionpublic boolean hasModel()
Used model for inference
.api.Model model = 1;hasModel in interface Api.ChatReqOrBuilderpublic Api.Model getModel()
Used model for inference
.api.Model model = 1;getModel in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setModel(Api.Model value)
Used model for inference
.api.Model model = 1;public Api.ChatReq.Builder setModel(Api.Model.Builder builderForValue)
Used model for inference
.api.Model model = 1;public Api.ChatReq.Builder mergeModel(Api.Model value)
Used model for inference
.api.Model model = 1;public Api.ChatReq.Builder clearModel()
Used model for inference
.api.Model model = 1;public Api.Model.Builder getModelBuilder()
Used model for inference
.api.Model model = 1;public Api.ModelOrBuilder getModelOrBuilder()
Used model for inference
.api.Model model = 1;getModelOrBuilder in interface Api.ChatReqOrBuilderpublic List<Api.Message> getMessagesList()
User input prompt
repeated .api.Message messages = 2;getMessagesList in interface Api.ChatReqOrBuilderpublic int getMessagesCount()
User input prompt
repeated .api.Message messages = 2;getMessagesCount in interface Api.ChatReqOrBuilderpublic Api.Message getMessages(int index)
User input prompt
repeated .api.Message messages = 2;getMessages in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setMessages(int index, Api.Message value)
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder setMessages(int index, Api.Message.Builder builderForValue)
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder addMessages(Api.Message value)
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder addMessages(int index, Api.Message value)
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder addMessages(Api.Message.Builder builderForValue)
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder addMessages(int index, Api.Message.Builder builderForValue)
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder addAllMessages(Iterable<? extends Api.Message> values)
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder clearMessages()
User input prompt
repeated .api.Message messages = 2;public Api.ChatReq.Builder removeMessages(int index)
User input prompt
repeated .api.Message messages = 2;public Api.Message.Builder getMessagesBuilder(int index)
User input prompt
repeated .api.Message messages = 2;public Api.MessageOrBuilder getMessagesOrBuilder(int index)
User input prompt
repeated .api.Message messages = 2;getMessagesOrBuilder in interface Api.ChatReqOrBuilderpublic List<? extends Api.MessageOrBuilder> getMessagesOrBuilderList()
User input prompt
repeated .api.Message messages = 2;getMessagesOrBuilderList in interface Api.ChatReqOrBuilderpublic Api.Message.Builder addMessagesBuilder()
User input prompt
repeated .api.Message messages = 2;public Api.Message.Builder addMessagesBuilder(int index)
User input prompt
repeated .api.Message messages = 2;public List<Api.Message.Builder> getMessagesBuilderList()
User input prompt
repeated .api.Message messages = 2;public boolean hasParameters()
API specific parameters
.api.Parameters parameters = 3;hasParameters in interface Api.ChatReqOrBuilderpublic Api.Parameters getParameters()
API specific parameters
.api.Parameters parameters = 3;getParameters in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setParameters(Api.Parameters value)
API specific parameters
.api.Parameters parameters = 3;public Api.ChatReq.Builder setParameters(Api.Parameters.Builder builderForValue)
API specific parameters
.api.Parameters parameters = 3;public Api.ChatReq.Builder mergeParameters(Api.Parameters value)
API specific parameters
.api.Parameters parameters = 3;public Api.ChatReq.Builder clearParameters()
API specific parameters
.api.Parameters parameters = 3;public Api.Parameters.Builder getParametersBuilder()
API specific parameters
.api.Parameters parameters = 3;public Api.ParametersOrBuilder getParametersOrBuilder()
API specific parameters
.api.Parameters parameters = 3;getParametersOrBuilder in interface Api.ChatReqOrBuilderpublic boolean getStream()
Whether use stream mode, if set, partial message deltas will be sent as data-only server-sent events as they become available The stream will be terminated by a data: [DONE]
bool stream = 4;getStream in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setStream(boolean value)
Whether use stream mode, if set, partial message deltas will be sent as data-only server-sent events as they become available The stream will be terminated by a data: [DONE]
bool stream = 4;value - The stream to set.public Api.ChatReq.Builder clearStream()
Whether use stream mode, if set, partial message deltas will be sent as data-only server-sent events as they become available The stream will be terminated by a data: [DONE]
bool stream = 4;public String getReqId()
Unified request id
string req_id = 5;getReqId in interface Api.ChatReqOrBuilderpublic com.google.protobuf.ByteString getReqIdBytes()
Unified request id
string req_id = 5;getReqIdBytes in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setReqId(String value)
Unified request id
string req_id = 5;value - The reqId to set.public Api.ChatReq.Builder clearReqId()
Unified request id
string req_id = 5;public Api.ChatReq.Builder setReqIdBytes(com.google.protobuf.ByteString value)
Unified request id
string req_id = 5;value - The bytes for reqId to set.public String getCryptoToken()
optional symmetric key to encrypt messages, the key itself is encrypted with model's public key.
string crypto_token = 6 [(.api.header) = "Ml-Maas-Crypto-Token"];getCryptoToken in interface Api.ChatReqOrBuilderpublic com.google.protobuf.ByteString getCryptoTokenBytes()
optional symmetric key to encrypt messages, the key itself is encrypted with model's public key.
string crypto_token = 6 [(.api.header) = "Ml-Maas-Crypto-Token"];getCryptoTokenBytes in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setCryptoToken(String value)
optional symmetric key to encrypt messages, the key itself is encrypted with model's public key.
string crypto_token = 6 [(.api.header) = "Ml-Maas-Crypto-Token"];value - The cryptoToken to set.public Api.ChatReq.Builder clearCryptoToken()
optional symmetric key to encrypt messages, the key itself is encrypted with model's public key.
string crypto_token = 6 [(.api.header) = "Ml-Maas-Crypto-Token"];public Api.ChatReq.Builder setCryptoTokenBytes(com.google.protobuf.ByteString value)
optional symmetric key to encrypt messages, the key itself is encrypted with model's public key.
string crypto_token = 6 [(.api.header) = "Ml-Maas-Crypto-Token"];value - The bytes for cryptoToken to set.public List<Api.Function> getFunctionsList()
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;getFunctionsList in interface Api.ChatReqOrBuilderpublic int getFunctionsCount()
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;getFunctionsCount in interface Api.ChatReqOrBuilderpublic Api.Function getFunctions(int index)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;getFunctions in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setFunctions(int index, Api.Function value)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder setFunctions(int index, Api.Function.Builder builderForValue)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder addFunctions(Api.Function value)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder addFunctions(int index, Api.Function value)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder addFunctions(Api.Function.Builder builderForValue)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder addFunctions(int index, Api.Function.Builder builderForValue)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder addAllFunctions(Iterable<? extends Api.Function> values)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder clearFunctions()
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.ChatReq.Builder removeFunctions(int index)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.Function.Builder getFunctionsBuilder(int index)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.FunctionOrBuilder getFunctionsOrBuilder(int index)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;getFunctionsOrBuilder in interface Api.ChatReqOrBuilderpublic List<? extends Api.FunctionOrBuilder> getFunctionsOrBuilderList()
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;getFunctionsOrBuilderList in interface Api.ChatReqOrBuilderpublic Api.Function.Builder addFunctionsBuilder()
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public Api.Function.Builder addFunctionsBuilder(int index)
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public List<Api.Function.Builder> getFunctionsBuilderList()
optional list of functions the model may generate json inputs for.
repeated .api.Function functions = 7;public com.google.protobuf.ProtocolStringList getPluginsList()
optional list of plugins the model may call.
repeated string plugins = 8;getPluginsList in interface Api.ChatReqOrBuilderpublic int getPluginsCount()
optional list of plugins the model may call.
repeated string plugins = 8;getPluginsCount in interface Api.ChatReqOrBuilderpublic String getPlugins(int index)
optional list of plugins the model may call.
repeated string plugins = 8;getPlugins in interface Api.ChatReqOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getPluginsBytes(int index)
optional list of plugins the model may call.
repeated string plugins = 8;getPluginsBytes in interface Api.ChatReqOrBuilderindex - The index of the value to return.public Api.ChatReq.Builder setPlugins(int index, String value)
optional list of plugins the model may call.
repeated string plugins = 8;index - The index to set the value at.value - The plugins to set.public Api.ChatReq.Builder addPlugins(String value)
optional list of plugins the model may call.
repeated string plugins = 8;value - The plugins to add.public Api.ChatReq.Builder addAllPlugins(Iterable<String> values)
optional list of plugins the model may call.
repeated string plugins = 8;values - The plugins to add.public Api.ChatReq.Builder clearPlugins()
optional list of plugins the model may call.
repeated string plugins = 8;public Api.ChatReq.Builder addPluginsBytes(com.google.protobuf.ByteString value)
optional list of plugins the model may call.
repeated string plugins = 8;value - The bytes of the plugins to add.public String getMethod()
Method supports chat/tokenize/classification
string method = 9;getMethod in interface Api.ChatReqOrBuilderpublic com.google.protobuf.ByteString getMethodBytes()
Method supports chat/tokenize/classification
string method = 9;getMethodBytes in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder setMethod(String value)
Method supports chat/tokenize/classification
string method = 9;value - The method to set.public Api.ChatReq.Builder clearMethod()
Method supports chat/tokenize/classification
string method = 9;public Api.ChatReq.Builder setMethodBytes(com.google.protobuf.ByteString value)
Method supports chat/tokenize/classification
string method = 9;value - The bytes for method to set.public int getExtraCount()
Api.ChatReqOrBuilderextra info
map<string, string> extra = 100;getExtraCount in interface Api.ChatReqOrBuilderpublic boolean containsExtra(String key)
extra info
map<string, string> extra = 100;containsExtra in interface Api.ChatReqOrBuilder@Deprecated public Map<String,String> getExtra()
getExtraMap() instead.getExtra in interface Api.ChatReqOrBuilderpublic Map<String,String> getExtraMap()
extra info
map<string, string> extra = 100;getExtraMap in interface Api.ChatReqOrBuilderpublic String getExtraOrDefault(String key, String defaultValue)
extra info
map<string, string> extra = 100;getExtraOrDefault in interface Api.ChatReqOrBuilderpublic String getExtraOrThrow(String key)
extra info
map<string, string> extra = 100;getExtraOrThrow in interface Api.ChatReqOrBuilderpublic Api.ChatReq.Builder clearExtra()
public Api.ChatReq.Builder removeExtra(String key)
extra info
map<string, string> extra = 100;@Deprecated public Map<String,String> getMutableExtra()
public Api.ChatReq.Builder putExtra(String key, String value)
extra info
map<string, string> extra = 100;public Api.ChatReq.Builder putAllExtra(Map<String,String> values)
extra info
map<string, string> extra = 100;public final Api.ChatReq.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>public final Api.ChatReq.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Api.ChatReq.Builder>Copyright © 2025. All rights reserved.