Class ToolServiceGrpc.ToolServiceFutureStub (0.1.0)

public static final class ToolServiceGrpc.ToolServiceFutureStub extends AbstractFutureStub<ToolServiceGrpc.ToolServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ToolService.

Tool service provides APIs for interacting with CES tools.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ToolServiceGrpc.ToolServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ToolServiceGrpc.ToolServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ToolServiceGrpc.ToolServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

executeTool(ExecuteToolRequest request)

public ListenableFuture<ExecuteToolResponse> executeTool(ExecuteToolRequest request)

Executes the given tool with the given arguments.

Parameter
Name Description
request ExecuteToolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ExecuteToolResponse>

retrieveToolSchema(RetrieveToolSchemaRequest request)

public ListenableFuture<RetrieveToolSchemaResponse> retrieveToolSchema(RetrieveToolSchemaRequest request)

Retrieve the schema of the given tool. The schema is computed on the fly for the given instance of the tool.

Parameter
Name Description
request RetrieveToolSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RetrieveToolSchemaResponse>

retrieveTools(RetrieveToolsRequest request)

public ListenableFuture<RetrieveToolsResponse> retrieveTools(RetrieveToolsRequest request)

Retrieve the list of tools included in the specified toolset.

Parameter
Name Description
request RetrieveToolsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RetrieveToolsResponse>