Class TasksGrpc.TasksBlockingStub (0.52.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetTaskRequest
Returns
Type Description
Task

listTasks(ListTasksRequest request)

public ListTasksResponse listTasks(ListTasksRequest request)

Lists Tasks from an Execution of a Job.

Parameter
Name Description
request ListTasksRequest
Returns
Type Description
ListTasksResponse