Class HttpJsonMigrationCenterStub (0.40.0)

public class HttpJsonMigrationCenterStub extends MigrationCenterStub

REST stub implementation for the MigrationCenter service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > MigrationCenterStub > HttpJsonMigrationCenterStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonMigrationCenterStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonMigrationCenterStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonMigrationCenterStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonMigrationCenterStub
Exceptions
Type Description
IOException

create(MigrationCenterStubSettings settings)

public static final HttpJsonMigrationCenterStub create(MigrationCenterStubSettings settings)
Parameter
Name Description
settings MigrationCenterStubSettings
Returns
Type Description
HttpJsonMigrationCenterStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext)

protected HttpJsonMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonMigrationCenterStub, 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

HttpJsonMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonMigrationCenterStub, 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 HttpJsonStubCallableFactory

Methods

addAssetsToGroupCallable()

public UnaryCallable<AddAssetsToGroupRequest,Operation> addAssetsToGroupCallable()
Returns
Type Description
UnaryCallable<AddAssetsToGroupRequest,Operation>
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)
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()
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()
Overrides

createImportDataFileCallable()

public UnaryCallable<CreateImportDataFileRequest,Operation> createImportDataFileCallable()
Overrides

createImportDataFileOperationCallable()

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

createImportJobCallable()

public UnaryCallable<CreateImportJobRequest,Operation> createImportJobCallable()
Returns
Type Description
UnaryCallable<CreateImportJobRequest,Operation>
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()
Returns
Type Description
UnaryCallable<CreateReportRequest,Operation>
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()
Returns
Type Description
UnaryCallable<CreateSourceRequest,Operation>
Overrides

createSourceOperationCallable()

public OperationCallable<CreateSourceRequest,Source,OperationMetadata> createSourceOperationCallable()
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()
Overrides

deleteImportDataFileCallable()

public UnaryCallable<DeleteImportDataFileRequest,Operation> deleteImportDataFileCallable()
Overrides

deleteImportDataFileOperationCallable()

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

deleteImportJobCallable()

public UnaryCallable<DeleteImportJobRequest,Operation> deleteImportJobCallable()
Returns
Type Description
UnaryCallable<DeleteImportJobRequest,Operation>
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()
Returns
Type Description
UnaryCallable<DeleteReportRequest,Operation>
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()
Returns
Type Description
UnaryCallable<DeleteSourceRequest,Operation>
Overrides

deleteSourceOperationCallable()

public OperationCallable<DeleteSourceRequest,Empty,OperationMetadata> deleteSourceOperationCallable()
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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getImportDataFileCallable()

public UnaryCallable<GetImportDataFileRequest,ImportDataFile> getImportDataFileCallable()
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

getPreferenceSetCallable()

public UnaryCallable<GetPreferenceSetRequest,PreferenceSet> getPreferenceSetCallable()
Overrides

getReportCallable()

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

getReportConfigCallable()

public UnaryCallable<GetReportConfigRequest,ReportConfig> getReportConfigCallable()
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()
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
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()
Returns
Type Description
UnaryCallable<RunImportJobRequest,Operation>
Overrides

runImportJobOperationCallable()

public OperationCallable<RunImportJobRequest,Empty,OperationMetadata> runImportJobOperationCallable()
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()
Overrides

updateImportJobCallable()

public UnaryCallable<UpdateImportJobRequest,Operation> updateImportJobCallable()
Returns
Type Description
UnaryCallable<UpdateImportJobRequest,Operation>
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()
Returns
Type Description
UnaryCallable<UpdateSettingsRequest,Operation>
Overrides

updateSettingsOperationCallable()

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

updateSourceCallable()

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

updateSourceOperationCallable()

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

validateImportJobCallable()

public UnaryCallable<ValidateImportJobRequest,Operation> validateImportJobCallable()
Overrides

validateImportJobOperationCallable()

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