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)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcMigrationCenterStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcMigrationCenterStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcMigrationCenterStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(MigrationCenterStubSettings settings)
public static final GrpcMigrationCenterStub create(MigrationCenterStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | MigrationCenterStubSettings |
Returns | |
---|---|
Type | Description |
GrpcMigrationCenterStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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.
Parameters | |
---|---|
Name | Description |
settings | MigrationCenterStubSettings |
clientContext | ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings | MigrationCenterStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
addAssetsToGroupCallable()
public UnaryCallable<AddAssetsToGroupRequest,Operation> addAssetsToGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AddAssetsToGroupRequest,Operation> |
addAssetsToGroupOperationCallable()
public OperationCallable<AddAssetsToGroupRequest,Group,OperationMetadata> addAssetsToGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<AddAssetsToGroupRequest,Group,OperationMetadata> |
aggregateAssetsValuesCallable()
public UnaryCallable<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse> aggregateAssetsValuesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse> |
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 |
batchDeleteAssetsCallable()
public UnaryCallable<BatchDeleteAssetsRequest,Empty> batchDeleteAssetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchDeleteAssetsRequest,Empty> |
batchUpdateAssetsCallable()
public UnaryCallable<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse> batchUpdateAssetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse> |
close()
public final void close()
createGroupCallable()
public UnaryCallable<CreateGroupRequest,Operation> createGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateGroupRequest,Operation> |
createGroupOperationCallable()
public OperationCallable<CreateGroupRequest,Group,OperationMetadata> createGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateGroupRequest,Group,OperationMetadata> |
createImportDataFileCallable()
public UnaryCallable<CreateImportDataFileRequest,Operation> createImportDataFileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateImportDataFileRequest,Operation> |
createImportDataFileOperationCallable()
public OperationCallable<CreateImportDataFileRequest,ImportDataFile,OperationMetadata> createImportDataFileOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateImportDataFileRequest,ImportDataFile,OperationMetadata> |
createImportJobCallable()
public UnaryCallable<CreateImportJobRequest,Operation> createImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateImportJobRequest,Operation> |
createImportJobOperationCallable()
public OperationCallable<CreateImportJobRequest,ImportJob,OperationMetadata> createImportJobOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateImportJobRequest,ImportJob,OperationMetadata> |
createPreferenceSetCallable()
public UnaryCallable<CreatePreferenceSetRequest,Operation> createPreferenceSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreatePreferenceSetRequest,Operation> |
createPreferenceSetOperationCallable()
public OperationCallable<CreatePreferenceSetRequest,PreferenceSet,OperationMetadata> createPreferenceSetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreatePreferenceSetRequest,PreferenceSet,OperationMetadata> |
createReportCallable()
public UnaryCallable<CreateReportRequest,Operation> createReportCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateReportRequest,Operation> |
createReportConfigCallable()
public UnaryCallable<CreateReportConfigRequest,Operation> createReportConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateReportConfigRequest,Operation> |
createReportConfigOperationCallable()
public OperationCallable<CreateReportConfigRequest,ReportConfig,OperationMetadata> createReportConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateReportConfigRequest,ReportConfig,OperationMetadata> |
createReportOperationCallable()
public OperationCallable<CreateReportRequest,Report,OperationMetadata> createReportOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateReportRequest,Report,OperationMetadata> |
createSourceCallable()
public UnaryCallable<CreateSourceRequest,Operation> createSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSourceRequest,Operation> |
createSourceOperationCallable()
public OperationCallable<CreateSourceRequest,Source,OperationMetadata> createSourceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateSourceRequest,Source,OperationMetadata> |
deleteAssetCallable()
public UnaryCallable<DeleteAssetRequest,Empty> deleteAssetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteAssetRequest,Empty> |
deleteGroupCallable()
public UnaryCallable<DeleteGroupRequest,Operation> deleteGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteGroupRequest,Operation> |
deleteGroupOperationCallable()
public OperationCallable<DeleteGroupRequest,Empty,OperationMetadata> deleteGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteGroupRequest,Empty,OperationMetadata> |
deleteImportDataFileCallable()
public UnaryCallable<DeleteImportDataFileRequest,Operation> deleteImportDataFileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteImportDataFileRequest,Operation> |
deleteImportDataFileOperationCallable()
public OperationCallable<DeleteImportDataFileRequest,Empty,OperationMetadata> deleteImportDataFileOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteImportDataFileRequest,Empty,OperationMetadata> |
deleteImportJobCallable()
public UnaryCallable<DeleteImportJobRequest,Operation> deleteImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteImportJobRequest,Operation> |
deleteImportJobOperationCallable()
public OperationCallable<DeleteImportJobRequest,Empty,OperationMetadata> deleteImportJobOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteImportJobRequest,Empty,OperationMetadata> |
deletePreferenceSetCallable()
public UnaryCallable<DeletePreferenceSetRequest,Operation> deletePreferenceSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeletePreferenceSetRequest,Operation> |
deletePreferenceSetOperationCallable()
public OperationCallable<DeletePreferenceSetRequest,Empty,OperationMetadata> deletePreferenceSetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeletePreferenceSetRequest,Empty,OperationMetadata> |
deleteReportCallable()
public UnaryCallable<DeleteReportRequest,Operation> deleteReportCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteReportRequest,Operation> |
deleteReportConfigCallable()
public UnaryCallable<DeleteReportConfigRequest,Operation> deleteReportConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteReportConfigRequest,Operation> |
deleteReportConfigOperationCallable()
public OperationCallable<DeleteReportConfigRequest,Empty,OperationMetadata> deleteReportConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteReportConfigRequest,Empty,OperationMetadata> |
deleteReportOperationCallable()
public OperationCallable<DeleteReportRequest,Empty,OperationMetadata> deleteReportOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteReportRequest,Empty,OperationMetadata> |
deleteSourceCallable()
public UnaryCallable<DeleteSourceRequest,Operation> deleteSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSourceRequest,Operation> |
deleteSourceOperationCallable()
public OperationCallable<DeleteSourceRequest,Empty,OperationMetadata> deleteSourceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteSourceRequest,Empty,OperationMetadata> |
getAssetCallable()
public UnaryCallable<GetAssetRequest,Asset> getAssetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetAssetRequest,Asset> |
getErrorFrameCallable()
public UnaryCallable<GetErrorFrameRequest,ErrorFrame> getErrorFrameCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetErrorFrameRequest,ErrorFrame> |
getGroupCallable()
public UnaryCallable<GetGroupRequest,Group> getGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetGroupRequest,Group> |
getImportDataFileCallable()
public UnaryCallable<GetImportDataFileRequest,ImportDataFile> getImportDataFileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetImportDataFileRequest,ImportDataFile> |
getImportJobCallable()
public UnaryCallable<GetImportJobRequest,ImportJob> getImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetImportJobRequest,ImportJob> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getPreferenceSetCallable()
public UnaryCallable<GetPreferenceSetRequest,PreferenceSet> getPreferenceSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPreferenceSetRequest,PreferenceSet> |
getReportCallable()
public UnaryCallable<GetReportRequest,Report> getReportCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetReportRequest,Report> |
getReportConfigCallable()
public UnaryCallable<GetReportConfigRequest,ReportConfig> getReportConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetReportConfigRequest,ReportConfig> |
getSettingsCallable()
public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSettingsRequest,Settings> |
getSourceCallable()
public UnaryCallable<GetSourceRequest,Source> getSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSourceRequest,Source> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listAssetsCallable()
public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAssetsRequest,ListAssetsResponse> |
listAssetsPagedCallable()
public UnaryCallable<ListAssetsRequest,MigrationCenterClient.ListAssetsPagedResponse> listAssetsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAssetsRequest,ListAssetsPagedResponse> |
listErrorFramesCallable()
public UnaryCallable<ListErrorFramesRequest,ListErrorFramesResponse> listErrorFramesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListErrorFramesRequest,ListErrorFramesResponse> |
listErrorFramesPagedCallable()
public UnaryCallable<ListErrorFramesRequest,MigrationCenterClient.ListErrorFramesPagedResponse> listErrorFramesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListErrorFramesRequest,ListErrorFramesPagedResponse> |
listGroupsCallable()
public UnaryCallable<ListGroupsRequest,ListGroupsResponse> listGroupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGroupsRequest,ListGroupsResponse> |
listGroupsPagedCallable()
public UnaryCallable<ListGroupsRequest,MigrationCenterClient.ListGroupsPagedResponse> listGroupsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGroupsRequest,ListGroupsPagedResponse> |
listImportDataFilesCallable()
public UnaryCallable<ListImportDataFilesRequest,ListImportDataFilesResponse> listImportDataFilesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListImportDataFilesRequest,ListImportDataFilesResponse> |
listImportDataFilesPagedCallable()
public UnaryCallable<ListImportDataFilesRequest,MigrationCenterClient.ListImportDataFilesPagedResponse> listImportDataFilesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListImportDataFilesRequest,ListImportDataFilesPagedResponse> |
listImportJobsCallable()
public UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> listImportJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> |
listImportJobsPagedCallable()
public UnaryCallable<ListImportJobsRequest,MigrationCenterClient.ListImportJobsPagedResponse> listImportJobsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListImportJobsRequest,ListImportJobsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,MigrationCenterClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listPreferenceSetsCallable()
public UnaryCallable<ListPreferenceSetsRequest,ListPreferenceSetsResponse> listPreferenceSetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPreferenceSetsRequest,ListPreferenceSetsResponse> |
listPreferenceSetsPagedCallable()
public UnaryCallable<ListPreferenceSetsRequest,MigrationCenterClient.ListPreferenceSetsPagedResponse> listPreferenceSetsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPreferenceSetsRequest,ListPreferenceSetsPagedResponse> |
listReportConfigsCallable()
public UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse> listReportConfigsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse> |
listReportConfigsPagedCallable()
public UnaryCallable<ListReportConfigsRequest,MigrationCenterClient.ListReportConfigsPagedResponse> listReportConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReportConfigsRequest,ListReportConfigsPagedResponse> |
listReportsCallable()
public UnaryCallable<ListReportsRequest,ListReportsResponse> listReportsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReportsRequest,ListReportsResponse> |
listReportsPagedCallable()
public UnaryCallable<ListReportsRequest,MigrationCenterClient.ListReportsPagedResponse> listReportsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReportsRequest,ListReportsPagedResponse> |
listSourcesCallable()
public UnaryCallable<ListSourcesRequest,ListSourcesResponse> listSourcesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSourcesRequest,ListSourcesResponse> |
listSourcesPagedCallable()
public UnaryCallable<ListSourcesRequest,MigrationCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSourcesRequest,ListSourcesPagedResponse> |
removeAssetsFromGroupCallable()
public UnaryCallable<RemoveAssetsFromGroupRequest,Operation> removeAssetsFromGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RemoveAssetsFromGroupRequest,Operation> |
removeAssetsFromGroupOperationCallable()
public OperationCallable<RemoveAssetsFromGroupRequest,Group,OperationMetadata> removeAssetsFromGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RemoveAssetsFromGroupRequest,Group,OperationMetadata> |
reportAssetFramesCallable()
public UnaryCallable<ReportAssetFramesRequest,ReportAssetFramesResponse> reportAssetFramesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ReportAssetFramesRequest,ReportAssetFramesResponse> |
runImportJobCallable()
public UnaryCallable<RunImportJobRequest,Operation> runImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RunImportJobRequest,Operation> |
runImportJobOperationCallable()
public OperationCallable<RunImportJobRequest,Empty,OperationMetadata> runImportJobOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RunImportJobRequest,Empty,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateAssetCallable()
public UnaryCallable<UpdateAssetRequest,Asset> updateAssetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateAssetRequest,Asset> |
updateGroupCallable()
public UnaryCallable<UpdateGroupRequest,Operation> updateGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateGroupRequest,Operation> |
updateGroupOperationCallable()
public OperationCallable<UpdateGroupRequest,Group,OperationMetadata> updateGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateGroupRequest,Group,OperationMetadata> |
updateImportJobCallable()
public UnaryCallable<UpdateImportJobRequest,Operation> updateImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateImportJobRequest,Operation> |
updateImportJobOperationCallable()
public OperationCallable<UpdateImportJobRequest,ImportJob,OperationMetadata> updateImportJobOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateImportJobRequest,ImportJob,OperationMetadata> |
updatePreferenceSetCallable()
public UnaryCallable<UpdatePreferenceSetRequest,Operation> updatePreferenceSetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdatePreferenceSetRequest,Operation> |
updatePreferenceSetOperationCallable()
public OperationCallable<UpdatePreferenceSetRequest,PreferenceSet,OperationMetadata> updatePreferenceSetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdatePreferenceSetRequest,PreferenceSet,OperationMetadata> |
updateSettingsCallable()
public UnaryCallable<UpdateSettingsRequest,Operation> updateSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSettingsRequest,Operation> |
updateSettingsOperationCallable()
public OperationCallable<UpdateSettingsRequest,Settings,OperationMetadata> updateSettingsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateSettingsRequest,Settings,OperationMetadata> |
updateSourceCallable()
public UnaryCallable<UpdateSourceRequest,Operation> updateSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSourceRequest,Operation> |
updateSourceOperationCallable()
public OperationCallable<UpdateSourceRequest,Source,OperationMetadata> updateSourceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateSourceRequest,Source,OperationMetadata> |
validateImportJobCallable()
public UnaryCallable<ValidateImportJobRequest,Operation> validateImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ValidateImportJobRequest,Operation> |
validateImportJobOperationCallable()
public OperationCallable<ValidateImportJobRequest,Empty,OperationMetadata> validateImportJobOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ValidateImportJobRequest,Empty,OperationMetadata> |