Class TasksGrpc.TasksFutureStub (0.7.0)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestGetTaskRequest
Returns
TypeDescription
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
NameDescription
requestListTasksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListTasksResponse>