Class TasksGrpc.TasksBlockingStub (0.17.0)

public static final class TasksGrpc.TasksBlockingStub extends AbstractBlockingStub<TasksGrpc.TasksBlockingStub>

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

Cloud Run Task Control Plane API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > TasksGrpc.TasksBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

getTask(GetTaskRequest request)

public Task getTask(GetTaskRequest request)

Gets information about a Task.

Parameter
NameDescription
requestGetTaskRequest
Returns
TypeDescription
Task

listTasks(ListTasksRequest request)

public ListTasksResponse listTasks(ListTasksRequest request)

Lists Tasks from an Execution of a Job.

Parameter
NameDescription
requestListTasksRequest
Returns
TypeDescription
ListTasksResponse