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