Class ToolsGrpc.ToolsFutureStub (0.46.0)

public static final class ToolsGrpc.ToolsFutureStub extends AbstractFutureStub<ToolsGrpc.ToolsFutureStub>

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

Service for managing Tools.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ToolsGrpc.ToolsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createTool(CreateToolRequest request)

public ListenableFuture<Tool> createTool(CreateToolRequest request)

Creates a Tool in the specified agent.

Parameter
Name Description
request CreateToolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Tool>

deleteTool(DeleteToolRequest request)

public ListenableFuture<Empty> deleteTool(DeleteToolRequest request)

Deletes a specified Tool.

Parameter
Name Description
request DeleteToolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

exportTools(ExportToolsRequest request)

public ListenableFuture<Operation> exportTools(ExportToolsRequest request)

Exports the selected tools.

Parameter
Name Description
request ExportToolsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getTool(GetToolRequest request)

public ListenableFuture<Tool> getTool(GetToolRequest request)

Retrieves the specified Tool.

Parameter
Name Description
request GetToolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Tool>

listTools(ListToolsRequest request)

public ListenableFuture<ListToolsResponse> listTools(ListToolsRequest request)

Returns a list of Tools in the specified agent.

Parameter
Name Description
request ListToolsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListToolsResponse>

updateTool(UpdateToolRequest request)

public ListenableFuture<Tool> updateTool(UpdateToolRequest request)

Update the specified Tool.

Parameter
Name Description
request UpdateToolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Tool>