Class TasksGrpc.TasksFutureStub (0.43.0)

public static final class TasksGrpc.TasksFutureStub extends AbstractFutureStub<TasksGrpc.TasksFutureStub>

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

Cloud Run Task Control Plane API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > TasksGrpc.TasksFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getTask(GetTaskRequest request)

public ListenableFuture<Task> getTask(GetTaskRequest request)

Gets information about a Task.

Parameter
Name Description
request GetTaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Task>

listTasks(ListTasksRequest request)

public ListenableFuture<ListTasksResponse> listTasks(ListTasksRequest request)

Lists Tasks from an Execution of a Job.

Parameter
Name Description
request ListTasksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTasksResponse>