Package com.google.cloud.workflows.v1
Class WorkflowsGrpc.WorkflowsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<WorkflowsGrpc.WorkflowsBlockingStub>
-
- com.google.cloud.workflows.v1.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.WorkflowsBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
createWorkflow(CreateWorkflowRequest request)
Creates a new workflow.com.google.longrunning.Operation
deleteWorkflow(DeleteWorkflowRequest request)
Deletes a workflow with the specified name.Workflow
getWorkflow(GetWorkflowRequest request)
Gets details of a single workflow.ListWorkflowsResponse
listWorkflows(ListWorkflowsRequest request)
Lists workflows in a given project and location.com.google.longrunning.Operation
updateWorkflow(UpdateWorkflowRequest request)
Updates an existing workflow.
-
-
-
Method Detail
-
build
protected WorkflowsGrpc.WorkflowsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in 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 returns a [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 might be created as a result of a successful update operation. In that case, the new revision is used in new workflow executions.
-
-