Class WorkflowsGrpc.WorkflowsStub

  • Enclosing class:
    WorkflowsGrpc

    public static final class WorkflowsGrpc.WorkflowsStub
    extends io.grpc.stub.AbstractAsyncStub<WorkflowsGrpc.WorkflowsStub>
    A stub to allow clients to do asynchronous 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 void listWorkflows​(ListWorkflowsRequest request,
                                  io.grpc.stub.StreamObserver<ListWorkflowsResponse> responseObserver)
         Lists workflows in a given project and location.
         The default order is not specified.
         
      • getWorkflow

        public void getWorkflow​(GetWorkflowRequest request,
                                io.grpc.stub.StreamObserver<Workflow> responseObserver)
         Gets details of a single workflow.
         
      • createWorkflow

        public void createWorkflow​(CreateWorkflowRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new workflow. If a workflow with the specified name already
         exists in the specified project and location, the long running operation
         returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
         
      • deleteWorkflow

        public void deleteWorkflow​(DeleteWorkflowRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a workflow with the specified name.
         This method also cancels and deletes all running executions of the
         workflow.
         
      • updateWorkflow

        public void updateWorkflow​(UpdateWorkflowRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates an existing workflow.
         Running this method has no impact on already running executions of the
         workflow. A new revision of the workflow might be created as a result of a
         successful update operation. In that case, the new revision is used
         in new workflow executions.