public static final class DataMigrationServiceGrpc.DataMigrationServiceStub extends AbstractAsyncStub<DataMigrationServiceGrpc.DataMigrationServiceStub>
Database Migration service
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
DataMigrationServiceGrpc.DataMigrationServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected DataMigrationServiceGrpc.DataMigrationServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
public void createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
Creates a new connection profile in a given project and location.
Parameters
createMigrationJob(CreateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void createMigrationJob(CreateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Creates a new migration job in a given project and location.
Parameters
deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
public void deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Database Migration Service connection profile.
A connection profile can only be deleted if it is not in use by any
active migration jobs.
Parameters
deleteMigrationJob(DeleteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void deleteMigrationJob(DeleteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Deletes a single migration job.
Parameters
generateSshScript(GenerateSshScriptRequest request, StreamObserver<SshScript> responseObserver)
public void generateSshScript(GenerateSshScriptRequest request, StreamObserver<SshScript> responseObserver)
Generate a SSH configuration script to configure the reverse SSH
connectivity.
Parameters
getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)
public void getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)
Gets details of a single connection profile.
Parameters
getMigrationJob(GetMigrationJobRequest request, StreamObserver<MigrationJob> responseObserver)
public void getMigrationJob(GetMigrationJobRequest request, StreamObserver<MigrationJob> responseObserver)
Gets details of a single migration job.
Parameters
listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)
public void listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)
Retrieve a list of all connection profiles in a given project and location.
Parameters
listMigrationJobs(ListMigrationJobsRequest request, StreamObserver<ListMigrationJobsResponse> responseObserver)
public void listMigrationJobs(ListMigrationJobsRequest request, StreamObserver<ListMigrationJobsResponse> responseObserver)
Lists migration jobs in a given project and location.
Parameters
public void promoteMigrationJob(PromoteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Promote a migration job, stopping replication to the destination and
promoting the destination to be a standalone database.
Parameters
restartMigrationJob(RestartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void restartMigrationJob(RestartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Restart a stopped or failed migration job, resetting the destination
instance to its original state and starting the migration process from
scratch.
Parameters
resumeMigrationJob(ResumeMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void resumeMigrationJob(ResumeMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Resume a migration job that is currently stopped and is resumable (was
stopped during CDC phase).
Parameters
startMigrationJob(StartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void startMigrationJob(StartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Start an already created migration job.
Parameters
stopMigrationJob(StopMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void stopMigrationJob(StopMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Stops a running migration job.
Parameters
updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
public void updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
Update the configuration of a single connection profile.
Parameters
updateMigrationJob(UpdateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void updateMigrationJob(UpdateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single migration job.
Parameters
verifyMigrationJob(VerifyMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void verifyMigrationJob(VerifyMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Verify a migration job, making sure the destination can reach the source
and that all configuration and prerequisites are met.
Parameters