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 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WorkflowsGrpc.WorkflowsBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.longrunning.OperationcreateWorkflow(CreateWorkflowRequest request)Creates a new workflow.com.google.longrunning.OperationdeleteWorkflow(DeleteWorkflowRequest request)Deletes a workflow with the specified name.WorkflowgetWorkflow(GetWorkflowRequest request)Gets details of a single Workflow.ListWorkflowsResponselistWorkflows(ListWorkflowsRequest request)Lists Workflows in a given project and location.com.google.longrunning.OperationupdateWorkflow(UpdateWorkflowRequest request)Updates an existing workflow.
-
-
-
Method Detail
-
build
protected WorkflowsGrpc.WorkflowsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.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 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.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.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.
-
-