Class ExecutionsGrpc.ExecutionsFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ExecutionsGrpc.ExecutionsFutureStub>
com.google.cloud.workflows.executions.v1beta.ExecutionsGrpc.ExecutionsFutureStub
Enclosing class:
ExecutionsGrpc

public static final class ExecutionsGrpc.ExecutionsFutureStub extends io.grpc.stub.AbstractFutureStub<ExecutionsGrpc.ExecutionsFutureStub>
A stub to allow clients to do ListenableFuture-style 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<Execution>
    Cancels an execution of the given name.
    com.google.common.util.concurrent.ListenableFuture<Execution>
    Creates a new execution using the latest revision of the given workflow.
    com.google.common.util.concurrent.ListenableFuture<Execution>
    Returns an execution of the given name.
    com.google.common.util.concurrent.ListenableFuture<ListExecutionsResponse>
    Returns a list of executions which belong to the workflow with the given name.

    Methods inherited from class io.grpc.stub.AbstractFutureStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected ExecutionsGrpc.ExecutionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ExecutionsGrpc.ExecutionsFutureStub>
    • listExecutions

      public com.google.common.util.concurrent.ListenableFuture<ListExecutionsResponse> listExecutions(ListExecutionsRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<Execution> createExecution(CreateExecutionRequest request)
       Creates a new execution using the latest revision of the given workflow.
       
    • getExecution

      public com.google.common.util.concurrent.ListenableFuture<Execution> getExecution(GetExecutionRequest request)
       Returns an execution of the given name.
       
    • cancelExecution

      public com.google.common.util.concurrent.ListenableFuture<Execution> cancelExecution(CancelExecutionRequest request)
       Cancels an execution of the given name.