Class ExecutionsGrpc.ExecutionsStub (0.36.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCancelExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteExecution(DeleteExecutionRequest request, StreamObserver<Operation> responseObserver)

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

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

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

Gets information about an Execution.

Parameters
NameDescription
requestGetExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Execution>

listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

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

Lists Executions from a Job.

Parameters
NameDescription
requestListExecutionsRequest
responseObserverio.grpc.stub.StreamObserver<ListExecutionsResponse>