Class ToolServiceGrpc.ToolServiceStub (0.1.0)

public static final class ToolServiceGrpc.ToolServiceStub extends AbstractAsyncStub<ToolServiceGrpc.ToolServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ToolServiceGrpc.ToolServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

executeTool(ExecuteToolRequest request, StreamObserver<ExecuteToolResponse> responseObserver)

public void executeTool(ExecuteToolRequest request, StreamObserver<ExecuteToolResponse> responseObserver)

Executes the given tool with the given arguments.

Parameters
Name Description
request ExecuteToolRequest
responseObserver io.grpc.stub.StreamObserver<ExecuteToolResponse>

retrieveToolSchema(RetrieveToolSchemaRequest request, StreamObserver<RetrieveToolSchemaResponse> responseObserver)

public void retrieveToolSchema(RetrieveToolSchemaRequest request, StreamObserver<RetrieveToolSchemaResponse> responseObserver)

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

Parameters
Name Description
request RetrieveToolSchemaRequest
responseObserver io.grpc.stub.StreamObserver<RetrieveToolSchemaResponse>

retrieveTools(RetrieveToolsRequest request, StreamObserver<RetrieveToolsResponse> responseObserver)

public void retrieveTools(RetrieveToolsRequest request, StreamObserver<RetrieveToolsResponse> responseObserver)

Retrieve the list of tools included in the specified toolset.

Parameters
Name Description
request RetrieveToolsRequest
responseObserver io.grpc.stub.StreamObserver<RetrieveToolsResponse>