Class MigrationCenterStubSettings.Builder (0.17.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
NameDescription
clientContextClientContext

Builder(MigrationCenterStubSettings settings)

protected Builder(MigrationCenterStubSettings settings)
Parameter
NameDescription
settingsMigrationCenterStubSettings

Methods

addAssetsToGroupOperationSettings()

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

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

Returns
TypeDescription
Builder<AddAssetsToGroupRequest,Group,OperationMetadata>

addAssetsToGroupSettings()

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

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

Returns
TypeDescription
Builder<AddAssetsToGroupRequest,Operation>

aggregateAssetsValuesSettings()

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

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

Returns
TypeDescription
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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
MigrationCenterStubSettings.Builder

batchDeleteAssetsSettings()

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

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

Returns
TypeDescription
Builder<BatchDeleteAssetsRequest,Empty>

batchUpdateAssetsSettings()

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

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

Returns
TypeDescription
Builder<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse>

build()

public MigrationCenterStubSettings build()
Returns
TypeDescription
MigrationCenterStubSettings
Overrides
Exceptions
TypeDescription
IOException

createGroupOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateGroupRequest,Group,OperationMetadata>

createGroupSettings()

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

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

Returns
TypeDescription
Builder<CreateGroupRequest,Operation>

createImportDataFileOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateImportDataFileRequest,ImportDataFile,OperationMetadata>

createImportDataFileSettings()

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

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

Returns
TypeDescription
Builder<CreateImportDataFileRequest,Operation>

createImportJobOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateImportJobRequest,ImportJob,OperationMetadata>

createImportJobSettings()

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

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

Returns
TypeDescription
Builder<CreateImportJobRequest,Operation>

createPreferenceSetOperationSettings()

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

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

Returns
TypeDescription
Builder<CreatePreferenceSetRequest,PreferenceSet,OperationMetadata>

createPreferenceSetSettings()

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

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

Returns
TypeDescription
Builder<CreatePreferenceSetRequest,Operation>

createReportConfigOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateReportConfigRequest,ReportConfig,OperationMetadata>

createReportConfigSettings()

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

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

Returns
TypeDescription
Builder<CreateReportConfigRequest,Operation>

createReportOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateReportRequest,Report,OperationMetadata>

createReportSettings()

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

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

Returns
TypeDescription
Builder<CreateReportRequest,Operation>

createSourceOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateSourceRequest,Source,OperationMetadata>

createSourceSettings()

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

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

Returns
TypeDescription
Builder<CreateSourceRequest,Operation>

deleteAssetSettings()

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

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

Returns
TypeDescription
Builder<DeleteAssetRequest,Empty>

deleteGroupOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteGroupRequest,Empty,OperationMetadata>

deleteGroupSettings()

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

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

Returns
TypeDescription
Builder<DeleteGroupRequest,Operation>

deleteImportDataFileOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteImportDataFileRequest,Empty,OperationMetadata>

deleteImportDataFileSettings()

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

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

Returns
TypeDescription
Builder<DeleteImportDataFileRequest,Operation>

deleteImportJobOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteImportJobRequest,Empty,OperationMetadata>

deleteImportJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteImportJobRequest,Operation>

deletePreferenceSetOperationSettings()

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

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

Returns
TypeDescription
Builder<DeletePreferenceSetRequest,Empty,OperationMetadata>

deletePreferenceSetSettings()

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

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

Returns
TypeDescription
Builder<DeletePreferenceSetRequest,Operation>

deleteReportConfigOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteReportConfigRequest,Empty,OperationMetadata>

deleteReportConfigSettings()

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

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

Returns
TypeDescription
Builder<DeleteReportConfigRequest,Operation>

deleteReportOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteReportRequest,Empty,OperationMetadata>

deleteReportSettings()

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

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

Returns
TypeDescription
Builder<DeleteReportRequest,Operation>

deleteSourceOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteSourceRequest,Empty,OperationMetadata>

deleteSourceSettings()

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

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

Returns
TypeDescription
Builder<DeleteSourceRequest,Operation>

getAssetSettings()

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

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

Returns
TypeDescription
Builder<GetAssetRequest,Asset>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getErrorFrameSettings()

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

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

Returns
TypeDescription
Builder<GetErrorFrameRequest,ErrorFrame>

getGroupSettings()

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

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

Returns
TypeDescription
Builder<GetGroupRequest,Group>

getImportDataFileSettings()

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

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

Returns
TypeDescription
Builder<GetImportDataFileRequest,ImportDataFile>

getImportJobSettings()

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

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

Returns
TypeDescription
Builder<GetImportJobRequest,ImportJob>

getLocationSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetPreferenceSetRequest,PreferenceSet>

getReportConfigSettings()

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

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

Returns
TypeDescription
Builder<GetReportConfigRequest,ReportConfig>

getReportSettings()

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

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

Returns
TypeDescription
Builder<GetReportRequest,Report>

getSettingsSettings()

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

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

Returns
TypeDescription
Builder<GetSettingsRequest,Settings>

getSourceSettings()

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

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

Returns
TypeDescription
Builder<GetSourceRequest,Source>

listAssetsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListSourcesRequest,ListSourcesResponse,ListSourcesPagedResponse>

removeAssetsFromGroupOperationSettings()

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

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

Returns
TypeDescription
Builder<RemoveAssetsFromGroupRequest,Group,OperationMetadata>

removeAssetsFromGroupSettings()

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

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

Returns
TypeDescription
Builder<RemoveAssetsFromGroupRequest,Operation>

reportAssetFramesSettings()

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

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

Returns
TypeDescription
Builder<ReportAssetFramesRequest,ReportAssetFramesResponse>

runImportJobOperationSettings()

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

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

Returns
TypeDescription
Builder<RunImportJobRequest,Empty,OperationMetadata>

runImportJobSettings()

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

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

Returns
TypeDescription
Builder<RunImportJobRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateAssetRequest,Asset>

updateGroupOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateGroupRequest,Group,OperationMetadata>

updateGroupSettings()

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

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

Returns
TypeDescription
Builder<UpdateGroupRequest,Operation>

updateImportJobOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateImportJobRequest,ImportJob,OperationMetadata>

updateImportJobSettings()

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

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

Returns
TypeDescription
Builder<UpdateImportJobRequest,Operation>

updatePreferenceSetOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdatePreferenceSetRequest,PreferenceSet,OperationMetadata>

updatePreferenceSetSettings()

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

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

Returns
TypeDescription
Builder<UpdatePreferenceSetRequest,Operation>

updateSettingsOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateSettingsRequest,Settings,OperationMetadata>

updateSettingsSettings()

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

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

Returns
TypeDescription
Builder<UpdateSettingsRequest,Operation>

updateSourceOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateSourceRequest,Source,OperationMetadata>

updateSourceSettings()

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

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

Returns
TypeDescription
Builder<UpdateSourceRequest,Operation>

validateImportJobOperationSettings()

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

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

Returns
TypeDescription
Builder<ValidateImportJobRequest,Empty,OperationMetadata>

validateImportJobSettings()

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

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

Returns
TypeDescription
Builder<ValidateImportJobRequest,Operation>