Package ai.wanaku.core.exchange.v1
Class ToolInvokeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ToolInvokeRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
ai.wanaku.core.exchange.v1.ToolInvokeRequest.Builder
- All Implemented Interfaces:
ToolInvokeRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
ToolInvokeRequest
public static final class ToolInvokeRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
implements ToolInvokeRequestOrBuilder
The invocation request messageProtobuf type
ai.wanaku.tool.v1.ToolInvokeRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()string body = 2;string configuration_uri = 4;string request_id = 9;string secrets_uri = 5;clearUri()string uri = 1;booleancontainsArguments(String key) map<string, string> arguments = 3;booleancontainsHeaders(String key) map<string, string> headers = 6;Deprecated.intmap<string, string> arguments = 3;map<string, string> arguments = 3;getArgumentsOrDefault(String key, String defaultValue) map<string, string> arguments = 3;map<string, string> arguments = 3;getBody()string body = 2;com.google.protobuf.ByteStringstring body = 2;string configuration_uri = 4;com.google.protobuf.ByteStringstring configuration_uri = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intmap<string, string> headers = 6;map<string, string> headers = 6;getHeadersOrDefault(String key, String defaultValue) map<string, string> headers = 6;getHeadersOrThrow(String key) map<string, string> headers = 6;Deprecated.Deprecated.string request_id = 9;com.google.protobuf.ByteStringstring request_id = 9;string secrets_uri = 5;com.google.protobuf.ByteStringstring secrets_uri = 5;getUri()string uri = 1;com.google.protobuf.ByteStringstring uri = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(ToolInvokeRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllArguments(Map<String, String> values) map<string, string> arguments = 3;putAllHeaders(Map<String, String> values) map<string, string> headers = 6;putArguments(String key, String value) map<string, string> arguments = 3;putHeaders(String key, String value) map<string, string> headers = 6;removeArguments(String key) map<string, string> arguments = 3;removeHeaders(String key) map<string, string> headers = 6;string body = 2;setBodyBytes(com.google.protobuf.ByteString value) string body = 2;setConfigurationUri(String value) string configuration_uri = 4;setConfigurationUriBytes(com.google.protobuf.ByteString value) string configuration_uri = 4;setRequestId(String value) string request_id = 9;setRequestIdBytes(com.google.protobuf.ByteString value) string request_id = 9;setSecretsUri(String value) string secrets_uri = 5;setSecretsUriBytes(com.google.protobuf.ByteString value) string secrets_uri = 5;string uri = 1;setUriBytes(com.google.protobuf.ByteString value) string uri = 1;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ToolInvokeRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ToolInvokeRequest.Builder>
-
mergeFrom
public ToolInvokeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ToolInvokeRequest.Builder>- Throws:
IOException
-
getUri
string uri = 1;- Specified by:
getUriin interfaceToolInvokeRequestOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()string uri = 1;- Specified by:
getUriBytesin interfaceToolInvokeRequestOrBuilder- Returns:
- The bytes for uri.
-
setUri
string uri = 1;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
string uri = 1;- Returns:
- This builder for chaining.
-
setUriBytes
string uri = 1;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getBody
string body = 2;- Specified by:
getBodyin interfaceToolInvokeRequestOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()string body = 2;- Specified by:
getBodyBytesin interfaceToolInvokeRequestOrBuilder- Returns:
- The bytes for body.
-
setBody
string body = 2;- Parameters:
value- The body to set.- Returns:
- This builder for chaining.
-
clearBody
string body = 2;- Returns:
- This builder for chaining.
-
setBodyBytes
string body = 2;- Parameters:
value- The bytes for body to set.- Returns:
- This builder for chaining.
-
getArgumentsCount
public int getArgumentsCount()Description copied from interface:ToolInvokeRequestOrBuildermap<string, string> arguments = 3;- Specified by:
getArgumentsCountin interfaceToolInvokeRequestOrBuilder
-
containsArguments
map<string, string> arguments = 3;- Specified by:
containsArgumentsin interfaceToolInvokeRequestOrBuilder
-
getArguments
Deprecated.UsegetArgumentsMap()instead.- Specified by:
getArgumentsin interfaceToolInvokeRequestOrBuilder
-
getArgumentsMap
map<string, string> arguments = 3;- Specified by:
getArgumentsMapin interfaceToolInvokeRequestOrBuilder
-
getArgumentsOrDefault
map<string, string> arguments = 3;- Specified by:
getArgumentsOrDefaultin interfaceToolInvokeRequestOrBuilder
-
getArgumentsOrThrow
map<string, string> arguments = 3;- Specified by:
getArgumentsOrThrowin interfaceToolInvokeRequestOrBuilder
-
clearArguments
-
removeArguments
map<string, string> arguments = 3; -
getMutableArguments
Deprecated.Use alternate mutation accessors instead. -
putArguments
map<string, string> arguments = 3; -
putAllArguments
map<string, string> arguments = 3; -
getConfigurationUri
string configuration_uri = 4;- Specified by:
getConfigurationUriin interfaceToolInvokeRequestOrBuilder- Returns:
- The configurationUri.
-
getConfigurationUriBytes
public com.google.protobuf.ByteString getConfigurationUriBytes()string configuration_uri = 4;- Specified by:
getConfigurationUriBytesin interfaceToolInvokeRequestOrBuilder- Returns:
- The bytes for configurationUri.
-
setConfigurationUri
string configuration_uri = 4;- Parameters:
value- The configurationUri to set.- Returns:
- This builder for chaining.
-
clearConfigurationUri
string configuration_uri = 4;- Returns:
- This builder for chaining.
-
setConfigurationUriBytes
string configuration_uri = 4;- Parameters:
value- The bytes for configurationUri to set.- Returns:
- This builder for chaining.
-
getSecretsUri
string secrets_uri = 5;- Specified by:
getSecretsUriin interfaceToolInvokeRequestOrBuilder- Returns:
- The secretsUri.
-
getSecretsUriBytes
public com.google.protobuf.ByteString getSecretsUriBytes()string secrets_uri = 5;- Specified by:
getSecretsUriBytesin interfaceToolInvokeRequestOrBuilder- Returns:
- The bytes for secretsUri.
-
setSecretsUri
string secrets_uri = 5;- Parameters:
value- The secretsUri to set.- Returns:
- This builder for chaining.
-
clearSecretsUri
string secrets_uri = 5;- Returns:
- This builder for chaining.
-
setSecretsUriBytes
string secrets_uri = 5;- Parameters:
value- The bytes for secretsUri to set.- Returns:
- This builder for chaining.
-
getHeadersCount
public int getHeadersCount()Description copied from interface:ToolInvokeRequestOrBuildermap<string, string> headers = 6;- Specified by:
getHeadersCountin interfaceToolInvokeRequestOrBuilder
-
containsHeaders
map<string, string> headers = 6;- Specified by:
containsHeadersin interfaceToolInvokeRequestOrBuilder
-
getHeaders
Deprecated.UsegetHeadersMap()instead.- Specified by:
getHeadersin interfaceToolInvokeRequestOrBuilder
-
getHeadersMap
map<string, string> headers = 6;- Specified by:
getHeadersMapin interfaceToolInvokeRequestOrBuilder
-
getHeadersOrDefault
map<string, string> headers = 6;- Specified by:
getHeadersOrDefaultin interfaceToolInvokeRequestOrBuilder
-
getHeadersOrThrow
map<string, string> headers = 6;- Specified by:
getHeadersOrThrowin interfaceToolInvokeRequestOrBuilder
-
clearHeaders
-
removeHeaders
map<string, string> headers = 6; -
getMutableHeaders
Deprecated.Use alternate mutation accessors instead. -
putHeaders
map<string, string> headers = 6; -
putAllHeaders
map<string, string> headers = 6; -
getRequestId
string request_id = 9;- Specified by:
getRequestIdin interfaceToolInvokeRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()string request_id = 9;- Specified by:
getRequestIdBytesin interfaceToolInvokeRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
string request_id = 9;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
string request_id = 9;- Returns:
- This builder for chaining.
-
setRequestIdBytes
string request_id = 9;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-