Class GrpcDataMigrationServiceStub (2.17.0)

See more code actions.
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.

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()
Overrides

applyConversionWorkspaceOperationCallable()

public OperationCallable<ApplyConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> applyConversionWorkspaceOperationCallable()
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()
Overrides

commitConversionWorkspaceOperationCallable()

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

convertConversionWorkspaceCallable()

public UnaryCallable<ConvertConversionWorkspaceRequest,Operation> convertConversionWorkspaceCallable()
Overrides

convertConversionWorkspaceOperationCallable()

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

createConnectionProfileCallable()

public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Overrides

createConnectionProfileOperationCallable()

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

createConversionWorkspaceCallable()

public UnaryCallable<CreateConversionWorkspaceRequest,Operation> createConversionWorkspaceCallable()
Overrides

createConversionWorkspaceOperationCallable()

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

createMigrationJobCallable()

public UnaryCallable<CreateMigrationJobRequest,Operation> createMigrationJobCallable()
Overrides

createMigrationJobOperationCallable()

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

createPrivateConnectionCallable()

public UnaryCallable<CreatePrivateConnectionRequest,Operation> createPrivateConnectionCallable()
Overrides

createPrivateConnectionOperationCallable()

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

deleteConnectionProfileCallable()

public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Overrides

deleteConnectionProfileOperationCallable()

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

deleteConversionWorkspaceCallable()

public UnaryCallable<DeleteConversionWorkspaceRequest,Operation> deleteConversionWorkspaceCallable()
Overrides

deleteConversionWorkspaceOperationCallable()

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

deleteMigrationJobCallable()

public UnaryCallable<DeleteMigrationJobRequest,Operation> deleteMigrationJobCallable()
Overrides

deleteMigrationJobOperationCallable()

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

deletePrivateConnectionCallable()

public UnaryCallable<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionCallable()
Overrides

deletePrivateConnectionOperationCallable()

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

describeConversionWorkspaceRevisionsCallable()

public UnaryCallable<DescribeConversionWorkspaceRevisionsRequest,DescribeConversionWorkspaceRevisionsResponse> describeConversionWorkspaceRevisionsCallable()
Overrides

describeDatabaseEntitiesCallable()

public UnaryCallable<DescribeDatabaseEntitiesRequest,DescribeDatabaseEntitiesResponse> describeDatabaseEntitiesCallable()
Overrides

describeDatabaseEntitiesPagedCallable()

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

fetchStaticIpsCallable()

public UnaryCallable<FetchStaticIpsRequest,FetchStaticIpsResponse> fetchStaticIpsCallable()
Overrides

fetchStaticIpsPagedCallable()

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

generateSshScriptCallable()

public UnaryCallable<GenerateSshScriptRequest,SshScript> generateSshScriptCallable()
Overrides

getConnectionProfileCallable()

public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Overrides

getConversionWorkspaceCallable()

public UnaryCallable<GetConversionWorkspaceRequest,ConversionWorkspace> getConversionWorkspaceCallable()
Overrides

getMigrationJobCallable()

public UnaryCallable<GetMigrationJobRequest,MigrationJob> getMigrationJobCallable()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getPrivateConnectionCallable()

public UnaryCallable<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionCallable()
Overrides

importMappingRulesCallable()

public UnaryCallable<ImportMappingRulesRequest,Operation> importMappingRulesCallable()
Overrides

importMappingRulesOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listConnectionProfilesCallable()

public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Overrides

listConnectionProfilesPagedCallable()

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

listConversionWorkspacesCallable()

public UnaryCallable<ListConversionWorkspacesRequest,ListConversionWorkspacesResponse> listConversionWorkspacesCallable()
Overrides

listConversionWorkspacesPagedCallable()

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

listMigrationJobsCallable()

public UnaryCallable<ListMigrationJobsRequest,ListMigrationJobsResponse> listMigrationJobsCallable()
Overrides

listMigrationJobsPagedCallable()

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

listPrivateConnectionsCallable()

public UnaryCallable<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse> listPrivateConnectionsCallable()
Overrides

listPrivateConnectionsPagedCallable()

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

promoteMigrationJobCallable()

public UnaryCallable<PromoteMigrationJobRequest,Operation> promoteMigrationJobCallable()
Overrides

promoteMigrationJobOperationCallable()

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

restartMigrationJobCallable()

public UnaryCallable<RestartMigrationJobRequest,Operation> restartMigrationJobCallable()
Overrides

restartMigrationJobOperationCallable()

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

resumeMigrationJobCallable()

public UnaryCallable<ResumeMigrationJobRequest,Operation> resumeMigrationJobCallable()
Overrides

resumeMigrationJobOperationCallable()

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

rollbackConversionWorkspaceCallable()

public UnaryCallable<RollbackConversionWorkspaceRequest,Operation> rollbackConversionWorkspaceCallable()
Overrides

rollbackConversionWorkspaceOperationCallable()

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

searchBackgroundJobsCallable()

public UnaryCallable<SearchBackgroundJobsRequest,SearchBackgroundJobsResponse> searchBackgroundJobsCallable()
Overrides

seedConversionWorkspaceCallable()

public UnaryCallable<SeedConversionWorkspaceRequest,Operation> seedConversionWorkspaceCallable()
Overrides

seedConversionWorkspaceOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startMigrationJobCallable()

public UnaryCallable<StartMigrationJobRequest,Operation> startMigrationJobCallable()
Overrides

startMigrationJobOperationCallable()

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

stopMigrationJobCallable()

public UnaryCallable<StopMigrationJobRequest,Operation> stopMigrationJobCallable()
Overrides

stopMigrationJobOperationCallable()

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

updateConnectionProfileCallable()

public UnaryCallable<UpdateConnectionProfileRequest,Operation> updateConnectionProfileCallable()
Overrides

updateConnectionProfileOperationCallable()

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

updateConversionWorkspaceCallable()

public UnaryCallable<UpdateConversionWorkspaceRequest,Operation> updateConversionWorkspaceCallable()
Overrides

updateConversionWorkspaceOperationCallable()

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

updateMigrationJobCallable()

public UnaryCallable<UpdateMigrationJobRequest,Operation> updateMigrationJobCallable()
Overrides

updateMigrationJobOperationCallable()

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

verifyMigrationJobCallable()

public UnaryCallable<VerifyMigrationJobRequest,Operation> verifyMigrationJobCallable()
Overrides

verifyMigrationJobOperationCallable()

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