Package com.google.cloud.dialogflow.v2
Class ToolsGrpc.ToolsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ToolsGrpc.ToolsBlockingV2Stub>
com.google.cloud.dialogflow.v2.ToolsGrpc.ToolsBlockingV2Stub
- Enclosing class:
- ToolsGrpc
public static final class ToolsGrpc.ToolsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ToolsGrpc.ToolsBlockingV2Stub>
A stub to allow clients to do synchronous 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.ToolsBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createTool(CreateToolRequest request) Creates a tool.com.google.protobuf.EmptydeleteTool(DeleteToolRequest request) Deletes a tool.getTool(GetToolRequest request) Retrieves a tool.listTools(ListToolsRequest request) Lists tools.updateTool(UpdateToolRequest request) Updates a tool.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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
protected ToolsGrpc.ToolsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ToolsGrpc.ToolsBlockingV2Stub>
-
createTool
Creates a tool.
- Throws:
io.grpc.StatusException
-
getTool
Retrieves a tool.
- Throws:
io.grpc.StatusException
-
listTools
Lists tools.
- Throws:
io.grpc.StatusException
-
deleteTool
public com.google.protobuf.Empty deleteTool(DeleteToolRequest request) throws io.grpc.StatusException Deletes a tool.
- Throws:
io.grpc.StatusException
-
updateTool
Updates a tool.
- Throws:
io.grpc.StatusException
-