Class ExecutionsGrpc.ExecutionsFutureStub (0.46.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ExecutionsGrpc.ExecutionsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelExecution(CancelExecutionRequest request)

public ListenableFuture<Operation> cancelExecution(CancelExecutionRequest request)

Cancels an Execution.

Parameter
Name Description
request CancelExecutionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteExecution(DeleteExecutionRequest request)

public ListenableFuture<Operation> deleteExecution(DeleteExecutionRequest request)

Deletes an Execution.

Parameter
Name Description
request DeleteExecutionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getExecution(GetExecutionRequest request)

public ListenableFuture<Execution> getExecution(GetExecutionRequest request)

Gets information about an Execution.

Parameter
Name Description
request GetExecutionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Execution>

listExecutions(ListExecutionsRequest request)

public ListenableFuture<ListExecutionsResponse> listExecutions(ListExecutionsRequest request)

Lists Executions from a Job.

Parameter
Name Description
request ListExecutionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListExecutionsResponse>