Class ExecutionsGrpc.ExecutionsFutureStub (0.14.0)

public static final class ExecutionsGrpc.ExecutionsFutureStub extends AbstractFutureStub<ExecutionsGrpc.ExecutionsFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Executions.

Cloud Run Execution Control Plane API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ExecutionsGrpc.ExecutionsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteExecution(DeleteExecutionRequest request)

public ListenableFuture<Operation> deleteExecution(DeleteExecutionRequest request)

Deletes an Execution.

Parameter
NameDescription
requestDeleteExecutionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getExecution(GetExecutionRequest request)

public ListenableFuture<Execution> getExecution(GetExecutionRequest request)

Gets information about an Execution.

Parameter
NameDescription
requestGetExecutionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Execution>

listExecutions(ListExecutionsRequest request)

public ListenableFuture<ListExecutionsResponse> listExecutions(ListExecutionsRequest request)

Lists Executions from a Job.

Parameter
NameDescription
requestListExecutionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListExecutionsResponse>