Class WorkflowsGrpc.WorkflowsBlockingStub (2.54.0)

public static final class WorkflowsGrpc.WorkflowsBlockingStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > WorkflowsGrpc.WorkflowsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected WorkflowsGrpc.WorkflowsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
WorkflowsGrpc.WorkflowsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createWorkflow(CreateWorkflowRequest request)

public 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 error.

Parameter
Name Description
request CreateWorkflowRequest
Returns
Type Description
Operation

deleteWorkflow(DeleteWorkflowRequest request)

public Operation deleteWorkflow(DeleteWorkflowRequest request)

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

Parameter
Name Description
request DeleteWorkflowRequest
Returns
Type Description
Operation

getWorkflow(GetWorkflowRequest request)

public Workflow getWorkflow(GetWorkflowRequest request)

Gets details of a single workflow.

Parameter
Name Description
request GetWorkflowRequest
Returns
Type Description
Workflow

listWorkflows(ListWorkflowsRequest request)

public ListWorkflowsResponse listWorkflows(ListWorkflowsRequest request)

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

Parameter
Name Description
request ListWorkflowsRequest
Returns
Type Description
ListWorkflowsResponse

updateWorkflow(UpdateWorkflowRequest request)

public 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.

Parameter
Name Description
request UpdateWorkflowRequest
Returns
Type Description
Operation