Class HttpJsonMigrationCenterStub (0.2.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonMigrationCenterStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonMigrationCenterStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonMigrationCenterStub
Exceptions
TypeDescription
IOException

create(MigrationCenterStubSettings settings)

public static final HttpJsonMigrationCenterStub create(MigrationCenterStubSettings settings)
Parameter
NameDescription
settingsMigrationCenterStubSettings
Returns
TypeDescription
HttpJsonMigrationCenterStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsMigrationCenterStubSettings
clientContextClientContext

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
NameDescription
settingsMigrationCenterStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addAssetsToGroupCallable()

public UnaryCallable<AddAssetsToGroupRequest,Operation> addAssetsToGroupCallable()
Returns
TypeDescription
UnaryCallable<AddAssetsToGroupRequest,Operation>
Overrides

addAssetsToGroupOperationCallable()

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

aggregateAssetsValuesCallable()

public UnaryCallable<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse> aggregateAssetsValuesCallable()
Returns
TypeDescription
UnaryCallable<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchDeleteAssetsCallable()

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

batchUpdateAssetsCallable()

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

close()

public final void close()
Overrides

createGroupCallable()

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

createGroupOperationCallable()

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

createImportDataFileCallable()

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

createImportDataFileOperationCallable()

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

createImportJobCallable()

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

createImportJobOperationCallable()

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

createPreferenceSetCallable()

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

createPreferenceSetOperationCallable()

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

createReportCallable()

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

createReportConfigCallable()

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

createReportConfigOperationCallable()

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

createReportOperationCallable()

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

createSourceCallable()

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

createSourceOperationCallable()

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

deleteAssetCallable()

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

deleteGroupCallable()

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

deleteGroupOperationCallable()

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

deleteImportDataFileCallable()

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

deleteImportDataFileOperationCallable()

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

deleteImportJobCallable()

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

deleteImportJobOperationCallable()

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

deletePreferenceSetCallable()

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

deletePreferenceSetOperationCallable()

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

deleteReportCallable()

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

deleteReportConfigCallable()

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

deleteReportConfigOperationCallable()

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

deleteReportOperationCallable()

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

deleteSourceCallable()

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

deleteSourceOperationCallable()

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

getAssetCallable()

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

getErrorFrameCallable()

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

getGroupCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getImportDataFileCallable()

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

getImportJobCallable()

public UnaryCallable<GetImportJobRequest,ImportJob> getImportJobCallable()
Returns
TypeDescription
UnaryCallable<GetImportJobRequest,ImportJob>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getPreferenceSetCallable()

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

getReportCallable()

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

getReportConfigCallable()

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

getSettingsCallable()

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

getSourceCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAssetsCallable()

public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Returns
TypeDescription
UnaryCallable<ListAssetsRequest,ListAssetsResponse>
Overrides

listAssetsPagedCallable()

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

listErrorFramesCallable()

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

listErrorFramesPagedCallable()

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

listGroupsCallable()

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

listGroupsPagedCallable()

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

listImportDataFilesCallable()

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

listImportDataFilesPagedCallable()

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

listImportJobsCallable()

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

listImportJobsPagedCallable()

public UnaryCallable<ListImportJobsRequest,MigrationCenterClient.ListImportJobsPagedResponse> listImportJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListImportJobsRequest,ListImportJobsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,MigrationCenterClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listPreferenceSetsCallable()

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

listPreferenceSetsPagedCallable()

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

listReportConfigsCallable()

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

listReportConfigsPagedCallable()

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

listReportsCallable()

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

listReportsPagedCallable()

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

listSourcesCallable()

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

listSourcesPagedCallable()

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

removeAssetsFromGroupCallable()

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

removeAssetsFromGroupOperationCallable()

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

reportAssetFramesCallable()

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

runImportJobCallable()

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

runImportJobOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAssetCallable()

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

updateGroupCallable()

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

updateGroupOperationCallable()

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

updateImportJobCallable()

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

updateImportJobOperationCallable()

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

updatePreferenceSetCallable()

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

updatePreferenceSetOperationCallable()

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

updateSettingsCallable()

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

updateSettingsOperationCallable()

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

updateSourceCallable()

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

updateSourceOperationCallable()

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

validateImportJobCallable()

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

validateImportJobOperationCallable()

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