Class ToolsGrpc.ToolsStub (0.50.0)

public static final class ToolsGrpc.ToolsStub extends AbstractAsyncStub<ToolsGrpc.ToolsStub>

A stub to allow clients to do asynchronous rpc calls to service Tools.

Service for managing Tools.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ToolsGrpc.ToolsStub

Methods

build(Channel channel, CallOptions callOptions)

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

createTool(CreateToolRequest request, StreamObserver<Tool> responseObserver)

public void createTool(CreateToolRequest request, StreamObserver<Tool> responseObserver)

Creates a Tool in the specified agent.

Parameters
Name Description
request CreateToolRequest
responseObserver io.grpc.stub.StreamObserver<Tool>

deleteTool(DeleteToolRequest request, StreamObserver<Empty> responseObserver)

public void deleteTool(DeleteToolRequest request, StreamObserver<Empty> responseObserver)

Deletes a specified Tool.

Parameters
Name Description
request DeleteToolRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

exportTools(ExportToolsRequest request, StreamObserver<Operation> responseObserver)

public void exportTools(ExportToolsRequest request, StreamObserver<Operation> responseObserver)

Exports the selected tools.

Parameters
Name Description
request ExportToolsRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getTool(GetToolRequest request, StreamObserver<Tool> responseObserver)

public void getTool(GetToolRequest request, StreamObserver<Tool> responseObserver)

Retrieves the specified Tool.

Parameters
Name Description
request GetToolRequest
responseObserver io.grpc.stub.StreamObserver<Tool>

listTools(ListToolsRequest request, StreamObserver<ListToolsResponse> responseObserver)

public void listTools(ListToolsRequest request, StreamObserver<ListToolsResponse> responseObserver)

Returns a list of Tools in the specified agent.

Parameters
Name Description
request ListToolsRequest
responseObserver io.grpc.stub.StreamObserver<ListToolsResponse>

updateTool(UpdateToolRequest request, StreamObserver<Tool> responseObserver)

public void updateTool(UpdateToolRequest request, StreamObserver<Tool> responseObserver)

Update the specified Tool.

Parameters
Name Description
request UpdateToolRequest
responseObserver io.grpc.stub.StreamObserver<Tool>