public static final class DataMigrationServiceGrpc.DataMigrationServiceFutureStub extends AbstractFutureStub<DataMigrationServiceGrpc.DataMigrationServiceFutureStub>
Database Migration service
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
DataMigrationServiceGrpc.DataMigrationServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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.DataMigrationServiceFutureStub 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)
public ListenableFuture<Operation> createConnectionProfile(CreateConnectionProfileRequest request)
Creates a new connection profile in a given project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
createMigrationJob(CreateMigrationJobRequest request)
public ListenableFuture<Operation> createMigrationJob(CreateMigrationJobRequest request)
Creates a new migration job in a given project and location.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteConnectionProfile(DeleteConnectionProfileRequest request)
public ListenableFuture<Operation> deleteConnectionProfile(DeleteConnectionProfileRequest request)
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.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteMigrationJob(DeleteMigrationJobRequest request)
public ListenableFuture<Operation> deleteMigrationJob(DeleteMigrationJobRequest request)
Deletes a single migration job.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
generateSshScript(GenerateSshScriptRequest request)
public ListenableFuture<SshScript> generateSshScript(GenerateSshScriptRequest request)
Generate a SSH configuration script to configure the reverse SSH
connectivity.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<SshScript> | |
getConnectionProfile(GetConnectionProfileRequest request)
public ListenableFuture<ConnectionProfile> getConnectionProfile(GetConnectionProfileRequest request)
Gets details of a single connection profile.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ConnectionProfile> | |
getMigrationJob(GetMigrationJobRequest request)
public ListenableFuture<MigrationJob> getMigrationJob(GetMigrationJobRequest request)
Gets details of a single migration job.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<MigrationJob> | |
listConnectionProfiles(ListConnectionProfilesRequest request)
public ListenableFuture<ListConnectionProfilesResponse> listConnectionProfiles(ListConnectionProfilesRequest request)
Retrieve a list of all connection profiles in a given project and location.
listMigrationJobs(ListMigrationJobsRequest request)
public ListenableFuture<ListMigrationJobsResponse> listMigrationJobs(ListMigrationJobsRequest request)
Lists migration jobs in a given project and location.
public ListenableFuture<Operation> promoteMigrationJob(PromoteMigrationJobRequest request)
Promote a migration job, stopping replication to the destination and
promoting the destination to be a standalone database.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
restartMigrationJob(RestartMigrationJobRequest request)
public ListenableFuture<Operation> restartMigrationJob(RestartMigrationJobRequest request)
Restart a stopped or failed migration job, resetting the destination
instance to its original state and starting the migration process from
scratch.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
resumeMigrationJob(ResumeMigrationJobRequest request)
public ListenableFuture<Operation> resumeMigrationJob(ResumeMigrationJobRequest request)
Resume a migration job that is currently stopped and is resumable (was
stopped during CDC phase).
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
startMigrationJob(StartMigrationJobRequest request)
public ListenableFuture<Operation> startMigrationJob(StartMigrationJobRequest request)
Start an already created migration job.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
stopMigrationJob(StopMigrationJobRequest request)
public ListenableFuture<Operation> stopMigrationJob(StopMigrationJobRequest request)
Stops a running migration job.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateConnectionProfile(UpdateConnectionProfileRequest request)
public ListenableFuture<Operation> updateConnectionProfile(UpdateConnectionProfileRequest request)
Update the configuration of a single connection profile.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
updateMigrationJob(UpdateMigrationJobRequest request)
public ListenableFuture<Operation> updateMigrationJob(UpdateMigrationJobRequest request)
Updates the parameters of a single migration job.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
verifyMigrationJob(VerifyMigrationJobRequest request)
public ListenableFuture<Operation> verifyMigrationJob(VerifyMigrationJobRequest request)
Verify a migration job, making sure the destination can reach the source
and that all configuration and prerequisites are met.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |