public class GrpcDataMigrationServiceStub extends DataMigrationServiceStub
gRPC stub implementation for the DataMigrationService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcDataMigrationServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataMigrationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DataMigrationServiceStubSettings settings)
public static final GrpcDataMigrationServiceStub create(DataMigrationServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcDataMigrationServiceStub(DataMigrationServiceStubSettings settings, ClientContext clientContext)
protected GrpcDataMigrationServiceStub(DataMigrationServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDataMigrationServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
GrpcDataMigrationServiceStub(DataMigrationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDataMigrationServiceStub(DataMigrationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataMigrationServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createConnectionProfileCallable()
public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Returns
Overrides
createConnectionProfileOperationCallable()
public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Returns
Overrides
createMigrationJobCallable()
public UnaryCallable<CreateMigrationJobRequest,Operation> createMigrationJobCallable()
Returns
Overrides
createMigrationJobOperationCallable()
public OperationCallable<CreateMigrationJobRequest,MigrationJob,OperationMetadata> createMigrationJobOperationCallable()
Returns
Overrides
deleteConnectionProfileCallable()
public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Returns
Overrides
deleteConnectionProfileOperationCallable()
public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Returns
Overrides
deleteMigrationJobCallable()
public UnaryCallable<DeleteMigrationJobRequest,Operation> deleteMigrationJobCallable()
Returns
Overrides
deleteMigrationJobOperationCallable()
public OperationCallable<DeleteMigrationJobRequest,Empty,OperationMetadata> deleteMigrationJobOperationCallable()
Returns
Overrides
generateSshScriptCallable()
public UnaryCallable<GenerateSshScriptRequest,SshScript> generateSshScriptCallable()
Returns
Overrides
getConnectionProfileCallable()
public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Returns
Overrides
getMigrationJobCallable()
public UnaryCallable<GetMigrationJobRequest,MigrationJob> getMigrationJobCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listConnectionProfilesCallable()
public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Returns
Overrides
listConnectionProfilesPagedCallable()
public UnaryCallable<ListConnectionProfilesRequest,DataMigrationServiceClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Returns
Overrides
listMigrationJobsCallable()
public UnaryCallable<ListMigrationJobsRequest,ListMigrationJobsResponse> listMigrationJobsCallable()
Returns
Overrides
listMigrationJobsPagedCallable()
public UnaryCallable<ListMigrationJobsRequest,DataMigrationServiceClient.ListMigrationJobsPagedResponse> listMigrationJobsPagedCallable()
Returns
Overrides
public UnaryCallable<PromoteMigrationJobRequest,Operation> promoteMigrationJobCallable()
Returns
Overrides
public OperationCallable<PromoteMigrationJobRequest,MigrationJob,OperationMetadata> promoteMigrationJobOperationCallable()
Returns
Overrides
restartMigrationJobCallable()
public UnaryCallable<RestartMigrationJobRequest,Operation> restartMigrationJobCallable()
Returns
Overrides
restartMigrationJobOperationCallable()
public OperationCallable<RestartMigrationJobRequest,MigrationJob,OperationMetadata> restartMigrationJobOperationCallable()
Returns
Overrides
resumeMigrationJobCallable()
public UnaryCallable<ResumeMigrationJobRequest,Operation> resumeMigrationJobCallable()
Returns
Overrides
resumeMigrationJobOperationCallable()
public OperationCallable<ResumeMigrationJobRequest,MigrationJob,OperationMetadata> resumeMigrationJobOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startMigrationJobCallable()
public UnaryCallable<StartMigrationJobRequest,Operation> startMigrationJobCallable()
Returns
Overrides
startMigrationJobOperationCallable()
public OperationCallable<StartMigrationJobRequest,MigrationJob,OperationMetadata> startMigrationJobOperationCallable()
Returns
Overrides
stopMigrationJobCallable()
public UnaryCallable<StopMigrationJobRequest,Operation> stopMigrationJobCallable()
Returns
Overrides
stopMigrationJobOperationCallable()
public OperationCallable<StopMigrationJobRequest,MigrationJob,OperationMetadata> stopMigrationJobOperationCallable()
Returns
Overrides
updateConnectionProfileCallable()
public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Returns
Overrides
updateConnectionProfileOperationCallable()
public OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationCallable()
Returns
Overrides
updateMigrationJobCallable()
public UnaryCallable<UpdateMigrationJobRequest,Operation> updateMigrationJobCallable()
Returns
Overrides
updateMigrationJobOperationCallable()
public OperationCallable<UpdateMigrationJobRequest,MigrationJob,OperationMetadata> updateMigrationJobOperationCallable()
Returns
Overrides
verifyMigrationJobCallable()
public UnaryCallable<VerifyMigrationJobRequest,Operation> verifyMigrationJobCallable()
Returns
Overrides
verifyMigrationJobOperationCallable()
public OperationCallable<VerifyMigrationJobRequest,MigrationJob,OperationMetadata> verifyMigrationJobOperationCallable()
Returns
Overrides