Class MigrationCenterSettings.Builder (0.40.0)

public static class MigrationCenterSettings.Builder extends ClientSettings.Builder<MigrationCenterSettings,MigrationCenterSettings.Builder>

Builder for MigrationCenterSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MigrationCenterSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MigrationCenterSettings settings)

protected Builder(MigrationCenterSettings settings)
Parameter
Name Description
settings MigrationCenterSettings

Builder(MigrationCenterStubSettings.Builder stubSettings)

protected Builder(MigrationCenterStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings MigrationCenterStubSettings.Builder

Methods

addAssetsToGroupOperationSettings()

public OperationCallSettings.Builder<AddAssetsToGroupRequest,Group,OperationMetadata> addAssetsToGroupOperationSettings()

Returns the builder for the settings used for calls to addAssetsToGroup.

addAssetsToGroupSettings()

public UnaryCallSettings.Builder<AddAssetsToGroupRequest,Operation> addAssetsToGroupSettings()

Returns the builder for the settings used for calls to addAssetsToGroup.

Returns
Type Description
Builder<AddAssetsToGroupRequest,Operation>

aggregateAssetsValuesSettings()

public UnaryCallSettings.Builder<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse> aggregateAssetsValuesSettings()

Returns the builder for the settings used for calls to aggregateAssetsValues.

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public MigrationCenterSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
MigrationCenterSettings.Builder

batchDeleteAssetsSettings()

public UnaryCallSettings.Builder<BatchDeleteAssetsRequest,Empty> batchDeleteAssetsSettings()

Returns the builder for the settings used for calls to batchDeleteAssets.

Returns
Type Description
Builder<BatchDeleteAssetsRequest,Empty>

batchUpdateAssetsSettings()

public UnaryCallSettings.Builder<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse> batchUpdateAssetsSettings()

Returns the builder for the settings used for calls to batchUpdateAssets.

build()

public MigrationCenterSettings build()
Returns
Type Description
MigrationCenterSettings
Overrides
Exceptions
Type Description
IOException

createGroupOperationSettings()

public OperationCallSettings.Builder<CreateGroupRequest,Group,OperationMetadata> createGroupOperationSettings()

Returns the builder for the settings used for calls to createGroup.

createGroupSettings()

public UnaryCallSettings.Builder<CreateGroupRequest,Operation> createGroupSettings()

Returns the builder for the settings used for calls to createGroup.

Returns
Type Description
Builder<CreateGroupRequest,Operation>

createImportDataFileOperationSettings()

public OperationCallSettings.Builder<CreateImportDataFileRequest,ImportDataFile,OperationMetadata> createImportDataFileOperationSettings()

Returns the builder for the settings used for calls to createImportDataFile.

createImportDataFileSettings()

public UnaryCallSettings.Builder<CreateImportDataFileRequest,Operation> createImportDataFileSettings()

Returns the builder for the settings used for calls to createImportDataFile.

Returns
Type Description
Builder<CreateImportDataFileRequest,Operation>

createImportJobOperationSettings()

public OperationCallSettings.Builder<CreateImportJobRequest,ImportJob,OperationMetadata> createImportJobOperationSettings()

Returns the builder for the settings used for calls to createImportJob.

createImportJobSettings()

public UnaryCallSettings.Builder<CreateImportJobRequest,Operation> createImportJobSettings()

Returns the builder for the settings used for calls to createImportJob.

Returns
Type Description
Builder<CreateImportJobRequest,Operation>

createPreferenceSetOperationSettings()

public OperationCallSettings.Builder<CreatePreferenceSetRequest,PreferenceSet,OperationMetadata> createPreferenceSetOperationSettings()

Returns the builder for the settings used for calls to createPreferenceSet.

createPreferenceSetSettings()

public UnaryCallSettings.Builder<CreatePreferenceSetRequest,Operation> createPreferenceSetSettings()

Returns the builder for the settings used for calls to createPreferenceSet.

Returns
Type Description
Builder<CreatePreferenceSetRequest,Operation>

createReportConfigOperationSettings()

public OperationCallSettings.Builder<CreateReportConfigRequest,ReportConfig,OperationMetadata> createReportConfigOperationSettings()

Returns the builder for the settings used for calls to createReportConfig.

createReportConfigSettings()

public UnaryCallSettings.Builder<CreateReportConfigRequest,Operation> createReportConfigSettings()

Returns the builder for the settings used for calls to createReportConfig.

Returns
Type Description
Builder<CreateReportConfigRequest,Operation>

createReportOperationSettings()

public OperationCallSettings.Builder<CreateReportRequest,Report,OperationMetadata> createReportOperationSettings()

Returns the builder for the settings used for calls to createReport.

createReportSettings()

public UnaryCallSettings.Builder<CreateReportRequest,Operation> createReportSettings()

Returns the builder for the settings used for calls to createReport.

Returns
Type Description
Builder<CreateReportRequest,Operation>

createSourceOperationSettings()

public OperationCallSettings.Builder<CreateSourceRequest,Source,OperationMetadata> createSourceOperationSettings()

Returns the builder for the settings used for calls to createSource.

createSourceSettings()

public UnaryCallSettings.Builder<CreateSourceRequest,Operation> createSourceSettings()

Returns the builder for the settings used for calls to createSource.

Returns
Type Description
Builder<CreateSourceRequest,Operation>

deleteAssetSettings()

public UnaryCallSettings.Builder<DeleteAssetRequest,Empty> deleteAssetSettings()

Returns the builder for the settings used for calls to deleteAsset.

Returns
Type Description
Builder<DeleteAssetRequest,Empty>

deleteGroupOperationSettings()

public OperationCallSettings.Builder<DeleteGroupRequest,Empty,OperationMetadata> deleteGroupOperationSettings()

Returns the builder for the settings used for calls to deleteGroup.

deleteGroupSettings()

public UnaryCallSettings.Builder<DeleteGroupRequest,Operation> deleteGroupSettings()

Returns the builder for the settings used for calls to deleteGroup.

Returns
Type Description
Builder<DeleteGroupRequest,Operation>

deleteImportDataFileOperationSettings()

public OperationCallSettings.Builder<DeleteImportDataFileRequest,Empty,OperationMetadata> deleteImportDataFileOperationSettings()

Returns the builder for the settings used for calls to deleteImportDataFile.

deleteImportDataFileSettings()

public UnaryCallSettings.Builder<DeleteImportDataFileRequest,Operation> deleteImportDataFileSettings()

Returns the builder for the settings used for calls to deleteImportDataFile.

Returns
Type Description
Builder<DeleteImportDataFileRequest,Operation>

deleteImportJobOperationSettings()

public OperationCallSettings.Builder<DeleteImportJobRequest,Empty,OperationMetadata> deleteImportJobOperationSettings()

Returns the builder for the settings used for calls to deleteImportJob.

deleteImportJobSettings()

public UnaryCallSettings.Builder<DeleteImportJobRequest,Operation> deleteImportJobSettings()

Returns the builder for the settings used for calls to deleteImportJob.

Returns
Type Description
Builder<DeleteImportJobRequest,Operation>

deletePreferenceSetOperationSettings()

public OperationCallSettings.Builder<DeletePreferenceSetRequest,Empty,OperationMetadata> deletePreferenceSetOperationSettings()

Returns the builder for the settings used for calls to deletePreferenceSet.

deletePreferenceSetSettings()

public UnaryCallSettings.Builder<DeletePreferenceSetRequest,Operation> deletePreferenceSetSettings()

Returns the builder for the settings used for calls to deletePreferenceSet.

Returns
Type Description
Builder<DeletePreferenceSetRequest,Operation>

deleteReportConfigOperationSettings()

public OperationCallSettings.Builder<DeleteReportConfigRequest,Empty,OperationMetadata> deleteReportConfigOperationSettings()

Returns the builder for the settings used for calls to deleteReportConfig.

deleteReportConfigSettings()

public UnaryCallSettings.Builder<DeleteReportConfigRequest,Operation> deleteReportConfigSettings()

Returns the builder for the settings used for calls to deleteReportConfig.

Returns
Type Description
Builder<DeleteReportConfigRequest,Operation>

deleteReportOperationSettings()

public OperationCallSettings.Builder<DeleteReportRequest,Empty,OperationMetadata> deleteReportOperationSettings()

Returns the builder for the settings used for calls to deleteReport.

deleteReportSettings()

public UnaryCallSettings.Builder<DeleteReportRequest,Operation> deleteReportSettings()

Returns the builder for the settings used for calls to deleteReport.

Returns
Type Description
Builder<DeleteReportRequest,Operation>

deleteSourceOperationSettings()

public OperationCallSettings.Builder<DeleteSourceRequest,Empty,OperationMetadata> deleteSourceOperationSettings()

Returns the builder for the settings used for calls to deleteSource.

deleteSourceSettings()

public UnaryCallSettings.Builder<DeleteSourceRequest,Operation> deleteSourceSettings()

Returns the builder for the settings used for calls to deleteSource.

Returns
Type Description
Builder<DeleteSourceRequest,Operation>

getAssetSettings()

public UnaryCallSettings.Builder<GetAssetRequest,Asset> getAssetSettings()

Returns the builder for the settings used for calls to getAsset.

Returns
Type Description
Builder<GetAssetRequest,Asset>

getErrorFrameSettings()

public UnaryCallSettings.Builder<GetErrorFrameRequest,ErrorFrame> getErrorFrameSettings()

Returns the builder for the settings used for calls to getErrorFrame.

Returns
Type Description
Builder<GetErrorFrameRequest,ErrorFrame>

getGroupSettings()

public UnaryCallSettings.Builder<GetGroupRequest,Group> getGroupSettings()

Returns the builder for the settings used for calls to getGroup.

Returns
Type Description
Builder<GetGroupRequest,Group>

getImportDataFileSettings()

public UnaryCallSettings.Builder<GetImportDataFileRequest,ImportDataFile> getImportDataFileSettings()

Returns the builder for the settings used for calls to getImportDataFile.

Returns
Type Description
Builder<GetImportDataFileRequest,ImportDataFile>

getImportJobSettings()

public UnaryCallSettings.Builder<GetImportJobRequest,ImportJob> getImportJobSettings()

Returns the builder for the settings used for calls to getImportJob.

Returns
Type Description
Builder<GetImportJobRequest,ImportJob>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getPreferenceSetSettings()

public UnaryCallSettings.Builder<GetPreferenceSetRequest,PreferenceSet> getPreferenceSetSettings()

Returns the builder for the settings used for calls to getPreferenceSet.

Returns
Type Description
Builder<GetPreferenceSetRequest,PreferenceSet>

getReportConfigSettings()

public UnaryCallSettings.Builder<GetReportConfigRequest,ReportConfig> getReportConfigSettings()

Returns the builder for the settings used for calls to getReportConfig.

Returns
Type Description
Builder<GetReportConfigRequest,ReportConfig>

getReportSettings()

public UnaryCallSettings.Builder<GetReportRequest,Report> getReportSettings()

Returns the builder for the settings used for calls to getReport.

Returns
Type Description
Builder<GetReportRequest,Report>

getSettingsSettings()

public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()

Returns the builder for the settings used for calls to getSettings.

Returns
Type Description
Builder<GetSettingsRequest,Settings>

getSourceSettings()

public UnaryCallSettings.Builder<GetSourceRequest,Source> getSourceSettings()

Returns the builder for the settings used for calls to getSource.

Returns
Type Description
Builder<GetSourceRequest,Source>

getStubSettingsBuilder()

public MigrationCenterStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
MigrationCenterStubSettings.Builder

listAssetsSettings()

public PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,MigrationCenterClient.ListAssetsPagedResponse> listAssetsSettings()

Returns the builder for the settings used for calls to listAssets.

listErrorFramesSettings()

public PagedCallSettings.Builder<ListErrorFramesRequest,ListErrorFramesResponse,MigrationCenterClient.ListErrorFramesPagedResponse> listErrorFramesSettings()

Returns the builder for the settings used for calls to listErrorFrames.

listGroupsSettings()

public PagedCallSettings.Builder<ListGroupsRequest,ListGroupsResponse,MigrationCenterClient.ListGroupsPagedResponse> listGroupsSettings()

Returns the builder for the settings used for calls to listGroups.

listImportDataFilesSettings()

public PagedCallSettings.Builder<ListImportDataFilesRequest,ListImportDataFilesResponse,MigrationCenterClient.ListImportDataFilesPagedResponse> listImportDataFilesSettings()

Returns the builder for the settings used for calls to listImportDataFiles.

listImportJobsSettings()

public PagedCallSettings.Builder<ListImportJobsRequest,ListImportJobsResponse,MigrationCenterClient.ListImportJobsPagedResponse> listImportJobsSettings()

Returns the builder for the settings used for calls to listImportJobs.

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,MigrationCenterClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listPreferenceSetsSettings()

public PagedCallSettings.Builder<ListPreferenceSetsRequest,ListPreferenceSetsResponse,MigrationCenterClient.ListPreferenceSetsPagedResponse> listPreferenceSetsSettings()

Returns the builder for the settings used for calls to listPreferenceSets.

listReportConfigsSettings()

public PagedCallSettings.Builder<ListReportConfigsRequest,ListReportConfigsResponse,MigrationCenterClient.ListReportConfigsPagedResponse> listReportConfigsSettings()

Returns the builder for the settings used for calls to listReportConfigs.

listReportsSettings()

public PagedCallSettings.Builder<ListReportsRequest,ListReportsResponse,MigrationCenterClient.ListReportsPagedResponse> listReportsSettings()

Returns the builder for the settings used for calls to listReports.

listSourcesSettings()

public PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse,MigrationCenterClient.ListSourcesPagedResponse> listSourcesSettings()

Returns the builder for the settings used for calls to listSources.

removeAssetsFromGroupOperationSettings()

public OperationCallSettings.Builder<RemoveAssetsFromGroupRequest,Group,OperationMetadata> removeAssetsFromGroupOperationSettings()

Returns the builder for the settings used for calls to removeAssetsFromGroup.

removeAssetsFromGroupSettings()

public UnaryCallSettings.Builder<RemoveAssetsFromGroupRequest,Operation> removeAssetsFromGroupSettings()

Returns the builder for the settings used for calls to removeAssetsFromGroup.

Returns
Type Description
Builder<RemoveAssetsFromGroupRequest,Operation>

reportAssetFramesSettings()

public UnaryCallSettings.Builder<ReportAssetFramesRequest,ReportAssetFramesResponse> reportAssetFramesSettings()

Returns the builder for the settings used for calls to reportAssetFrames.

runImportJobOperationSettings()

public OperationCallSettings.Builder<RunImportJobRequest,Empty,OperationMetadata> runImportJobOperationSettings()

Returns the builder for the settings used for calls to runImportJob.

runImportJobSettings()

public UnaryCallSettings.Builder<RunImportJobRequest,Operation> runImportJobSettings()

Returns the builder for the settings used for calls to runImportJob.

Returns
Type Description
Builder<RunImportJobRequest,Operation>

updateAssetSettings()

public UnaryCallSettings.Builder<UpdateAssetRequest,Asset> updateAssetSettings()

Returns the builder for the settings used for calls to updateAsset.

Returns
Type Description
Builder<UpdateAssetRequest,Asset>

updateGroupOperationSettings()

public OperationCallSettings.Builder<UpdateGroupRequest,Group,OperationMetadata> updateGroupOperationSettings()

Returns the builder for the settings used for calls to updateGroup.

updateGroupSettings()

public UnaryCallSettings.Builder<UpdateGroupRequest,Operation> updateGroupSettings()

Returns the builder for the settings used for calls to updateGroup.

Returns
Type Description
Builder<UpdateGroupRequest,Operation>

updateImportJobOperationSettings()

public OperationCallSettings.Builder<UpdateImportJobRequest,ImportJob,OperationMetadata> updateImportJobOperationSettings()

Returns the builder for the settings used for calls to updateImportJob.

updateImportJobSettings()

public UnaryCallSettings.Builder<UpdateImportJobRequest,Operation> updateImportJobSettings()

Returns the builder for the settings used for calls to updateImportJob.

Returns
Type Description
Builder<UpdateImportJobRequest,Operation>

updatePreferenceSetOperationSettings()

public OperationCallSettings.Builder<UpdatePreferenceSetRequest,PreferenceSet,OperationMetadata> updatePreferenceSetOperationSettings()

Returns the builder for the settings used for calls to updatePreferenceSet.

updatePreferenceSetSettings()

public UnaryCallSettings.Builder<UpdatePreferenceSetRequest,Operation> updatePreferenceSetSettings()

Returns the builder for the settings used for calls to updatePreferenceSet.

Returns
Type Description
Builder<UpdatePreferenceSetRequest,Operation>

updateSettingsOperationSettings()

public OperationCallSettings.Builder<UpdateSettingsRequest,Settings,OperationMetadata> updateSettingsOperationSettings()

Returns the builder for the settings used for calls to updateSettings.

updateSettingsSettings()

public UnaryCallSettings.Builder<UpdateSettingsRequest,Operation> updateSettingsSettings()

Returns the builder for the settings used for calls to updateSettings.

Returns
Type Description
Builder<UpdateSettingsRequest,Operation>

updateSourceOperationSettings()

public OperationCallSettings.Builder<UpdateSourceRequest,Source,OperationMetadata> updateSourceOperationSettings()

Returns the builder for the settings used for calls to updateSource.

updateSourceSettings()

public UnaryCallSettings.Builder<UpdateSourceRequest,Operation> updateSourceSettings()

Returns the builder for the settings used for calls to updateSource.

Returns
Type Description
Builder<UpdateSourceRequest,Operation>

validateImportJobOperationSettings()

public OperationCallSettings.Builder<ValidateImportJobRequest,Empty,OperationMetadata> validateImportJobOperationSettings()

Returns the builder for the settings used for calls to validateImportJob.

validateImportJobSettings()

public UnaryCallSettings.Builder<ValidateImportJobRequest,Operation> validateImportJobSettings()

Returns the builder for the settings used for calls to validateImportJob.

Returns
Type Description
Builder<ValidateImportJobRequest,Operation>