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.
 
  • Method Details

    • build

      protected ExecutionsGrpc.ExecutionsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public Execution createExecution(CreateExecutionRequest request) throws io.grpc.StatusException
       Creates a new execution using the latest revision of the given workflow.
       
      Throws:
      io.grpc.StatusException
    • getExecution

      public Execution getExecution(GetExecutionRequest request) throws io.grpc.StatusException
       Returns an execution of the given name.
       
      Throws:
      io.grpc.StatusException
    • cancelExecution

      public Execution cancelExecution(CancelExecutionRequest request) throws io.grpc.StatusException
       Cancels an execution of the given name.
       
      Throws:
      io.grpc.StatusException