Send feedback
Class DataMigrationServiceGrpc.DataMigrationServiceStub (2.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.12.0 keyboard_arrow_down
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
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.
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.
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.
deleteMigrationJob(DeleteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void deleteMigrationJob ( DeleteMigrationJobRequest request , StreamObserver<Operation> responseObserver )
Deletes a single migration job.
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.
getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)
public void getConnectionProfile ( GetConnectionProfileRequest request , StreamObserver<ConnectionProfile> responseObserver )
Gets details of a single connection profile.
getMigrationJob(GetMigrationJobRequest request, StreamObserver<MigrationJob> responseObserver)
public void getMigrationJob ( GetMigrationJobRequest request , StreamObserver<MigrationJob> responseObserver )
Gets details of a single migration job.
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.
listMigrationJobs(ListMigrationJobsRequest request, StreamObserver<ListMigrationJobsResponse> responseObserver)
public void listMigrationJobs ( ListMigrationJobsRequest request , StreamObserver<ListMigrationJobsResponse> responseObserver )
Lists migration jobs in a given project and location.
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.
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.
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).
startMigrationJob(StartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void startMigrationJob ( StartMigrationJobRequest request , StreamObserver<Operation> responseObserver )
Start an already created migration job.
stopMigrationJob(StopMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void stopMigrationJob ( StopMigrationJobRequest request , StreamObserver<Operation> responseObserver )
Stops a running migration job.
updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
public void updateConnectionProfile ( UpdateConnectionProfileRequest request , StreamObserver<Operation> responseObserver )
Update the configuration of a single connection profile.
updateMigrationJob(UpdateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void updateMigrationJob ( UpdateMigrationJobRequest request , StreamObserver<Operation> responseObserver )
Updates the parameters of a single migration job.
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]