Class GrpcMigrationCenterStub (0.58.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  GrpcMigrationCenterStub   extends   MigrationCenterStub  
  gRPC stub implementation for the MigrationCenter service API.
 
This class is for advanced usage and reflects the underlying API directly.
Static Methods
   
  create(ClientContext clientContext) 
  
    
public   static   final   GrpcMigrationCenterStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
public   static   final   GrpcMigrationCenterStub   create ( ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  
  
  
  create(MigrationCenterStubSettings settings) 
  
    
public   static   final   GrpcMigrationCenterStub   create ( MigrationCenterStubSettings   settings )  
  
  
  
  Constructors
   
  GrpcMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext) 
  
    
protected   GrpcMigrationCenterStub ( MigrationCenterStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of GrpcMigrationCenterStub, 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.
GrpcMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
protected   GrpcMigrationCenterStub ( MigrationCenterStubSettings   settings ,   ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  Constructs an instance of GrpcMigrationCenterStub, 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
   
  addAssetsToGroupCallable() 
  
    
public   UnaryCallable<AddAssetsToGroupRequest , Operation >  addAssetsToGroupCallable ()  
  
  Overrides 
  
  addAssetsToGroupOperationCallable() 
  
    
public   OperationCallable<AddAssetsToGroupRequest , Group , OperationMetadata >  addAssetsToGroupOperationCallable ()  
  
  Overrides 
  
  aggregateAssetsValuesCallable() 
  
    
public   UnaryCallable<AggregateAssetsValuesRequest , AggregateAssetsValuesResponse >  aggregateAssetsValuesCallable ()  
  
  Overrides 
  
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  batchDeleteAssetsCallable() 
  
    
public   UnaryCallable<BatchDeleteAssetsRequest , Empty >  batchDeleteAssetsCallable ()  
  
  Overrides 
  
  batchUpdateAssetsCallable() 
  
    
public   UnaryCallable<BatchUpdateAssetsRequest , BatchUpdateAssetsResponse >  batchUpdateAssetsCallable ()  
  
  Overrides 
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  createGroupCallable() 
  
    
public   UnaryCallable<CreateGroupRequest , Operation >  createGroupCallable ()  
  
  Overrides 
  
  createGroupOperationCallable() 
  
    
public   OperationCallable<CreateGroupRequest , Group , OperationMetadata >  createGroupOperationCallable ()  
  
  Overrides 
  
  createImportDataFileCallable() 
  
    
public   UnaryCallable<CreateImportDataFileRequest , Operation >  createImportDataFileCallable ()  
  
  Overrides 
  
  createImportDataFileOperationCallable() 
  
    
public   OperationCallable<CreateImportDataFileRequest , ImportDataFile , OperationMetadata >  createImportDataFileOperationCallable ()  
  
  Overrides 
  
  createImportJobCallable() 
  
    
public   UnaryCallable<CreateImportJobRequest , Operation >  createImportJobCallable ()  
  
  Overrides 
  
  createImportJobOperationCallable() 
  
    
public   OperationCallable<CreateImportJobRequest , ImportJob , OperationMetadata >  createImportJobOperationCallable ()  
  
  Overrides 
  
  createPreferenceSetCallable() 
  
    
public   UnaryCallable<CreatePreferenceSetRequest , Operation >  createPreferenceSetCallable ()  
  
  Overrides 
  
  createPreferenceSetOperationCallable() 
  
    
public   OperationCallable<CreatePreferenceSetRequest , PreferenceSet , OperationMetadata >  createPreferenceSetOperationCallable ()  
  
  Overrides 
  
  createReportCallable() 
  
    
public   UnaryCallable<CreateReportRequest , Operation >  createReportCallable ()  
  
  Overrides 
  
  createReportConfigCallable() 
  
    
public   UnaryCallable<CreateReportConfigRequest , Operation >  createReportConfigCallable ()  
  
  Overrides 
  
  createReportConfigOperationCallable() 
  
    
public   OperationCallable<CreateReportConfigRequest , ReportConfig , OperationMetadata >  createReportConfigOperationCallable ()  
  
  Overrides 
  
  createReportOperationCallable() 
  
    
public   OperationCallable<CreateReportRequest , Report , OperationMetadata >  createReportOperationCallable ()  
  
  Overrides 
  
  createSourceCallable() 
  
    
public   UnaryCallable<CreateSourceRequest , Operation >  createSourceCallable ()  
  
  Overrides 
  
  createSourceOperationCallable() 
  
    
public   OperationCallable<CreateSourceRequest , Source , OperationMetadata >  createSourceOperationCallable ()  
  
  Overrides 
  
  deleteAssetCallable() 
  
    
public   UnaryCallable<DeleteAssetRequest , Empty >  deleteAssetCallable ()  
  
  Overrides 
  
  deleteGroupCallable() 
  
    
public   UnaryCallable<DeleteGroupRequest , Operation >  deleteGroupCallable ()  
  
  Overrides 
  
  deleteGroupOperationCallable() 
  
    
public   OperationCallable<DeleteGroupRequest , Empty , OperationMetadata >  deleteGroupOperationCallable ()  
  
  Overrides 
  
  deleteImportDataFileCallable() 
  
    
public   UnaryCallable<DeleteImportDataFileRequest , Operation >  deleteImportDataFileCallable ()  
  
  Overrides 
  
  deleteImportDataFileOperationCallable() 
  
    
public   OperationCallable<DeleteImportDataFileRequest , Empty , OperationMetadata >  deleteImportDataFileOperationCallable ()  
  
  Overrides 
  
  deleteImportJobCallable() 
  
    
public   UnaryCallable<DeleteImportJobRequest , Operation >  deleteImportJobCallable ()  
  
  Overrides 
  
  deleteImportJobOperationCallable() 
  
    
public   OperationCallable<DeleteImportJobRequest , Empty , OperationMetadata >  deleteImportJobOperationCallable ()  
  
  Overrides 
  
  deletePreferenceSetCallable() 
  
    
public   UnaryCallable<DeletePreferenceSetRequest , Operation >  deletePreferenceSetCallable ()  
  
  Overrides 
  
  deletePreferenceSetOperationCallable() 
  
    
public   OperationCallable<DeletePreferenceSetRequest , Empty , OperationMetadata >  deletePreferenceSetOperationCallable ()  
  
  Overrides 
  
  deleteReportCallable() 
  
    
public   UnaryCallable<DeleteReportRequest , Operation >  deleteReportCallable ()  
  
  Overrides 
  
  deleteReportConfigCallable() 
  
    
public   UnaryCallable<DeleteReportConfigRequest , Operation >  deleteReportConfigCallable ()  
  
  Overrides 
  
  deleteReportConfigOperationCallable() 
  
    
public   OperationCallable<DeleteReportConfigRequest , Empty , OperationMetadata >  deleteReportConfigOperationCallable ()  
  
  Overrides 
  
  deleteReportOperationCallable() 
  
    
public   OperationCallable<DeleteReportRequest , Empty , OperationMetadata >  deleteReportOperationCallable ()  
  
  Overrides 
  
  deleteSourceCallable() 
  
    
public   UnaryCallable<DeleteSourceRequest , Operation >  deleteSourceCallable ()  
  
  Overrides 
  
  deleteSourceOperationCallable() 
  
    
public   OperationCallable<DeleteSourceRequest , Empty , OperationMetadata >  deleteSourceOperationCallable ()  
  
  Overrides 
  
  getAssetCallable() 
  
    
public   UnaryCallable<GetAssetRequest , Asset >  getAssetCallable ()  
  
  Overrides 
  
  getErrorFrameCallable() 
  
    
public   UnaryCallable<GetErrorFrameRequest , ErrorFrame >  getErrorFrameCallable ()  
  
  Overrides 
  
  getGroupCallable() 
  
    
public   UnaryCallable<GetGroupRequest , Group >  getGroupCallable ()  
  
  Overrides 
  
  getImportDataFileCallable() 
  
    
public   UnaryCallable<GetImportDataFileRequest , ImportDataFile >  getImportDataFileCallable ()  
  
  Overrides 
  
  getImportJobCallable() 
  
    
public   UnaryCallable<GetImportJobRequest , ImportJob >  getImportJobCallable ()  
  
  Overrides 
  
  getLocationCallable() 
  
    
public   UnaryCallable<GetLocationRequest , Location >  getLocationCallable ()  
  
    
      
        Returns  
      
        Type Description  
      
        UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location > 
     
  
  Overrides 
  
  getOperationsStub() 
  
    
public   GrpcOperationsStub   getOperationsStub ()  
  
  Overrides 
  
  getPreferenceSetCallable() 
  
    
public   UnaryCallable<GetPreferenceSetRequest , PreferenceSet >  getPreferenceSetCallable ()  
  
  Overrides 
  
  getReportCallable() 
  
    
public   UnaryCallable<GetReportRequest , Report >  getReportCallable ()  
  
  Overrides 
  
  getReportConfigCallable() 
  
    
public   UnaryCallable<GetReportConfigRequest , ReportConfig >  getReportConfigCallable ()  
  
  Overrides 
  
  getSettingsCallable() 
  
    
public   UnaryCallable<GetSettingsRequest , Settings >  getSettingsCallable ()  
  
  Overrides 
  
  getSourceCallable() 
  
    
public   UnaryCallable<GetSourceRequest , Source >  getSourceCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listAssetsCallable() 
  
    
public   UnaryCallable<ListAssetsRequest , ListAssetsResponse >  listAssetsCallable ()  
  
  Overrides 
  
  listAssetsPagedCallable() 
  
    
public   UnaryCallable<ListAssetsRequest , MigrationCenterClient . ListAssetsPagedResponse >  listAssetsPagedCallable ()  
  
  Overrides 
  
  listErrorFramesCallable() 
  
    
public   UnaryCallable<ListErrorFramesRequest , ListErrorFramesResponse >  listErrorFramesCallable ()  
  
  Overrides 
  
  listErrorFramesPagedCallable() 
  
    
public   UnaryCallable<ListErrorFramesRequest , MigrationCenterClient . ListErrorFramesPagedResponse >  listErrorFramesPagedCallable ()  
  
  Overrides 
  
  listGroupsCallable() 
  
    
public   UnaryCallable<ListGroupsRequest , ListGroupsResponse >  listGroupsCallable ()  
  
  Overrides 
  
  listGroupsPagedCallable() 
  
    
public   UnaryCallable<ListGroupsRequest , MigrationCenterClient . ListGroupsPagedResponse >  listGroupsPagedCallable ()  
  
  Overrides 
  
  listImportDataFilesCallable() 
  
    
public   UnaryCallable<ListImportDataFilesRequest , ListImportDataFilesResponse >  listImportDataFilesCallable ()  
  
  Overrides 
  
  listImportDataFilesPagedCallable() 
  
    
public   UnaryCallable<ListImportDataFilesRequest , MigrationCenterClient . ListImportDataFilesPagedResponse >  listImportDataFilesPagedCallable ()  
  
  Overrides 
  
  listImportJobsCallable() 
  
    
public   UnaryCallable<ListImportJobsRequest , ListImportJobsResponse >  listImportJobsCallable ()  
  
  Overrides 
  
  listImportJobsPagedCallable() 
  
    
public   UnaryCallable<ListImportJobsRequest , MigrationCenterClient . ListImportJobsPagedResponse >  listImportJobsPagedCallable ()  
  
  Overrides 
  
  listLocationsCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , ListLocationsResponse >  listLocationsCallable ()  
  
    
      
        Returns  
      
        Type Description  
      
        UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse > 
     
  
  Overrides 
  
  listLocationsPagedCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , MigrationCenterClient . ListLocationsPagedResponse >  listLocationsPagedCallable ()  
  
  Overrides 
  
  listPreferenceSetsCallable() 
  
    
public   UnaryCallable<ListPreferenceSetsRequest , ListPreferenceSetsResponse >  listPreferenceSetsCallable ()  
  
  Overrides 
  
  listPreferenceSetsPagedCallable() 
  
    
public   UnaryCallable<ListPreferenceSetsRequest , MigrationCenterClient . ListPreferenceSetsPagedResponse >  listPreferenceSetsPagedCallable ()  
  
  Overrides 
  
  listReportConfigsCallable() 
  
    
public   UnaryCallable<ListReportConfigsRequest , ListReportConfigsResponse >  listReportConfigsCallable ()  
  
  Overrides 
  
  listReportConfigsPagedCallable() 
  
    
public   UnaryCallable<ListReportConfigsRequest , MigrationCenterClient . ListReportConfigsPagedResponse >  listReportConfigsPagedCallable ()  
  
  Overrides 
  
  listReportsCallable() 
  
    
public   UnaryCallable<ListReportsRequest , ListReportsResponse >  listReportsCallable ()  
  
  Overrides 
  
  listReportsPagedCallable() 
  
    
public   UnaryCallable<ListReportsRequest , MigrationCenterClient . ListReportsPagedResponse >  listReportsPagedCallable ()  
  
  Overrides 
  
  listSourcesCallable() 
  
    
public   UnaryCallable<ListSourcesRequest , ListSourcesResponse >  listSourcesCallable ()  
  
  Overrides 
  
  listSourcesPagedCallable() 
  
    
public   UnaryCallable<ListSourcesRequest , MigrationCenterClient . ListSourcesPagedResponse >  listSourcesPagedCallable ()  
  
  Overrides 
  
  removeAssetsFromGroupCallable() 
  
    
public   UnaryCallable<RemoveAssetsFromGroupRequest , Operation >  removeAssetsFromGroupCallable ()  
  
  Overrides 
  
  removeAssetsFromGroupOperationCallable() 
  
    
public   OperationCallable<RemoveAssetsFromGroupRequest , Group , OperationMetadata >  removeAssetsFromGroupOperationCallable ()  
  
  Overrides 
  
  reportAssetFramesCallable() 
  
    
public   UnaryCallable<ReportAssetFramesRequest , ReportAssetFramesResponse >  reportAssetFramesCallable ()  
  
  Overrides 
  
  runImportJobCallable() 
  
    
public   UnaryCallable<RunImportJobRequest , Operation >  runImportJobCallable ()  
  
  Overrides 
  
  runImportJobOperationCallable() 
  
    
public   OperationCallable<RunImportJobRequest , Empty , OperationMetadata >  runImportJobOperationCallable ()  
  
  Overrides 
  
  shutdown() 
  
  shutdownNow() 
  
    
public   void   shutdownNow ()  
  updateAssetCallable() 
  
    
public   UnaryCallable<UpdateAssetRequest , Asset >  updateAssetCallable ()  
  
  Overrides 
  
  updateGroupCallable() 
  
    
public   UnaryCallable<UpdateGroupRequest , Operation >  updateGroupCallable ()  
  
  Overrides 
  
  updateGroupOperationCallable() 
  
    
public   OperationCallable<UpdateGroupRequest , Group , OperationMetadata >  updateGroupOperationCallable ()  
  
  Overrides 
  
  updateImportJobCallable() 
  
    
public   UnaryCallable<UpdateImportJobRequest , Operation >  updateImportJobCallable ()  
  
  Overrides 
  
  updateImportJobOperationCallable() 
  
    
public   OperationCallable<UpdateImportJobRequest , ImportJob , OperationMetadata >  updateImportJobOperationCallable ()  
  
  Overrides 
  
  updatePreferenceSetCallable() 
  
    
public   UnaryCallable<UpdatePreferenceSetRequest , Operation >  updatePreferenceSetCallable ()  
  
  Overrides 
  
  updatePreferenceSetOperationCallable() 
  
    
public   OperationCallable<UpdatePreferenceSetRequest , PreferenceSet , OperationMetadata >  updatePreferenceSetOperationCallable ()  
  
  Overrides 
  
  updateSettingsCallable() 
  
    
public   UnaryCallable<UpdateSettingsRequest , Operation >  updateSettingsCallable ()  
  
  Overrides 
  
  updateSettingsOperationCallable() 
  
    
public   OperationCallable<UpdateSettingsRequest , Settings , OperationMetadata >  updateSettingsOperationCallable ()  
  
  Overrides 
  
  updateSourceCallable() 
  
    
public   UnaryCallable<UpdateSourceRequest , Operation >  updateSourceCallable ()  
  
  Overrides 
  
  updateSourceOperationCallable() 
  
    
public   OperationCallable<UpdateSourceRequest , Source , OperationMetadata >  updateSourceOperationCallable ()  
  
  Overrides 
  
  validateImportJobCallable() 
  
    
public   UnaryCallable<ValidateImportJobRequest , Operation >  validateImportJobCallable ()  
  
  Overrides 
  
  validateImportJobOperationCallable() 
  
    
public   OperationCallable<ValidateImportJobRequest , Empty , OperationMetadata >  validateImportJobOperationCallable ()  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]