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.
 
  • Method Details

    • build

      protected ToolsGrpc.ToolsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ToolsGrpc.ToolsBlockingV2Stub>
    • createTool

      public Tool createTool(CreateToolRequest request) throws io.grpc.StatusException
       Creates a tool.
       
      Throws:
      io.grpc.StatusException
    • getTool

      public Tool getTool(GetToolRequest request) throws io.grpc.StatusException
       Retrieves a tool.
       
      Throws:
      io.grpc.StatusException
    • listTools

      public ListToolsResponse listTools(ListToolsRequest request) throws io.grpc.StatusException
       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

      public Tool updateTool(UpdateToolRequest request) throws io.grpc.StatusException
       Updates a tool.
       
      Throws:
      io.grpc.StatusException