Package com.google.cloud.dialogflow.v2
Class ToolsGrpc.ToolsStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ToolsGrpc.ToolsStub>
com.google.cloud.dialogflow.v2.ToolsGrpc.ToolsStub
- Enclosing class:
- ToolsGrpc
public static final class ToolsGrpc.ToolsStub
extends io.grpc.stub.AbstractAsyncStub<ToolsGrpc.ToolsStub>
A stub to allow clients to do asynchronous 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.ToolsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateTool(CreateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Creates a tool.voiddeleteTool(DeleteToolRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a tool.voidgetTool(GetToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Retrieves a tool.voidlistTools(ListToolsRequest request, io.grpc.stub.StreamObserver<ListToolsResponse> responseObserver) Lists tools.voidupdateTool(UpdateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Updates a tool.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.ToolsStub>
-
createTool
public void createTool(CreateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Creates a tool.
-
getTool
Retrieves a tool.
-
listTools
public void listTools(ListToolsRequest request, io.grpc.stub.StreamObserver<ListToolsResponse> responseObserver) Lists tools.
-
deleteTool
public void deleteTool(DeleteToolRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a tool.
-
updateTool
public void updateTool(UpdateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Updates a tool.
-