Class WorkflowsGrpc.WorkflowsStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<WorkflowsGrpc.WorkflowsStub>
com.google.cloud.workflows.v1beta.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 Details

    • build

      protected WorkflowsGrpc.WorkflowsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<WorkflowsGrpc.WorkflowsStub>
    • 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<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
       will return [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
       
    • deleteWorkflow

      public void deleteWorkflow(DeleteWorkflowRequest request, io.grpc.stub.StreamObserver<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<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 may be created as a result of a
       successful update operation. In that case, such revision will be used
       in new workflow executions.