Class MigrationServiceGrpc.MigrationServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<MigrationServiceGrpc.MigrationServiceStub>
-
- com.google.cloud.bigquery.migration.v2.MigrationServiceGrpc.MigrationServiceStub
-
- Enclosing class:
- MigrationServiceGrpc
public static final class MigrationServiceGrpc.MigrationServiceStub extends io.grpc.stub.AbstractAsyncStub<MigrationServiceGrpc.MigrationServiceStub>
A stub to allow clients to do asynchronous 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.MigrationServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createMigrationWorkflow(CreateMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<MigrationWorkflow> responseObserver)
Creates a migration workflow.void
deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a migration workflow by name.void
getMigrationSubtask(GetMigrationSubtaskRequest request, io.grpc.stub.StreamObserver<MigrationSubtask> responseObserver)
Gets a previously created migration subtask.void
getMigrationWorkflow(GetMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<MigrationWorkflow> responseObserver)
Gets a previously created migration workflow.void
listMigrationSubtasks(ListMigrationSubtasksRequest request, io.grpc.stub.StreamObserver<ListMigrationSubtasksResponse> responseObserver)
Lists previously created migration subtasks.void
listMigrationWorkflows(ListMigrationWorkflowsRequest request, io.grpc.stub.StreamObserver<ListMigrationWorkflowsResponse> responseObserver)
Lists previously created migration workflow.void
startMigrationWorkflow(StartMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Starts a previously created migration workflow.
-
-
-
Method Detail
-
build
protected MigrationServiceGrpc.MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<MigrationServiceGrpc.MigrationServiceStub>
-
createMigrationWorkflow
public void createMigrationWorkflow(CreateMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<MigrationWorkflow> responseObserver)
Creates a migration workflow.
-
getMigrationWorkflow
public void getMigrationWorkflow(GetMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<MigrationWorkflow> responseObserver)
Gets a previously created migration workflow.
-
listMigrationWorkflows
public void listMigrationWorkflows(ListMigrationWorkflowsRequest request, io.grpc.stub.StreamObserver<ListMigrationWorkflowsResponse> responseObserver)
Lists previously created migration workflow.
-
deleteMigrationWorkflow
public void deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a migration workflow by name.
-
startMigrationWorkflow
public void startMigrationWorkflow(StartMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
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 void getMigrationSubtask(GetMigrationSubtaskRequest request, io.grpc.stub.StreamObserver<MigrationSubtask> responseObserver)
Gets a previously created migration subtask.
-
listMigrationSubtasks
public void listMigrationSubtasks(ListMigrationSubtasksRequest request, io.grpc.stub.StreamObserver<ListMigrationSubtasksResponse> responseObserver)
Lists previously created migration subtasks.
-
-