Class WorkflowsGrpc.WorkflowsImplBase (2.6.0)

public abstract static class WorkflowsGrpc.WorkflowsImplBase implements BindableService

Workflows is used to deploy and execute workflow programs. Workflows makes sure the program executes reliably, despite hardware and networking interruptions.

Inheritance

java.lang.Object > WorkflowsGrpc.WorkflowsImplBase

Implements

io.grpc.BindableService

Constructors

WorkflowsImplBase()

public WorkflowsImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createWorkflow(CreateWorkflowRequest request, StreamObserver<Operation> responseObserver)

public void createWorkflow(CreateWorkflowRequest request, StreamObserver<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 will return ALREADY_EXISTS error.

Parameters
NameDescription
requestCreateWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteWorkflow(DeleteWorkflowRequest request, StreamObserver<Operation> responseObserver)

public void deleteWorkflow(DeleteWorkflowRequest request, StreamObserver<Operation> responseObserver)

Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow.

Parameters
NameDescription
requestDeleteWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getWorkflow(GetWorkflowRequest request, StreamObserver<Workflow> responseObserver)

public void getWorkflow(GetWorkflowRequest request, StreamObserver<Workflow> responseObserver)

Gets details of a single Workflow.

Parameters
NameDescription
requestGetWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<Workflow>

listWorkflows(ListWorkflowsRequest request, StreamObserver<ListWorkflowsResponse> responseObserver)

public void listWorkflows(ListWorkflowsRequest request, StreamObserver<ListWorkflowsResponse> responseObserver)

Lists Workflows in a given project and location. The default order is not specified.

Parameters
NameDescription
requestListWorkflowsRequest
responseObserverio.grpc.stub.StreamObserver<ListWorkflowsResponse>

updateWorkflow(UpdateWorkflowRequest request, StreamObserver<Operation> responseObserver)

public void updateWorkflow(UpdateWorkflowRequest request, StreamObserver<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 may be created as a result of a successful update operation. In that case, such revision will be used in new workflow executions.

Parameters
NameDescription
requestUpdateWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<Operation>