Class ExecutionsGrpc.ExecutionsStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ExecutionsGrpc.ExecutionsStub>
com.google.cloud.workflows.executions.v1beta.ExecutionsGrpc.ExecutionsStub
- Enclosing class:
- ExecutionsGrpc
public static final class ExecutionsGrpc.ExecutionsStub
extends io.grpc.stub.AbstractAsyncStub<ExecutionsGrpc.ExecutionsStub>
A stub to allow clients to do asynchronous rpc calls to service Executions.
Executions is used to start and manage running instances of [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected ExecutionsGrpc.ExecutionsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcancelExecution(CancelExecutionRequest request, io.grpc.stub.StreamObserver<Execution> responseObserver) Cancels an execution of the given name.voidcreateExecution(CreateExecutionRequest request, io.grpc.stub.StreamObserver<Execution> responseObserver) Creates a new execution using the latest revision of the given workflow.voidgetExecution(GetExecutionRequest request, io.grpc.stub.StreamObserver<Execution> responseObserver) Returns an execution of the given name.voidlistExecutions(ListExecutionsRequest request, io.grpc.stub.StreamObserver<ListExecutionsResponse> responseObserver) Returns a list of executions which belong to the workflow with the given name.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ExecutionsGrpc.ExecutionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ExecutionsGrpc.ExecutionsStub>
-
listExecutions
public void listExecutions(ListExecutionsRequest request, io.grpc.stub.StreamObserver<ListExecutionsResponse> responseObserver) Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).
-
createExecution
public void createExecution(CreateExecutionRequest request, io.grpc.stub.StreamObserver<Execution> responseObserver) Creates a new execution using the latest revision of the given workflow.
-
getExecution
public void getExecution(GetExecutionRequest request, io.grpc.stub.StreamObserver<Execution> responseObserver) Returns an execution of the given name.
-
cancelExecution
public void cancelExecution(CancelExecutionRequest request, io.grpc.stub.StreamObserver<Execution> responseObserver) Cancels an execution of the given name.
-