Class WorkflowsGrpc.WorkflowsBlockingV2Stub

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

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

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

      public Workflow getWorkflow(GetWorkflowRequest request) throws io.grpc.StatusException
       Gets details of a single Workflow.
       
      Throws:
      io.grpc.StatusException
    • createWorkflow

      public Operation createWorkflow(CreateWorkflowRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • deleteWorkflow

      public Operation deleteWorkflow(DeleteWorkflowRequest request) throws io.grpc.StatusException
       Deletes a workflow with the specified name.
       This method also cancels and deletes all running executions of the
       workflow.
       
      Throws:
      io.grpc.StatusException
    • updateWorkflow

      public Operation updateWorkflow(UpdateWorkflowRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException