Class MigrationCenterGrpc.MigrationCenterStub (0.17.0)

public static final class MigrationCenterGrpc.MigrationCenterStub extends AbstractAsyncStub<MigrationCenterGrpc.MigrationCenterStub>

A stub to allow clients to do asynchronous rpc calls to service MigrationCenter.

Service describing handlers for resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > MigrationCenterGrpc.MigrationCenterStub

Methods

addAssetsToGroup(AddAssetsToGroupRequest request, StreamObserver<Operation> responseObserver)

public void addAssetsToGroup(AddAssetsToGroupRequest request, StreamObserver<Operation> responseObserver)

Adds assets to a group.

Parameters
NameDescription
requestAddAssetsToGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

aggregateAssetsValues(AggregateAssetsValuesRequest request, StreamObserver<AggregateAssetsValuesResponse> responseObserver)

public void aggregateAssetsValues(AggregateAssetsValuesRequest request, StreamObserver<AggregateAssetsValuesResponse> responseObserver)

Aggregates the requested fields based on provided function.

Parameters
NameDescription
requestAggregateAssetsValuesRequest
responseObserverio.grpc.stub.StreamObserver<AggregateAssetsValuesResponse>

batchDeleteAssets(BatchDeleteAssetsRequest request, StreamObserver<Empty> responseObserver)

public void batchDeleteAssets(BatchDeleteAssetsRequest request, StreamObserver<Empty> responseObserver)

Deletes list of Assets.

Parameters
NameDescription
requestBatchDeleteAssetsRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

batchUpdateAssets(BatchUpdateAssetsRequest request, StreamObserver<BatchUpdateAssetsResponse> responseObserver)

public void batchUpdateAssets(BatchUpdateAssetsRequest request, StreamObserver<BatchUpdateAssetsResponse> responseObserver)

Updates the parameters of a list of assets.

Parameters
NameDescription
requestBatchUpdateAssetsRequest
responseObserverio.grpc.stub.StreamObserver<BatchUpdateAssetsResponse>

build(Channel channel, CallOptions callOptions)

protected MigrationCenterGrpc.MigrationCenterStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
MigrationCenterGrpc.MigrationCenterStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createGroup(CreateGroupRequest request, StreamObserver<Operation> responseObserver)

public void createGroup(CreateGroupRequest request, StreamObserver<Operation> responseObserver)

Creates a new group in a given project and location.

Parameters
NameDescription
requestCreateGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createImportDataFile(CreateImportDataFileRequest request, StreamObserver<Operation> responseObserver)

public void createImportDataFile(CreateImportDataFileRequest request, StreamObserver<Operation> responseObserver)

Creates an import data file.

Parameters
NameDescription
requestCreateImportDataFileRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createImportJob(CreateImportJobRequest request, StreamObserver<Operation> responseObserver)

public void createImportJob(CreateImportJobRequest request, StreamObserver<Operation> responseObserver)

Creates an import job.

Parameters
NameDescription
requestCreateImportJobRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createPreferenceSet(CreatePreferenceSetRequest request, StreamObserver<Operation> responseObserver)

public void createPreferenceSet(CreatePreferenceSetRequest request, StreamObserver<Operation> responseObserver)

Creates a new preference set in a given project and location.

Parameters
NameDescription
requestCreatePreferenceSetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createReport(CreateReportRequest request, StreamObserver<Operation> responseObserver)

public void createReport(CreateReportRequest request, StreamObserver<Operation> responseObserver)

Creates a report.

Parameters
NameDescription
requestCreateReportRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createReportConfig(CreateReportConfigRequest request, StreamObserver<Operation> responseObserver)

public void createReportConfig(CreateReportConfigRequest request, StreamObserver<Operation> responseObserver)

Creates a report configuration.

Parameters
NameDescription
requestCreateReportConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createSource(CreateSourceRequest request, StreamObserver<Operation> responseObserver)

public void createSource(CreateSourceRequest request, StreamObserver<Operation> responseObserver)

Creates a new source in a given project and location.

Parameters
NameDescription
requestCreateSourceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAsset(DeleteAssetRequest request, StreamObserver<Empty> responseObserver)

public void deleteAsset(DeleteAssetRequest request, StreamObserver<Empty> responseObserver)

Deletes an asset.

Parameters
NameDescription
requestDeleteAssetRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteGroup(DeleteGroupRequest request, StreamObserver<Operation> responseObserver)

public void deleteGroup(DeleteGroupRequest request, StreamObserver<Operation> responseObserver)

Deletes a group.

Parameters
NameDescription
requestDeleteGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteImportDataFile(DeleteImportDataFileRequest request, StreamObserver<Operation> responseObserver)

public void deleteImportDataFile(DeleteImportDataFileRequest request, StreamObserver<Operation> responseObserver)

Delete an import data file.

Parameters
NameDescription
requestDeleteImportDataFileRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteImportJob(DeleteImportJobRequest request, StreamObserver<Operation> responseObserver)

public void deleteImportJob(DeleteImportJobRequest request, StreamObserver<Operation> responseObserver)

Deletes an import job.

Parameters
NameDescription
requestDeleteImportJobRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deletePreferenceSet(DeletePreferenceSetRequest request, StreamObserver<Operation> responseObserver)

public void deletePreferenceSet(DeletePreferenceSetRequest request, StreamObserver<Operation> responseObserver)

Deletes a preference set.

Parameters
NameDescription
requestDeletePreferenceSetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteReport(DeleteReportRequest request, StreamObserver<Operation> responseObserver)

public void deleteReport(DeleteReportRequest request, StreamObserver<Operation> responseObserver)

Deletes a Report.

Parameters
NameDescription
requestDeleteReportRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteReportConfig(DeleteReportConfigRequest request, StreamObserver<Operation> responseObserver)

public void deleteReportConfig(DeleteReportConfigRequest request, StreamObserver<Operation> responseObserver)

Deletes a ReportConfig.

Parameters
NameDescription
requestDeleteReportConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteSource(DeleteSourceRequest request, StreamObserver<Operation> responseObserver)

public void deleteSource(DeleteSourceRequest request, StreamObserver<Operation> responseObserver)

Deletes a source.

Parameters
NameDescription
requestDeleteSourceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getAsset(GetAssetRequest request, StreamObserver<Asset> responseObserver)

public void getAsset(GetAssetRequest request, StreamObserver<Asset> responseObserver)

Gets the details of an asset.

Parameters
NameDescription
requestGetAssetRequest
responseObserverio.grpc.stub.StreamObserver<Asset>

getErrorFrame(GetErrorFrameRequest request, StreamObserver<ErrorFrame> responseObserver)

public void getErrorFrame(GetErrorFrameRequest request, StreamObserver<ErrorFrame> responseObserver)

Gets the details of an error frame.

Parameters
NameDescription
requestGetErrorFrameRequest
responseObserverio.grpc.stub.StreamObserver<ErrorFrame>

getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)

public void getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)

Gets the details of a group.

Parameters
NameDescription
requestGetGroupRequest
responseObserverio.grpc.stub.StreamObserver<Group>

getImportDataFile(GetImportDataFileRequest request, StreamObserver<ImportDataFile> responseObserver)

public void getImportDataFile(GetImportDataFileRequest request, StreamObserver<ImportDataFile> responseObserver)

Gets an import data file.

Parameters
NameDescription
requestGetImportDataFileRequest
responseObserverio.grpc.stub.StreamObserver<ImportDataFile>

getImportJob(GetImportJobRequest request, StreamObserver<ImportJob> responseObserver)

public void getImportJob(GetImportJobRequest request, StreamObserver<ImportJob> responseObserver)

Gets the details of an import job.

Parameters
NameDescription
requestGetImportJobRequest
responseObserverio.grpc.stub.StreamObserver<ImportJob>

getPreferenceSet(GetPreferenceSetRequest request, StreamObserver<PreferenceSet> responseObserver)

public void getPreferenceSet(GetPreferenceSetRequest request, StreamObserver<PreferenceSet> responseObserver)

Gets the details of a preference set.

Parameters
NameDescription
requestGetPreferenceSetRequest
responseObserverio.grpc.stub.StreamObserver<PreferenceSet>

getReport(GetReportRequest request, StreamObserver<Report> responseObserver)

public void getReport(GetReportRequest request, StreamObserver<Report> responseObserver)

Gets details of a single Report.

Parameters
NameDescription
requestGetReportRequest
responseObserverio.grpc.stub.StreamObserver<Report>

getReportConfig(GetReportConfigRequest request, StreamObserver<ReportConfig> responseObserver)

public void getReportConfig(GetReportConfigRequest request, StreamObserver<ReportConfig> responseObserver)

Gets details of a single ReportConfig.

Parameters
NameDescription
requestGetReportConfigRequest
responseObserverio.grpc.stub.StreamObserver<ReportConfig>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

public void getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

Gets the details of regional settings.

Parameters
NameDescription
requestGetSettingsRequest
responseObserverio.grpc.stub.StreamObserver<Settings>

getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)

public void getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)

Gets the details of a source.

Parameters
NameDescription
requestGetSourceRequest
responseObserverio.grpc.stub.StreamObserver<Source>

listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)

public void listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)

Lists all the assets in a given project and location.

Parameters
NameDescription
requestListAssetsRequest
responseObserverio.grpc.stub.StreamObserver<ListAssetsResponse>

listErrorFrames(ListErrorFramesRequest request, StreamObserver<ListErrorFramesResponse> responseObserver)

public void listErrorFrames(ListErrorFramesRequest request, StreamObserver<ListErrorFramesResponse> responseObserver)

Lists all error frames in a given source and location.

Parameters
NameDescription
requestListErrorFramesRequest
responseObserverio.grpc.stub.StreamObserver<ListErrorFramesResponse>

listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)

public void listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)

Lists all groups in a given project and location.

Parameters
NameDescription
requestListGroupsRequest
responseObserverio.grpc.stub.StreamObserver<ListGroupsResponse>

listImportDataFiles(ListImportDataFilesRequest request, StreamObserver<ListImportDataFilesResponse> responseObserver)

public void listImportDataFiles(ListImportDataFilesRequest request, StreamObserver<ListImportDataFilesResponse> responseObserver)

List import data files.

Parameters
NameDescription
requestListImportDataFilesRequest
responseObserverio.grpc.stub.StreamObserver<ListImportDataFilesResponse>

listImportJobs(ListImportJobsRequest request, StreamObserver<ListImportJobsResponse> responseObserver)

public void listImportJobs(ListImportJobsRequest request, StreamObserver<ListImportJobsResponse> responseObserver)

Lists all import jobs.

Parameters
NameDescription
requestListImportJobsRequest
responseObserverio.grpc.stub.StreamObserver<ListImportJobsResponse>

listPreferenceSets(ListPreferenceSetsRequest request, StreamObserver<ListPreferenceSetsResponse> responseObserver)

public void listPreferenceSets(ListPreferenceSetsRequest request, StreamObserver<ListPreferenceSetsResponse> responseObserver)

Lists all the preference sets in a given project and location.

Parameters
NameDescription
requestListPreferenceSetsRequest
responseObserverio.grpc.stub.StreamObserver<ListPreferenceSetsResponse>

listReportConfigs(ListReportConfigsRequest request, StreamObserver<ListReportConfigsResponse> responseObserver)

public void listReportConfigs(ListReportConfigsRequest request, StreamObserver<ListReportConfigsResponse> responseObserver)

Lists ReportConfigs in a given project and location.

Parameters
NameDescription
requestListReportConfigsRequest
responseObserverio.grpc.stub.StreamObserver<ListReportConfigsResponse>

listReports(ListReportsRequest request, StreamObserver<ListReportsResponse> responseObserver)

public void listReports(ListReportsRequest request, StreamObserver<ListReportsResponse> responseObserver)

Lists Reports in a given ReportConfig.

Parameters
NameDescription
requestListReportsRequest
responseObserverio.grpc.stub.StreamObserver<ListReportsResponse>

listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)

public void listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)

Lists all the sources in a given project and location.

Parameters
NameDescription
requestListSourcesRequest
responseObserverio.grpc.stub.StreamObserver<ListSourcesResponse>

removeAssetsFromGroup(RemoveAssetsFromGroupRequest request, StreamObserver<Operation> responseObserver)

public void removeAssetsFromGroup(RemoveAssetsFromGroupRequest request, StreamObserver<Operation> responseObserver)

Removes assets from a group.

Parameters
NameDescription
requestRemoveAssetsFromGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

reportAssetFrames(ReportAssetFramesRequest request, StreamObserver<ReportAssetFramesResponse> responseObserver)

public void reportAssetFrames(ReportAssetFramesRequest request, StreamObserver<ReportAssetFramesResponse> responseObserver)

Reports a set of frames.

Parameters
NameDescription
requestReportAssetFramesRequest
responseObserverio.grpc.stub.StreamObserver<ReportAssetFramesResponse>

runImportJob(RunImportJobRequest request, StreamObserver<Operation> responseObserver)

public void runImportJob(RunImportJobRequest request, StreamObserver<Operation> responseObserver)

Runs an import job.

Parameters
NameDescription
requestRunImportJobRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateAsset(UpdateAssetRequest request, StreamObserver<Asset> responseObserver)

public void updateAsset(UpdateAssetRequest request, StreamObserver<Asset> responseObserver)

Updates the parameters of an asset.

Parameters
NameDescription
requestUpdateAssetRequest
responseObserverio.grpc.stub.StreamObserver<Asset>

updateGroup(UpdateGroupRequest request, StreamObserver<Operation> responseObserver)

public void updateGroup(UpdateGroupRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a group.

Parameters
NameDescription
requestUpdateGroupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateImportJob(UpdateImportJobRequest request, StreamObserver<Operation> responseObserver)

public void updateImportJob(UpdateImportJobRequest request, StreamObserver<Operation> responseObserver)

Updates an import job.

Parameters
NameDescription
requestUpdateImportJobRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updatePreferenceSet(UpdatePreferenceSetRequest request, StreamObserver<Operation> responseObserver)

public void updatePreferenceSet(UpdatePreferenceSetRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a preference set.

Parameters
NameDescription
requestUpdatePreferenceSetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateSettings(UpdateSettingsRequest request, StreamObserver<Operation> responseObserver)

public void updateSettings(UpdateSettingsRequest request, StreamObserver<Operation> responseObserver)

Updates the regional-level project settings.

Parameters
NameDescription
requestUpdateSettingsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateSource(UpdateSourceRequest request, StreamObserver<Operation> responseObserver)

public void updateSource(UpdateSourceRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a source.

Parameters
NameDescription
requestUpdateSourceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

validateImportJob(ValidateImportJobRequest request, StreamObserver<Operation> responseObserver)

public void validateImportJob(ValidateImportJobRequest request, StreamObserver<Operation> responseObserver)

Validates an import job.

Parameters
NameDescription
requestValidateImportJobRequest
responseObserverio.grpc.stub.StreamObserver<Operation>