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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataMigrationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DataMigrationServiceStubSettings settings)
public static final GrpcDataMigrationServiceStub create(DataMigrationServiceStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createConnectionProfileCallable()
public UnaryCallable<CreateConnectionProfileRequest,Operation> createConnectionProfileCallable()
Overrides
createConnectionProfileOperationCallable()
public OperationCallable<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationCallable()
Overrides
createMigrationJobCallable()
public UnaryCallable<CreateMigrationJobRequest,Operation> createMigrationJobCallable()
Overrides
createMigrationJobOperationCallable()
public OperationCallable<CreateMigrationJobRequest,MigrationJob,OperationMetadata> createMigrationJobOperationCallable()
Overrides
deleteConnectionProfileCallable()
public UnaryCallable<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileCallable()
Overrides
deleteConnectionProfileOperationCallable()
public OperationCallable<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationCallable()
Overrides
deleteMigrationJobCallable()
public UnaryCallable<DeleteMigrationJobRequest,Operation> deleteMigrationJobCallable()
Overrides
deleteMigrationJobOperationCallable()
public OperationCallable<DeleteMigrationJobRequest,Empty,OperationMetadata> deleteMigrationJobOperationCallable()
Overrides
generateSshScriptCallable()
public UnaryCallable<GenerateSshScriptRequest,SshScript> generateSshScriptCallable()
Overrides
getConnectionProfileCallable()
public UnaryCallable<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileCallable()
Overrides
getMigrationJobCallable()
public UnaryCallable<GetMigrationJobRequest,MigrationJob> getMigrationJobCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listConnectionProfilesCallable()
public UnaryCallable<ListConnectionProfilesRequest,ListConnectionProfilesResponse> listConnectionProfilesCallable()
Overrides
listConnectionProfilesPagedCallable()
public UnaryCallable<ListConnectionProfilesRequest,DataMigrationServiceClient.ListConnectionProfilesPagedResponse> listConnectionProfilesPagedCallable()
Overrides
listMigrationJobsCallable()
public UnaryCallable<ListMigrationJobsRequest,ListMigrationJobsResponse> listMigrationJobsCallable()
Overrides
listMigrationJobsPagedCallable()
public UnaryCallable<ListMigrationJobsRequest,DataMigrationServiceClient.ListMigrationJobsPagedResponse> listMigrationJobsPagedCallable()
Overrides
public UnaryCallable<PromoteMigrationJobRequest,Operation> promoteMigrationJobCallable()
Overrides
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
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
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