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