Class TasksGrpc.TasksStub (0.45.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetTaskRequest
responseObserver io.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
Name Description
request ListTasksRequest
responseObserver io.grpc.stub.StreamObserver<ListTasksResponse>