Class GrpcDataMigrationServiceStub (2.17.0)

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.

Inheritance

java.lang.Object > DataMigrationServiceStub > GrpcDataMigrationServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDataMigrationServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDataMigrationServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataMigrationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDataMigrationServiceStub
Exceptions
TypeDescription
IOException

create(DataMigrationServiceStubSettings settings)

public static final GrpcDataMigrationServiceStub create(DataMigrationServiceStubSettings settings)
Parameter
NameDescription
settingsDataMigrationServiceStubSettings
Returns
TypeDescription
GrpcDataMigrationServiceStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsDataMigrationServiceStubSettings
clientContextClientContext

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
NameDescription
settingsDataMigrationServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

applyConversionWorkspaceCallable()

public UnaryCallable<ApplyConversionWorkspaceRequest,Operation> applyConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<ApplyConversionWorkspaceRequest,Operation>
Overrides

applyConversionWorkspaceOperationCallable()

public OperationCallable<ApplyConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> applyConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<ApplyConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

commitConversionWorkspaceCallable()

public UnaryCallable<CommitConversionWorkspaceRequest,Operation> commitConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<CommitConversionWorkspaceRequest,Operation>
Overrides

commitConversionWorkspaceOperationCallable()

public OperationCallable<CommitConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> commitConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<CommitConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>
Overrides

convertConversionWorkspaceCallable()

public UnaryCallable<ConvertConversionWorkspaceRequest,Operation> convertConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<ConvertConversionWorkspaceRequest,Operation>
Overrides

convertConversionWorkspaceOperationCallable()

public OperationCallable<ConvertConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> convertConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<ConvertConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>
Overrides

createConnectionProfileCallable()

public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<CreateConnectionProfileRequest,Operation>
Overrides

createConnectionProfileOperationCallable()

public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Returns
TypeDescription
OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata>
Overrides

createConversionWorkspaceCallable()

public UnaryCallable<CreateConversionWorkspaceRequest,Operation> createConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<CreateConversionWorkspaceRequest,Operation>
Overrides

createConversionWorkspaceOperationCallable()

public OperationCallable<CreateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> createConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<CreateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>
Overrides

createMigrationJobCallable()

public UnaryCallable<CreateMigrationJobRequest,Operation> createMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<CreateMigrationJobRequest,Operation>
Overrides

createMigrationJobOperationCallable()

public OperationCallable<CreateMigrationJobRequest,MigrationJob,OperationMetadata> createMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<CreateMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides

createPrivateConnectionCallable()

public UnaryCallable<CreatePrivateConnectionRequest,Operation> createPrivateConnectionCallable()
Returns
TypeDescription
UnaryCallable<CreatePrivateConnectionRequest,Operation>
Overrides

createPrivateConnectionOperationCallable()

public OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata>
Overrides

deleteConnectionProfileCallable()

public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<DeleteConnectionProfileRequest,Operation>
Overrides

deleteConnectionProfileOperationCallable()

public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata>
Overrides

deleteConversionWorkspaceCallable()

public UnaryCallable<DeleteConversionWorkspaceRequest,Operation> deleteConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<DeleteConversionWorkspaceRequest,Operation>
Overrides

deleteConversionWorkspaceOperationCallable()

public OperationCallable<DeleteConversionWorkspaceRequest,Empty,OperationMetadata> deleteConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteConversionWorkspaceRequest,Empty,OperationMetadata>
Overrides

deleteMigrationJobCallable()

public UnaryCallable<DeleteMigrationJobRequest,Operation> deleteMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<DeleteMigrationJobRequest,Operation>
Overrides

deleteMigrationJobOperationCallable()

public OperationCallable<DeleteMigrationJobRequest,Empty,OperationMetadata> deleteMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteMigrationJobRequest,Empty,OperationMetadata>
Overrides

deletePrivateConnectionCallable()

public UnaryCallable<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionCallable()
Returns
TypeDescription
UnaryCallable<DeletePrivateConnectionRequest,Operation>
Overrides

deletePrivateConnectionOperationCallable()

public OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<DeletePrivateConnectionRequest,Empty,OperationMetadata>
Overrides

describeConversionWorkspaceRevisionsCallable()

public UnaryCallable<DescribeConversionWorkspaceRevisionsRequest,DescribeConversionWorkspaceRevisionsResponse> describeConversionWorkspaceRevisionsCallable()
Returns
TypeDescription
UnaryCallable<DescribeConversionWorkspaceRevisionsRequest,DescribeConversionWorkspaceRevisionsResponse>
Overrides

describeDatabaseEntitiesCallable()

public UnaryCallable<DescribeDatabaseEntitiesRequest,DescribeDatabaseEntitiesResponse> describeDatabaseEntitiesCallable()
Returns
TypeDescription
UnaryCallable<DescribeDatabaseEntitiesRequest,DescribeDatabaseEntitiesResponse>
Overrides

describeDatabaseEntitiesPagedCallable()

public UnaryCallable<DescribeDatabaseEntitiesRequest,DataMigrationServiceClient.DescribeDatabaseEntitiesPagedResponse> describeDatabaseEntitiesPagedCallable()
Returns
TypeDescription
UnaryCallable<DescribeDatabaseEntitiesRequest,DescribeDatabaseEntitiesPagedResponse>
Overrides

fetchStaticIpsCallable()

public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Returns
TypeDescription
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse>
Overrides

fetchStaticIpsPagedCallable()

public UnaryCallable<FetchStaticIpsRequest,DataMigrationServiceClient.FetchStaticIpsPagedResponse> fetchStaticIpsPagedCallable()
Returns
TypeDescription
UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsPagedResponse>
Overrides

generateSshScriptCallable()

public UnaryCallable<GenerateSshScriptRequest,SshScript> generateSshScriptCallable()
Returns
TypeDescription
UnaryCallable<GenerateSshScriptRequest,SshScript>
Overrides

getConnectionProfileCallable()

public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<GetConnectionProfileRequest,ConnectionProfile>
Overrides

getConversionWorkspaceCallable()

public UnaryCallable<GetConversionWorkspaceRequest,ConversionWorkspace> getConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<GetConversionWorkspaceRequest,ConversionWorkspace>
Overrides

getMigrationJobCallable()

public UnaryCallable<GetMigrationJobRequest,MigrationJob> getMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<GetMigrationJobRequest,MigrationJob>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getPrivateConnectionCallable()

public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Returns
TypeDescription
UnaryCallable<GetPrivateConnectionRequest,PrivateConnection>
Overrides

importMappingRulesCallable()

public UnaryCallable<ImportMappingRulesRequest,Operation> importMappingRulesCallable()
Returns
TypeDescription
UnaryCallable<ImportMappingRulesRequest,Operation>
Overrides

importMappingRulesOperationCallable()

public OperationCallable<ImportMappingRulesRequest,ConversionWorkspace,OperationMetadata> importMappingRulesOperationCallable()
Returns
TypeDescription
OperationCallable<ImportMappingRulesRequest,ConversionWorkspace,OperationMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listConnectionProfilesCallable()

public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Returns
TypeDescription
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse>
Overrides

listConnectionProfilesPagedCallable()

public UnaryCallable<ListConnectionProfilesRequest,DataMigrationServiceClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesPagedResponse>
Overrides

listConversionWorkspacesCallable()

public UnaryCallable<ListConversionWorkspacesRequest,ListConversionWorkspacesResponse> listConversionWorkspacesCallable()
Returns
TypeDescription
UnaryCallable<ListConversionWorkspacesRequest,ListConversionWorkspacesResponse>
Overrides

listConversionWorkspacesPagedCallable()

public UnaryCallable<ListConversionWorkspacesRequest,DataMigrationServiceClient.ListConversionWorkspacesPagedResponse> listConversionWorkspacesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListConversionWorkspacesRequest,ListConversionWorkspacesPagedResponse>
Overrides

listMigrationJobsCallable()

public UnaryCallable<ListMigrationJobsRequest,ListMigrationJobsResponse> listMigrationJobsCallable()
Returns
TypeDescription
UnaryCallable<ListMigrationJobsRequest,ListMigrationJobsResponse>
Overrides

listMigrationJobsPagedCallable()

public UnaryCallable<ListMigrationJobsRequest,DataMigrationServiceClient.ListMigrationJobsPagedResponse> listMigrationJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListMigrationJobsRequest,ListMigrationJobsPagedResponse>
Overrides

listPrivateConnectionsCallable()

public UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> listPrivateConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse>
Overrides

listPrivateConnectionsPagedCallable()

public UnaryCallable<ListPrivateConnectionsRequest,DataMigrationServiceClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsPagedResponse>
Overrides

promoteMigrationJobCallable()

public UnaryCallable<PromoteMigrationJobRequest,Operation> promoteMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<PromoteMigrationJobRequest,Operation>
Overrides

promoteMigrationJobOperationCallable()

public OperationCallable<PromoteMigrationJobRequest,MigrationJob,OperationMetadata> promoteMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<PromoteMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides

restartMigrationJobCallable()

public UnaryCallable<RestartMigrationJobRequest,Operation> restartMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<RestartMigrationJobRequest,Operation>
Overrides

restartMigrationJobOperationCallable()

public OperationCallable<RestartMigrationJobRequest,MigrationJob,OperationMetadata> restartMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<RestartMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides

resumeMigrationJobCallable()

public UnaryCallable<ResumeMigrationJobRequest,Operation> resumeMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<ResumeMigrationJobRequest,Operation>
Overrides

resumeMigrationJobOperationCallable()

public OperationCallable<ResumeMigrationJobRequest,MigrationJob,OperationMetadata> resumeMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<ResumeMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides

rollbackConversionWorkspaceCallable()

public UnaryCallable<RollbackConversionWorkspaceRequest,Operation> rollbackConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<RollbackConversionWorkspaceRequest,Operation>
Overrides

rollbackConversionWorkspaceOperationCallable()

public OperationCallable<RollbackConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> rollbackConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<RollbackConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>
Overrides

searchBackgroundJobsCallable()

public UnaryCallable<SearchBackgroundJobsRequest,SearchBackgroundJobsResponse> searchBackgroundJobsCallable()
Returns
TypeDescription
UnaryCallable<SearchBackgroundJobsRequest,SearchBackgroundJobsResponse>
Overrides

seedConversionWorkspaceCallable()

public UnaryCallable<SeedConversionWorkspaceRequest,Operation> seedConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<SeedConversionWorkspaceRequest,Operation>
Overrides

seedConversionWorkspaceOperationCallable()

public OperationCallable<SeedConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> seedConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<SeedConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startMigrationJobCallable()

public UnaryCallable<StartMigrationJobRequest,Operation> startMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<StartMigrationJobRequest,Operation>
Overrides

startMigrationJobOperationCallable()

public OperationCallable<StartMigrationJobRequest,MigrationJob,OperationMetadata> startMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<StartMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides

stopMigrationJobCallable()

public UnaryCallable<StopMigrationJobRequest,Operation> stopMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<StopMigrationJobRequest,Operation>
Overrides

stopMigrationJobOperationCallable()

public OperationCallable<StopMigrationJobRequest,MigrationJob,OperationMetadata> stopMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<StopMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides

updateConnectionProfileCallable()

public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Returns
TypeDescription
UnaryCallable<UpdateConnectionProfileRequest,Operation>
Overrides

updateConnectionProfileOperationCallable()

public OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata>
Overrides

updateConversionWorkspaceCallable()

public UnaryCallable<UpdateConversionWorkspaceRequest,Operation> updateConversionWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<UpdateConversionWorkspaceRequest,Operation>
Overrides

updateConversionWorkspaceOperationCallable()

public OperationCallable<UpdateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> updateConversionWorkspaceOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>
Overrides

updateMigrationJobCallable()

public UnaryCallable<UpdateMigrationJobRequest,Operation> updateMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<UpdateMigrationJobRequest,Operation>
Overrides

updateMigrationJobOperationCallable()

public OperationCallable<UpdateMigrationJobRequest,MigrationJob,OperationMetadata> updateMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides

verifyMigrationJobCallable()

public UnaryCallable<VerifyMigrationJobRequest,Operation> verifyMigrationJobCallable()
Returns
TypeDescription
UnaryCallable<VerifyMigrationJobRequest,Operation>
Overrides

verifyMigrationJobOperationCallable()

public OperationCallable<VerifyMigrationJobRequest,MigrationJob,OperationMetadata> verifyMigrationJobOperationCallable()
Returns
TypeDescription
OperationCallable<VerifyMigrationJobRequest,MigrationJob,OperationMetadata>
Overrides