Class WorkflowsGrpc.WorkflowsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<WorkflowsGrpc.WorkflowsFutureStub>
-
- com.google.cloud.workflows.v1beta.WorkflowsGrpc.WorkflowsFutureStub
-
- Enclosing class:
- WorkflowsGrpc
public static final class WorkflowsGrpc.WorkflowsFutureStub extends io.grpc.stub.AbstractFutureStub<WorkflowsGrpc.WorkflowsFutureStub>
A stub to allow clients to do ListenableFuture-style 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.WorkflowsFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createWorkflow(CreateWorkflowRequest request)
Creates a new workflow.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteWorkflow(DeleteWorkflowRequest request)
Deletes a workflow with the specified name.com.google.common.util.concurrent.ListenableFuture<Workflow>
getWorkflow(GetWorkflowRequest request)
Gets details of a single Workflow.com.google.common.util.concurrent.ListenableFuture<ListWorkflowsResponse>
listWorkflows(ListWorkflowsRequest request)
Lists Workflows in a given project and location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateWorkflow(UpdateWorkflowRequest request)
Updates an existing workflow.
-
-
-
Method Detail
-
build
protected WorkflowsGrpc.WorkflowsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<WorkflowsGrpc.WorkflowsFutureStub>
-
listWorkflows
public com.google.common.util.concurrent.ListenableFuture<ListWorkflowsResponse> listWorkflows(ListWorkflowsRequest request)
Lists Workflows in a given project and location. The default order is not specified.
-
getWorkflow
public com.google.common.util.concurrent.ListenableFuture<Workflow> getWorkflow(GetWorkflowRequest request)
Gets details of a single Workflow.
-
createWorkflow
public com.google.common.util.concurrent.ListenableFuture<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.common.util.concurrent.ListenableFuture<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.common.util.concurrent.ListenableFuture<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.
-
-