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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    createTool(CreateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver)
    Creates a tool.
    void
    deleteTool(DeleteToolRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    Deletes a tool.
    void
    getTool(GetToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver)
    Retrieves a tool.
    void
    listTools(ListToolsRequest request, io.grpc.stub.StreamObserver<ListToolsResponse> responseObserver)
    Lists tools.
    void
    updateTool(UpdateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver)
    Updates a tool.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

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

      public void createTool(CreateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver)
       Creates a tool.
       
    • getTool

      public void getTool(GetToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver)
       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.