Class TasksGrpc.TasksStub (0.30.0)

public static final class TasksGrpc.TasksStub extends AbstractAsyncStub<TasksGrpc.TasksStub>

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

Cloud Run Task Control Plane API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > TasksGrpc.TasksStub

Methods

build(Channel channel, CallOptions callOptions)

protected TasksGrpc.TasksStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TasksGrpc.TasksStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getTask(GetTaskRequest request, StreamObserver<Task> responseObserver)

public void getTask(GetTaskRequest request, StreamObserver<Task> responseObserver)

Gets information about a Task.

Parameters
NameDescription
requestGetTaskRequest
responseObserverio.grpc.stub.StreamObserver<Task>

listTasks(ListTasksRequest request, StreamObserver<ListTasksResponse> responseObserver)

public void listTasks(ListTasksRequest request, StreamObserver<ListTasksResponse> responseObserver)

Lists Tasks from an Execution of a Job.

Parameters
NameDescription
requestListTasksRequest
responseObserverio.grpc.stub.StreamObserver<ListTasksResponse>