Package com.google.cloud.workflows.v1
Class WorkflowsGrpc.WorkflowsStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<WorkflowsGrpc.WorkflowsStub>
-
- com.google.cloud.workflows.v1.WorkflowsGrpc.WorkflowsStub
-
- Enclosing class:
- WorkflowsGrpc
public static final class WorkflowsGrpc.WorkflowsStub extends io.grpc.stub.AbstractAsyncStub<WorkflowsGrpc.WorkflowsStub>
A stub to allow clients to do asynchronous 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.WorkflowsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcreateWorkflow(CreateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a new workflow.voiddeleteWorkflow(DeleteWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes a workflow with the specified name.voidgetWorkflow(GetWorkflowRequest request, io.grpc.stub.StreamObserver<Workflow> responseObserver)Gets details of a single workflow.voidlistWorkflows(ListWorkflowsRequest request, io.grpc.stub.StreamObserver<ListWorkflowsResponse> responseObserver)Lists workflows in a given project and location.voidupdateWorkflow(UpdateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates an existing workflow.
-
-
-
Method Detail
-
build
protected WorkflowsGrpc.WorkflowsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<WorkflowsGrpc.WorkflowsStub>
-
listWorkflows
public void listWorkflows(ListWorkflowsRequest request, io.grpc.stub.StreamObserver<ListWorkflowsResponse> responseObserver)
Lists workflows in a given project and location. The default order is not specified.
-
getWorkflow
public void getWorkflow(GetWorkflowRequest request, io.grpc.stub.StreamObserver<Workflow> responseObserver)
Gets details of a single workflow.
-
createWorkflow
public void createWorkflow(CreateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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 void deleteWorkflow(DeleteWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow.
-
updateWorkflow
public void updateWorkflow(UpdateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
-
-