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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<Tool>
    Creates a tool.
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
    Deletes a tool.
    com.google.common.util.concurrent.ListenableFuture<Tool>
    Retrieves a tool.
    com.google.common.util.concurrent.ListenableFuture<ListToolsResponse>
    Lists tools.
    com.google.common.util.concurrent.ListenableFuture<Tool>
    Updates a tool.

    Methods inherited from class io.grpc.stub.AbstractFutureStub

    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.ToolsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ToolsGrpc.ToolsFutureStub>
    • createTool

      public com.google.common.util.concurrent.ListenableFuture<Tool> createTool(CreateToolRequest request)
       Creates a tool.
       
    • getTool

      public com.google.common.util.concurrent.ListenableFuture<Tool> getTool(GetToolRequest request)
       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.