Class MigrationServiceGrpc.MigrationServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<MigrationServiceGrpc.MigrationServiceFutureStub>
-
- com.google.cloud.bigquery.migration.v2alpha.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MigrationServiceGrpc.MigrationServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>
createMigrationWorkflow(CreateMigrationWorkflowRequest request)
Creates a migration workflow.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)
Deletes a migration workflow by name.com.google.common.util.concurrent.ListenableFuture<MigrationSubtask>
getMigrationSubtask(GetMigrationSubtaskRequest request)
Gets a previously created migration subtask.com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>
getMigrationWorkflow(GetMigrationWorkflowRequest request)
Gets a previously created migration workflow.com.google.common.util.concurrent.ListenableFuture<ListMigrationSubtasksResponse>
listMigrationSubtasks(ListMigrationSubtasksRequest request)
Lists previously created migration subtasks.com.google.common.util.concurrent.ListenableFuture<ListMigrationWorkflowsResponse>
listMigrationWorkflows(ListMigrationWorkflowsRequest request)
Lists previously created migration workflow.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
startMigrationWorkflow(StartMigrationWorkflowRequest request)
Starts a previously created migration workflow.
-
-
-
Method Detail
-
build
protected MigrationServiceGrpc.MigrationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in 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.
-
-