Class MigrationServiceGrpc.MigrationServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<MigrationServiceGrpc.MigrationServiceFutureStub>
com.google.cloud.bigquery.migration.v2.MigrationServiceGrpc.MigrationServiceFutureStub
- Enclosing class:
- MigrationServiceGrpc
public static final class MigrationServiceGrpc.MigrationServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<MigrationServiceGrpc.MigrationServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service MigrationService.
Service to handle EDW migrations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>Creates a migration workflow.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes a migration workflow by name.com.google.common.util.concurrent.ListenableFuture<MigrationSubtask>Gets a previously created migration subtask.com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>Gets a previously created migration workflow.com.google.common.util.concurrent.ListenableFuture<ListMigrationSubtasksResponse>Lists previously created migration subtasks.com.google.common.util.concurrent.ListenableFuture<ListMigrationWorkflowsResponse>Lists previously created migration workflow.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Starts a previously created migration workflow.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MigrationServiceGrpc.MigrationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MigrationServiceGrpc.MigrationServiceFutureStub>
-
createMigrationWorkflow
public com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow> createMigrationWorkflow(CreateMigrationWorkflowRequest request) Creates a migration workflow.
-
getMigrationWorkflow
public com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow> getMigrationWorkflow(GetMigrationWorkflowRequest request) Gets a previously created migration workflow.
-
listMigrationWorkflows
public com.google.common.util.concurrent.ListenableFuture<ListMigrationWorkflowsResponse> listMigrationWorkflows(ListMigrationWorkflowsRequest request) Lists previously created migration workflow.
-
deleteMigrationWorkflow
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request) Deletes a migration workflow by name.
-
startMigrationWorkflow
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> startMigrationWorkflow(StartMigrationWorkflowRequest request) Starts a previously created migration workflow. I.e., the state transitions from DRAFT to RUNNING. This is a no-op if the state is already RUNNING. An error will be signaled if the state is anything other than DRAFT or RUNNING.
-
getMigrationSubtask
public com.google.common.util.concurrent.ListenableFuture<MigrationSubtask> getMigrationSubtask(GetMigrationSubtaskRequest request) Gets a previously created migration subtask.
-
listMigrationSubtasks
public com.google.common.util.concurrent.ListenableFuture<ListMigrationSubtasksResponse> listMigrationSubtasks(ListMigrationSubtasksRequest request) Lists previously created migration subtasks.
-