public static final class WorkflowsGrpc.WorkflowsFutureStub extends 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.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
WorkflowsGrpc.WorkflowsFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected WorkflowsGrpc.WorkflowsFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createWorkflow(CreateWorkflowRequest request)
public ListenableFuture<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 error.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteWorkflow(DeleteWorkflowRequest request)
public ListenableFuture<Operation> deleteWorkflow(DeleteWorkflowRequest request)
Deletes a workflow with the specified name.
This method also cancels and deletes all running executions of the
workflow.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getWorkflow(GetWorkflowRequest request)
public ListenableFuture<Workflow> getWorkflow(GetWorkflowRequest request)
Gets details of a single Workflow.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Workflow> |
|
listWorkflows(ListWorkflowsRequest request)
public ListenableFuture<ListWorkflowsResponse> listWorkflows(ListWorkflowsRequest request)
Lists Workflows in a given project and location.
The default order is not specified.
updateWorkflow(UpdateWorkflowRequest request)
public ListenableFuture<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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|