Class ExecutionsGrpc.ExecutionsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ExecutionsGrpc.ExecutionsBlockingV2Stub>
com.google.cloud.workflows.executions.v1beta.ExecutionsGrpc.ExecutionsBlockingV2Stub
- Enclosing class:
- ExecutionsGrpc
public static final class ExecutionsGrpc.ExecutionsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ExecutionsGrpc.ExecutionsBlockingV2Stub>
A stub to allow clients to do synchronous 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.ExecutionsBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) cancelExecution(CancelExecutionRequest request) Cancels an execution of the given name.createExecution(CreateExecutionRequest request) Creates a new execution using the latest revision of the given workflow.getExecution(GetExecutionRequest request) Returns an execution of the given name.listExecutions(ListExecutionsRequest request) Returns a list of executions which belong to the workflow with the given name.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.ExecutionsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ExecutionsGrpc.ExecutionsBlockingV2Stub>
-
listExecutions
public ListExecutionsResponse listExecutions(ListExecutionsRequest request) throws io.grpc.StatusException 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).
- Throws:
io.grpc.StatusException
-
createExecution
Creates a new execution using the latest revision of the given workflow.
- Throws:
io.grpc.StatusException
-
getExecution
Returns an execution of the given name.
- Throws:
io.grpc.StatusException
-
cancelExecution
Cancels an execution of the given name.
- Throws:
io.grpc.StatusException
-