Class WorkflowsGrpc.WorkflowsFutureStub

  • Enclosing class:
    WorkflowsGrpc

    public static final class WorkflowsGrpc.WorkflowsFutureStub
    extends io.grpc.stub.AbstractFutureStub<WorkflowsGrpc.WorkflowsFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service Workflows.
     Workflows is used to deploy and execute workflow programs.
     Workflows makes sure the program executes reliably, despite hardware and
     networking interruptions.
     
    • Method Detail

      • listWorkflows

        public com.google.common.util.concurrent.ListenableFuture<ListWorkflowsResponse> listWorkflows​(ListWorkflowsRequest request)
         Lists Workflows in a given project and location.
         The default order is not specified.
         
      • getWorkflow

        public com.google.common.util.concurrent.ListenableFuture<Workflow> getWorkflow​(GetWorkflowRequest request)
         Gets details of a single Workflow.
         
      • createWorkflow

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createWorkflow​(CreateWorkflowRequest request)
         Creates a new workflow. If a workflow with the specified name already
         exists in the specified project and location, the long running operation
         will return [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
         
      • deleteWorkflow

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteWorkflow​(DeleteWorkflowRequest request)
         Deletes a workflow with the specified name.
         This method also cancels and deletes all running executions of the
         workflow.
         
      • updateWorkflow

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateWorkflow​(UpdateWorkflowRequest request)
         Updates an existing workflow.
         Running this method has no impact on already running executions of the
         workflow. A new revision of the workflow may be created as a result of a
         successful update operation. In that case, such revision will be used
         in new workflow executions.