Class ExecutionsGrpc.ExecutionsStub (0.45.0)

public static final class ExecutionsGrpc.ExecutionsStub extends AbstractAsyncStub<ExecutionsGrpc.ExecutionsStub>

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

Cloud Run Execution Control Plane API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ExecutionsGrpc.ExecutionsStub

Methods

build(Channel channel, CallOptions callOptions)

protected ExecutionsGrpc.ExecutionsStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ExecutionsGrpc.ExecutionsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelExecution(CancelExecutionRequest request, StreamObserver<Operation> responseObserver)

public void cancelExecution(CancelExecutionRequest request, StreamObserver<Operation> responseObserver)

Cancels an Execution.

Parameters
Name Description
request CancelExecutionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteExecution(DeleteExecutionRequest request, StreamObserver<Operation> responseObserver)

public void deleteExecution(DeleteExecutionRequest request, StreamObserver<Operation> responseObserver)

Deletes an Execution.

Parameters
Name Description
request DeleteExecutionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

public void getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

Gets information about an Execution.

Parameters
Name Description
request GetExecutionRequest
responseObserver io.grpc.stub.StreamObserver<Execution>

listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

public void listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

Lists Executions from a Job.

Parameters
Name Description
request ListExecutionsRequest
responseObserver io.grpc.stub.StreamObserver<ListExecutionsResponse>