Package com.google.cloud.dialogflow.v2
Class ToolsGrpc.ToolsFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ToolsGrpc.ToolsFutureStub>
com.google.cloud.dialogflow.v2.ToolsGrpc.ToolsFutureStub
- Enclosing class:
- ToolsGrpc
public static final class ToolsGrpc.ToolsFutureStub
extends io.grpc.stub.AbstractFutureStub<ToolsGrpc.ToolsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Tools.
Tool Service for LLM powered Agent Assist. Tools can be used to interact with remote APIs (e.g. fetching orders) to retrieve additional information as input to LLM.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected ToolsGrpc.ToolsFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Tool>createTool(CreateToolRequest request) Creates a tool.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteTool(DeleteToolRequest request) Deletes a tool.com.google.common.util.concurrent.ListenableFuture<Tool>getTool(GetToolRequest request) Retrieves a tool.com.google.common.util.concurrent.ListenableFuture<ListToolsResponse>listTools(ListToolsRequest request) Lists tools.com.google.common.util.concurrent.ListenableFuture<Tool>updateTool(UpdateToolRequest request) Updates a tool.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<ToolsGrpc.ToolsFutureStub>
-
createTool
public com.google.common.util.concurrent.ListenableFuture<Tool> createTool(CreateToolRequest request) Creates a tool.
-
getTool
Retrieves a tool.
-
listTools
public com.google.common.util.concurrent.ListenableFuture<ListToolsResponse> listTools(ListToolsRequest request) Lists tools.
-
deleteTool
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTool(DeleteToolRequest request) Deletes a tool.
-
updateTool
public com.google.common.util.concurrent.ListenableFuture<Tool> updateTool(UpdateToolRequest request) Updates a tool.
-