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.
-
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) voidcreateMigrationWorkflow(CreateMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<MigrationWorkflow> responseObserver) Creates a migration workflow.voiddeleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a migration workflow by name.voidgetMigrationSubtask(GetMigrationSubtaskRequest request, io.grpc.stub.StreamObserver<MigrationSubtask> responseObserver) Gets a previously created migration subtask.voidgetMigrationWorkflow(GetMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<MigrationWorkflow> responseObserver) Gets a previously created migration workflow.voidlistMigrationSubtasks(ListMigrationSubtasksRequest request, io.grpc.stub.StreamObserver<ListMigrationSubtasksResponse> responseObserver) Lists previously created migration subtasks.voidlistMigrationWorkflows(ListMigrationWorkflowsRequest request, io.grpc.stub.StreamObserver<ListMigrationWorkflowsResponse> responseObserver) Lists previously created migration workflow.voidstartMigrationWorkflow(StartMigrationWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Starts a previously created migration workflow.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.MigrationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin 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.
-