Class GrpcDataMigrationServiceStub (2.52.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataMigrationServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataMigrationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataMigrationServiceStub
Exceptions
Type Description
IOException

create(DataMigrationServiceStubSettings settings)

public static final GrpcDataMigrationServiceStub create(DataMigrationServiceStubSettings settings)
Parameter
Name Description
settings DataMigrationServiceStubSettings
Returns
Type Description
GrpcDataMigrationServiceStub
Exceptions
Type Description
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
Name Description
settings DataMigrationServiceStubSettings
clientContext ClientContext

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
Name Description
settings DataMigrationServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

applyConversionWorkspaceCallable()

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

applyConversionWorkspaceOperationCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

commitConversionWorkspaceCallable()

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

commitConversionWorkspaceOperationCallable()

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

convertConversionWorkspaceCallable()

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

convertConversionWorkspaceOperationCallable()

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

createConnectionProfileCallable()

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

createConnectionProfileOperationCallable()

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

createConversionWorkspaceCallable()

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

createConversionWorkspaceOperationCallable()

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

createMappingRuleCallable()

public UnaryCallable<CreateMappingRuleRequest,MappingRule> createMappingRuleCallable()
Returns
Type Description
UnaryCallable<CreateMappingRuleRequest,MappingRule>
Overrides

createMigrationJobCallable()

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

createMigrationJobOperationCallable()

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

createPrivateConnectionCallable()

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

createPrivateConnectionOperationCallable()

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

deleteConnectionProfileCallable()

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

deleteConnectionProfileOperationCallable()

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

deleteConversionWorkspaceCallable()

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

deleteConversionWorkspaceOperationCallable()

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

deleteMappingRuleCallable()

public UnaryCallable<DeleteMappingRuleRequest,Empty> deleteMappingRuleCallable()
Returns
Type Description
UnaryCallable<DeleteMappingRuleRequest,Empty>
Overrides

deleteMigrationJobCallable()

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

deleteMigrationJobOperationCallable()

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

deletePrivateConnectionCallable()

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

deletePrivateConnectionOperationCallable()

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

describeConversionWorkspaceRevisionsCallable()

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

describeDatabaseEntitiesCallable()

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

describeDatabaseEntitiesPagedCallable()

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

fetchStaticIpsCallable()

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

fetchStaticIpsPagedCallable()

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

generateSshScriptCallable()

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

generateTcpProxyScriptCallable()

public UnaryCallable<GenerateTcpProxyScriptRequest,TcpProxyScript> generateTcpProxyScriptCallable()
Returns
Type Description
UnaryCallable<GenerateTcpProxyScriptRequest,TcpProxyScript>
Overrides

getConnectionProfileCallable()

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

getConversionWorkspaceCallable()

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

getMappingRuleCallable()

public UnaryCallable<GetMappingRuleRequest,MappingRule> getMappingRuleCallable()
Returns
Type Description
UnaryCallable<GetMappingRuleRequest,MappingRule>
Overrides

getMigrationJobCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getPrivateConnectionCallable()

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

importMappingRulesCallable()

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

importMappingRulesOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listConnectionProfilesCallable()

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

listConnectionProfilesPagedCallable()

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

listConversionWorkspacesCallable()

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

listConversionWorkspacesPagedCallable()

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

listMappingRulesCallable()

public UnaryCallable<ListMappingRulesRequest,ListMappingRulesResponse> listMappingRulesCallable()
Returns
Type Description
UnaryCallable<ListMappingRulesRequest,ListMappingRulesResponse>
Overrides

listMappingRulesPagedCallable()

public UnaryCallable<ListMappingRulesRequest,DataMigrationServiceClient.ListMappingRulesPagedResponse> listMappingRulesPagedCallable()
Returns
Type Description
UnaryCallable<ListMappingRulesRequest,ListMappingRulesPagedResponse>
Overrides

listMigrationJobsCallable()

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

listMigrationJobsPagedCallable()

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

listPrivateConnectionsCallable()

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

listPrivateConnectionsPagedCallable()

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

promoteMigrationJobCallable()

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

promoteMigrationJobOperationCallable()

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

restartMigrationJobCallable()

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

restartMigrationJobOperationCallable()

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

resumeMigrationJobCallable()

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

resumeMigrationJobOperationCallable()

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

rollbackConversionWorkspaceCallable()

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

rollbackConversionWorkspaceOperationCallable()

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

searchBackgroundJobsCallable()

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

seedConversionWorkspaceCallable()

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

seedConversionWorkspaceOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startMigrationJobCallable()

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

startMigrationJobOperationCallable()

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

stopMigrationJobCallable()

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

stopMigrationJobOperationCallable()

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

updateConnectionProfileCallable()

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

updateConnectionProfileOperationCallable()

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

updateConversionWorkspaceCallable()

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

updateConversionWorkspaceOperationCallable()

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

updateMigrationJobCallable()

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

updateMigrationJobOperationCallable()

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

verifyMigrationJobCallable()

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

verifyMigrationJobOperationCallable()

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