Class MigrationCenterStubSettings.Builder (0.36.0)

public static class MigrationCenterStubSettings.Builder extends StubSettings.Builder<MigrationCenterStubSettings,MigrationCenterStubSettings.Builder>

Builder for MigrationCenterStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MigrationCenterStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MigrationCenterStubSettings settings)

protected Builder(MigrationCenterStubSettings settings)
Parameter
Name Description
settings MigrationCenterStubSettings

Methods

addAssetsToGroupOperationSettings()

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

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

Returns
Type Description
Builder<AddAssetsToGroupRequest,Group,OperationMetadata>

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.

Returns
Type Description
Builder<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse>

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

public MigrationCenterStubSettings.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
MigrationCenterStubSettings.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.

Returns
Type Description
Builder<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse>

build()

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

createGroupOperationSettings()

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

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

Returns
Type Description
Builder<CreateGroupRequest,Group,OperationMetadata>

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.

Returns
Type Description
Builder<CreateImportDataFileRequest,ImportDataFile,OperationMetadata>

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.

Returns
Type Description
Builder<CreateImportJobRequest,ImportJob,OperationMetadata>

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.

Returns
Type Description
Builder<CreatePreferenceSetRequest,PreferenceSet,OperationMetadata>

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.

Returns
Type Description
Builder<CreateReportConfigRequest,ReportConfig,OperationMetadata>

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.

Returns
Type Description
Builder<CreateReportRequest,Report,OperationMetadata>

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.

Returns
Type Description
Builder<CreateSourceRequest,Source,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteGroupRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteImportDataFileRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteImportJobRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeletePreferenceSetRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteReportConfigRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteReportRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteSourceRequest,Empty,OperationMetadata>

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>

listAssetsSettings()

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

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

Returns
Type Description
Builder<ListAssetsRequest,ListAssetsResponse,ListAssetsPagedResponse>

listErrorFramesSettings()

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

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

Returns
Type Description
Builder<ListErrorFramesRequest,ListErrorFramesResponse,ListErrorFramesPagedResponse>

listGroupsSettings()

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

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

Returns
Type Description
Builder<ListGroupsRequest,ListGroupsResponse,ListGroupsPagedResponse>

listImportDataFilesSettings()

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

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

Returns
Type Description
Builder<ListImportDataFilesRequest,ListImportDataFilesResponse,ListImportDataFilesPagedResponse>

listImportJobsSettings()

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

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

Returns
Type Description
Builder<ListImportJobsRequest,ListImportJobsResponse,ListImportJobsPagedResponse>

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.

Returns
Type Description
Builder<ListPreferenceSetsRequest,ListPreferenceSetsResponse,ListPreferenceSetsPagedResponse>

listReportConfigsSettings()

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

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

Returns
Type Description
Builder<ListReportConfigsRequest,ListReportConfigsResponse,ListReportConfigsPagedResponse>

listReportsSettings()

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

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

Returns
Type Description
Builder<ListReportsRequest,ListReportsResponse,ListReportsPagedResponse>

listSourcesSettings()

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

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

Returns
Type Description
Builder<ListSourcesRequest,ListSourcesResponse,ListSourcesPagedResponse>

removeAssetsFromGroupOperationSettings()

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

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

Returns
Type Description
Builder<RemoveAssetsFromGroupRequest,Group,OperationMetadata>

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.

Returns
Type Description
Builder<ReportAssetFramesRequest,ReportAssetFramesResponse>

runImportJobOperationSettings()

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

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

Returns
Type Description
Builder<RunImportJobRequest,Empty,OperationMetadata>

runImportJobSettings()

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

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

Returns
Type Description
Builder<RunImportJobRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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.

Returns
Type Description
Builder<UpdateGroupRequest,Group,OperationMetadata>

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.

Returns
Type Description
Builder<UpdateImportJobRequest,ImportJob,OperationMetadata>

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.

Returns
Type Description
Builder<UpdatePreferenceSetRequest,PreferenceSet,OperationMetadata>

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.

Returns
Type Description
Builder<UpdateSettingsRequest,Settings,OperationMetadata>

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.

Returns
Type Description
Builder<UpdateSourceRequest,Source,OperationMetadata>

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.

Returns
Type Description
Builder<ValidateImportJobRequest,Empty,OperationMetadata>

validateImportJobSettings()

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

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

Returns
Type Description
Builder<ValidateImportJobRequest,Operation>