Class ToolServiceGrpc.ToolServiceBlockingStub (0.1.0)

public static final class ToolServiceGrpc.ToolServiceBlockingStub extends AbstractBlockingStub<ToolServiceGrpc.ToolServiceBlockingStub>

A stub to allow clients to do limited synchronous 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.AbstractBlockingStub > ToolServiceGrpc.ToolServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

executeTool(ExecuteToolRequest request)

public ExecuteToolResponse executeTool(ExecuteToolRequest request)

Executes the given tool with the given arguments.

Parameter
Name Description
request ExecuteToolRequest
Returns
Type Description
ExecuteToolResponse

retrieveToolSchema(RetrieveToolSchemaRequest request)

public 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
RetrieveToolSchemaResponse

retrieveTools(RetrieveToolsRequest request)

public RetrieveToolsResponse retrieveTools(RetrieveToolsRequest request)

Retrieve the list of tools included in the specified toolset.

Parameter
Name Description
request RetrieveToolsRequest
Returns
Type Description
RetrieveToolsResponse