Class GrpcMigrationCenterStub (0.25.0)

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.

Inheritance

java.lang.Object > MigrationCenterStub > GrpcMigrationCenterStub

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

addAssetsToGroupOperationCallable()

public OperationCallable<AddAssetsToGroupRequest,Group,OperationMetadata> addAssetsToGroupOperationCallable()
Returns
Type Description
OperationCallable<AddAssetsToGroupRequest,Group,OperationMetadata>
Overrides

aggregateAssetsValuesCallable()

public UnaryCallable<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse> aggregateAssetsValuesCallable()
Returns
Type Description
UnaryCallable<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse>
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

batchDeleteAssetsCallable()

public UnaryCallable<BatchDeleteAssetsRequest,Empty> batchDeleteAssetsCallable()
Returns
Type Description
UnaryCallable<BatchDeleteAssetsRequest,Empty>
Overrides

batchUpdateAssetsCallable()

public UnaryCallable<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse> batchUpdateAssetsCallable()
Returns
Type Description
UnaryCallable<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse>
Overrides

close()

public final void close()
Overrides

createGroupCallable()

public UnaryCallable<CreateGroupRequest,Operation> createGroupCallable()
Returns
Type Description
UnaryCallable<CreateGroupRequest,Operation>
Overrides

createGroupOperationCallable()

public OperationCallable<CreateGroupRequest,Group,OperationMetadata> createGroupOperationCallable()
Returns
Type Description
OperationCallable<CreateGroupRequest,Group,OperationMetadata>
Overrides

createImportDataFileCallable()

public UnaryCallable<CreateImportDataFileRequest,Operation> createImportDataFileCallable()
Returns
Type Description
UnaryCallable<CreateImportDataFileRequest,Operation>
Overrides

createImportDataFileOperationCallable()

public OperationCallable<CreateImportDataFileRequest,ImportDataFile,OperationMetadata> createImportDataFileOperationCallable()
Returns
Type Description
OperationCallable<CreateImportDataFileRequest,ImportDataFile,OperationMetadata>
Overrides

createImportJobCallable()

public UnaryCallable<CreateImportJobRequest,Operation> createImportJobCallable()
Returns
Type Description
UnaryCallable<CreateImportJobRequest,Operation>
Overrides

createImportJobOperationCallable()

public OperationCallable<CreateImportJobRequest,ImportJob,OperationMetadata> createImportJobOperationCallable()
Returns
Type Description
OperationCallable<CreateImportJobRequest,ImportJob,OperationMetadata>
Overrides

createPreferenceSetCallable()

public UnaryCallable<CreatePreferenceSetRequest,Operation> createPreferenceSetCallable()
Returns
Type Description
UnaryCallable<CreatePreferenceSetRequest,Operation>
Overrides

createPreferenceSetOperationCallable()

public OperationCallable<CreatePreferenceSetRequest,PreferenceSet,OperationMetadata> createPreferenceSetOperationCallable()
Returns
Type Description
OperationCallable<CreatePreferenceSetRequest,PreferenceSet,OperationMetadata>
Overrides

createReportCallable()

public UnaryCallable<CreateReportRequest,Operation> createReportCallable()
Returns
Type Description
UnaryCallable<CreateReportRequest,Operation>
Overrides

createReportConfigCallable()

public UnaryCallable<CreateReportConfigRequest,Operation> createReportConfigCallable()
Returns
Type Description
UnaryCallable<CreateReportConfigRequest,Operation>
Overrides

createReportConfigOperationCallable()

public OperationCallable<CreateReportConfigRequest,ReportConfig,OperationMetadata> createReportConfigOperationCallable()
Returns
Type Description
OperationCallable<CreateReportConfigRequest,ReportConfig,OperationMetadata>
Overrides

createReportOperationCallable()

public OperationCallable<CreateReportRequest,Report,OperationMetadata> createReportOperationCallable()
Returns
Type Description
OperationCallable<CreateReportRequest,Report,OperationMetadata>
Overrides

createSourceCallable()

public UnaryCallable<CreateSourceRequest,Operation> createSourceCallable()
Returns
Type Description
UnaryCallable<CreateSourceRequest,Operation>
Overrides

createSourceOperationCallable()

public OperationCallable<CreateSourceRequest,Source,OperationMetadata> createSourceOperationCallable()
Returns
Type Description
OperationCallable<CreateSourceRequest,Source,OperationMetadata>
Overrides

deleteAssetCallable()

public UnaryCallable<DeleteAssetRequest,Empty> deleteAssetCallable()
Returns
Type Description
UnaryCallable<DeleteAssetRequest,Empty>
Overrides

deleteGroupCallable()

public UnaryCallable<DeleteGroupRequest,Operation> deleteGroupCallable()
Returns
Type Description
UnaryCallable<DeleteGroupRequest,Operation>
Overrides

deleteGroupOperationCallable()

public OperationCallable<DeleteGroupRequest,Empty,OperationMetadata> deleteGroupOperationCallable()
Returns
Type Description
OperationCallable<DeleteGroupRequest,Empty,OperationMetadata>
Overrides

deleteImportDataFileCallable()

public UnaryCallable<DeleteImportDataFileRequest,Operation> deleteImportDataFileCallable()
Returns
Type Description
UnaryCallable<DeleteImportDataFileRequest,Operation>
Overrides

deleteImportDataFileOperationCallable()

public OperationCallable<DeleteImportDataFileRequest,Empty,OperationMetadata> deleteImportDataFileOperationCallable()
Returns
Type Description
OperationCallable<DeleteImportDataFileRequest,Empty,OperationMetadata>
Overrides

deleteImportJobCallable()

public UnaryCallable<DeleteImportJobRequest,Operation> deleteImportJobCallable()
Returns
Type Description
UnaryCallable<DeleteImportJobRequest,Operation>
Overrides

deleteImportJobOperationCallable()

public OperationCallable<DeleteImportJobRequest,Empty,OperationMetadata> deleteImportJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteImportJobRequest,Empty,OperationMetadata>
Overrides

deletePreferenceSetCallable()

public UnaryCallable<DeletePreferenceSetRequest,Operation> deletePreferenceSetCallable()
Returns
Type Description
UnaryCallable<DeletePreferenceSetRequest,Operation>
Overrides

deletePreferenceSetOperationCallable()

public OperationCallable<DeletePreferenceSetRequest,Empty,OperationMetadata> deletePreferenceSetOperationCallable()
Returns
Type Description
OperationCallable<DeletePreferenceSetRequest,Empty,OperationMetadata>
Overrides

deleteReportCallable()

public UnaryCallable<DeleteReportRequest,Operation> deleteReportCallable()
Returns
Type Description
UnaryCallable<DeleteReportRequest,Operation>
Overrides

deleteReportConfigCallable()

public UnaryCallable<DeleteReportConfigRequest,Operation> deleteReportConfigCallable()
Returns
Type Description
UnaryCallable<DeleteReportConfigRequest,Operation>
Overrides

deleteReportConfigOperationCallable()

public OperationCallable<DeleteReportConfigRequest,Empty,OperationMetadata> deleteReportConfigOperationCallable()
Returns
Type Description
OperationCallable<DeleteReportConfigRequest,Empty,OperationMetadata>
Overrides

deleteReportOperationCallable()

public OperationCallable<DeleteReportRequest,Empty,OperationMetadata> deleteReportOperationCallable()
Returns
Type Description
OperationCallable<DeleteReportRequest,Empty,OperationMetadata>
Overrides

deleteSourceCallable()

public UnaryCallable<DeleteSourceRequest,Operation> deleteSourceCallable()
Returns
Type Description
UnaryCallable<DeleteSourceRequest,Operation>
Overrides

deleteSourceOperationCallable()

public OperationCallable<DeleteSourceRequest,Empty,OperationMetadata> deleteSourceOperationCallable()
Returns
Type Description
OperationCallable<DeleteSourceRequest,Empty,OperationMetadata>
Overrides

getAssetCallable()

public UnaryCallable<GetAssetRequest,Asset> getAssetCallable()
Returns
Type Description
UnaryCallable<GetAssetRequest,Asset>
Overrides

getErrorFrameCallable()

public UnaryCallable<GetErrorFrameRequest,ErrorFrame> getErrorFrameCallable()
Returns
Type Description
UnaryCallable<GetErrorFrameRequest,ErrorFrame>
Overrides

getGroupCallable()

public UnaryCallable<GetGroupRequest,Group> getGroupCallable()
Returns
Type Description
UnaryCallable<GetGroupRequest,Group>
Overrides

getImportDataFileCallable()

public UnaryCallable<GetImportDataFileRequest,ImportDataFile> getImportDataFileCallable()
Returns
Type Description
UnaryCallable<GetImportDataFileRequest,ImportDataFile>
Overrides

getImportJobCallable()

public UnaryCallable<GetImportJobRequest,ImportJob> getImportJobCallable()
Returns
Type Description
UnaryCallable<GetImportJobRequest,ImportJob>
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()
Returns
Type Description
GrpcOperationsStub
Overrides

getPreferenceSetCallable()

public UnaryCallable<GetPreferenceSetRequest,PreferenceSet> getPreferenceSetCallable()
Returns
Type Description
UnaryCallable<GetPreferenceSetRequest,PreferenceSet>
Overrides

getReportCallable()

public UnaryCallable<GetReportRequest,Report> getReportCallable()
Returns
Type Description
UnaryCallable<GetReportRequest,Report>
Overrides

getReportConfigCallable()

public UnaryCallable<GetReportConfigRequest,ReportConfig> getReportConfigCallable()
Returns
Type Description
UnaryCallable<GetReportConfigRequest,ReportConfig>
Overrides

getSettingsCallable()

public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Returns
Type Description
UnaryCallable<GetSettingsRequest,Settings>
Overrides

getSourceCallable()

public UnaryCallable<GetSourceRequest,Source> getSourceCallable()
Returns
Type Description
UnaryCallable<GetSourceRequest,Source>
Overrides

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

listAssetsPagedCallable()

public UnaryCallable<ListAssetsRequest,MigrationCenterClient.ListAssetsPagedResponse> listAssetsPagedCallable()
Returns
Type Description
UnaryCallable<ListAssetsRequest,ListAssetsPagedResponse>
Overrides

listErrorFramesCallable()

public UnaryCallable<ListErrorFramesRequest,ListErrorFramesResponse> listErrorFramesCallable()
Returns
Type Description
UnaryCallable<ListErrorFramesRequest,ListErrorFramesResponse>
Overrides

listErrorFramesPagedCallable()

public UnaryCallable<ListErrorFramesRequest,MigrationCenterClient.ListErrorFramesPagedResponse> listErrorFramesPagedCallable()
Returns
Type Description
UnaryCallable<ListErrorFramesRequest,ListErrorFramesPagedResponse>
Overrides

listGroupsCallable()

public UnaryCallable<ListGroupsRequest,ListGroupsResponse> listGroupsCallable()
Returns
Type Description
UnaryCallable<ListGroupsRequest,ListGroupsResponse>
Overrides

listGroupsPagedCallable()

public UnaryCallable<ListGroupsRequest,MigrationCenterClient.ListGroupsPagedResponse> listGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListGroupsRequest,ListGroupsPagedResponse>
Overrides

listImportDataFilesCallable()

public UnaryCallable<ListImportDataFilesRequest,ListImportDataFilesResponse> listImportDataFilesCallable()
Returns
Type Description
UnaryCallable<ListImportDataFilesRequest,ListImportDataFilesResponse>
Overrides

listImportDataFilesPagedCallable()

public UnaryCallable<ListImportDataFilesRequest,MigrationCenterClient.ListImportDataFilesPagedResponse> listImportDataFilesPagedCallable()
Returns
Type Description
UnaryCallable<ListImportDataFilesRequest,ListImportDataFilesPagedResponse>
Overrides

listImportJobsCallable()

public UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> listImportJobsCallable()
Returns
Type Description
UnaryCallable<ListImportJobsRequest,ListImportJobsResponse>
Overrides

listImportJobsPagedCallable()

public UnaryCallable<ListImportJobsRequest,MigrationCenterClient.ListImportJobsPagedResponse> listImportJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListImportJobsRequest,ListImportJobsPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listPreferenceSetsCallable()

public UnaryCallable<ListPreferenceSetsRequest,ListPreferenceSetsResponse> listPreferenceSetsCallable()
Returns
Type Description
UnaryCallable<ListPreferenceSetsRequest,ListPreferenceSetsResponse>
Overrides

listPreferenceSetsPagedCallable()

public UnaryCallable<ListPreferenceSetsRequest,MigrationCenterClient.ListPreferenceSetsPagedResponse> listPreferenceSetsPagedCallable()
Returns
Type Description
UnaryCallable<ListPreferenceSetsRequest,ListPreferenceSetsPagedResponse>
Overrides

listReportConfigsCallable()

public UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse> listReportConfigsCallable()
Returns
Type Description
UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse>
Overrides

listReportConfigsPagedCallable()

public UnaryCallable<ListReportConfigsRequest,MigrationCenterClient.ListReportConfigsPagedResponse> listReportConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListReportConfigsRequest,ListReportConfigsPagedResponse>
Overrides

listReportsCallable()

public UnaryCallable<ListReportsRequest,ListReportsResponse> listReportsCallable()
Returns
Type Description
UnaryCallable<ListReportsRequest,ListReportsResponse>
Overrides

listReportsPagedCallable()

public UnaryCallable<ListReportsRequest,MigrationCenterClient.ListReportsPagedResponse> listReportsPagedCallable()
Returns
Type Description
UnaryCallable<ListReportsRequest,ListReportsPagedResponse>
Overrides

listSourcesCallable()

public UnaryCallable<ListSourcesRequest,ListSourcesResponse> listSourcesCallable()
Returns
Type Description
UnaryCallable<ListSourcesRequest,ListSourcesResponse>
Overrides

listSourcesPagedCallable()

public UnaryCallable<ListSourcesRequest,MigrationCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()
Returns
Type Description
UnaryCallable<ListSourcesRequest,ListSourcesPagedResponse>
Overrides

removeAssetsFromGroupCallable()

public UnaryCallable<RemoveAssetsFromGroupRequest,Operation> removeAssetsFromGroupCallable()
Returns
Type Description
UnaryCallable<RemoveAssetsFromGroupRequest,Operation>
Overrides

removeAssetsFromGroupOperationCallable()

public OperationCallable<RemoveAssetsFromGroupRequest,Group,OperationMetadata> removeAssetsFromGroupOperationCallable()
Returns
Type Description
OperationCallable<RemoveAssetsFromGroupRequest,Group,OperationMetadata>
Overrides

reportAssetFramesCallable()

public UnaryCallable<ReportAssetFramesRequest,ReportAssetFramesResponse> reportAssetFramesCallable()
Returns
Type Description
UnaryCallable<ReportAssetFramesRequest,ReportAssetFramesResponse>
Overrides

runImportJobCallable()

public UnaryCallable<RunImportJobRequest,Operation> runImportJobCallable()
Returns
Type Description
UnaryCallable<RunImportJobRequest,Operation>
Overrides

runImportJobOperationCallable()

public OperationCallable<RunImportJobRequest,Empty,OperationMetadata> runImportJobOperationCallable()
Returns
Type Description
OperationCallable<RunImportJobRequest,Empty,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAssetCallable()

public UnaryCallable<UpdateAssetRequest,Asset> updateAssetCallable()
Returns
Type Description
UnaryCallable<UpdateAssetRequest,Asset>
Overrides

updateGroupCallable()

public UnaryCallable<UpdateGroupRequest,Operation> updateGroupCallable()
Returns
Type Description
UnaryCallable<UpdateGroupRequest,Operation>
Overrides

updateGroupOperationCallable()

public OperationCallable<UpdateGroupRequest,Group,OperationMetadata> updateGroupOperationCallable()
Returns
Type Description
OperationCallable<UpdateGroupRequest,Group,OperationMetadata>
Overrides

updateImportJobCallable()

public UnaryCallable<UpdateImportJobRequest,Operation> updateImportJobCallable()
Returns
Type Description
UnaryCallable<UpdateImportJobRequest,Operation>
Overrides

updateImportJobOperationCallable()

public OperationCallable<UpdateImportJobRequest,ImportJob,OperationMetadata> updateImportJobOperationCallable()
Returns
Type Description
OperationCallable<UpdateImportJobRequest,ImportJob,OperationMetadata>
Overrides

updatePreferenceSetCallable()

public UnaryCallable<UpdatePreferenceSetRequest,Operation> updatePreferenceSetCallable()
Returns
Type Description
UnaryCallable<UpdatePreferenceSetRequest,Operation>
Overrides

updatePreferenceSetOperationCallable()

public OperationCallable<UpdatePreferenceSetRequest,PreferenceSet,OperationMetadata> updatePreferenceSetOperationCallable()
Returns
Type Description
OperationCallable<UpdatePreferenceSetRequest,PreferenceSet,OperationMetadata>
Overrides

updateSettingsCallable()

public UnaryCallable<UpdateSettingsRequest,Operation> updateSettingsCallable()
Returns
Type Description
UnaryCallable<UpdateSettingsRequest,Operation>
Overrides

updateSettingsOperationCallable()

public OperationCallable<UpdateSettingsRequest,Settings,OperationMetadata> updateSettingsOperationCallable()
Returns
Type Description
OperationCallable<UpdateSettingsRequest,Settings,OperationMetadata>
Overrides

updateSourceCallable()

public UnaryCallable<UpdateSourceRequest,Operation> updateSourceCallable()
Returns
Type Description
UnaryCallable<UpdateSourceRequest,Operation>
Overrides

updateSourceOperationCallable()

public OperationCallable<UpdateSourceRequest,Source,OperationMetadata> updateSourceOperationCallable()
Returns
Type Description
OperationCallable<UpdateSourceRequest,Source,OperationMetadata>
Overrides

validateImportJobCallable()

public UnaryCallable<ValidateImportJobRequest,Operation> validateImportJobCallable()
Returns
Type Description
UnaryCallable<ValidateImportJobRequest,Operation>
Overrides

validateImportJobOperationCallable()

public OperationCallable<ValidateImportJobRequest,Empty,OperationMetadata> validateImportJobOperationCallable()
Returns
Type Description
OperationCallable<ValidateImportJobRequest,Empty,OperationMetadata>
Overrides