Class WorkflowsGrpc.WorkflowsBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<WorkflowsGrpc.WorkflowsBlockingStub>
com.google.cloud.workflows.v1beta.WorkflowsGrpc.WorkflowsBlockingStub
Enclosing class:
WorkflowsGrpc

public static final class WorkflowsGrpc.WorkflowsBlockingStub extends io.grpc.stub.AbstractBlockingStub<WorkflowsGrpc.WorkflowsBlockingStub>
A stub to allow clients to do limited synchronous 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.WorkflowsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<WorkflowsGrpc.WorkflowsBlockingStub>
    • listWorkflows

      public ListWorkflowsResponse listWorkflows(ListWorkflowsRequest request)
       Lists Workflows in a given project and location.
       The default order is not specified.
       
    • getWorkflow

      public Workflow getWorkflow(GetWorkflowRequest request)
       Gets details of a single Workflow.
       
    • createWorkflow

      public 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 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 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.