public static class MigrationCenterStubSettings . Builder extends StubSettings . Builder<MigrationCenterStubSettings , MigrationCenterStubSettings . Builder >
Builder for MigrationCenterStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(MigrationCenterStubSettings settings)
protected Builder ( MigrationCenterStubSettings settings )
Methods
addAssetsToGroupOperationSettings()
public OperationCallSettings . Builder<AddAssetsToGroupRequest , Group , OperationMetadata > addAssetsToGroupOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
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 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.
batchDeleteAssetsSettings()
public UnaryCallSettings . Builder<BatchDeleteAssetsRequest , Empty > batchDeleteAssetsSettings ()
Returns the builder for the settings used for calls to batchDeleteAssets.
batchUpdateAssetsSettings()
public UnaryCallSettings . Builder<BatchUpdateAssetsRequest , BatchUpdateAssetsResponse > batchUpdateAssetsSettings ()
Returns the builder for the settings used for calls to batchUpdateAssets.
build()
public MigrationCenterStubSettings build ()
Overrides
createGroupOperationSettings()
public OperationCallSettings . Builder<CreateGroupRequest , Group , OperationMetadata > createGroupOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
createImportDataFileOperationSettings()
public OperationCallSettings . Builder<CreateImportDataFileRequest , ImportDataFile , OperationMetadata > createImportDataFileOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
createImportJobOperationSettings()
public OperationCallSettings . Builder<CreateImportJobRequest , ImportJob , OperationMetadata > createImportJobOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
createPreferenceSetOperationSettings()
public OperationCallSettings . Builder<CreatePreferenceSetRequest , PreferenceSet , OperationMetadata > createPreferenceSetOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
createReportConfigOperationSettings()
public OperationCallSettings . Builder<CreateReportConfigRequest , ReportConfig , OperationMetadata > createReportConfigOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
createReportOperationSettings()
public OperationCallSettings . Builder<CreateReportRequest , Report , OperationMetadata > createReportOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
createSourceOperationSettings()
public OperationCallSettings . Builder<CreateSourceRequest , Source , OperationMetadata > createSourceOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
deleteAssetSettings()
public UnaryCallSettings . Builder<DeleteAssetRequest , Empty > deleteAssetSettings ()
Returns the builder for the settings used for calls to deleteAsset.
deleteGroupOperationSettings()
public OperationCallSettings . Builder<DeleteGroupRequest , Empty , OperationMetadata > deleteGroupOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
deleteImportDataFileOperationSettings()
public OperationCallSettings . Builder<DeleteImportDataFileRequest , Empty , OperationMetadata > deleteImportDataFileOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
deleteImportJobOperationSettings()
public OperationCallSettings . Builder<DeleteImportJobRequest , Empty , OperationMetadata > deleteImportJobOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
deletePreferenceSetOperationSettings()
public OperationCallSettings . Builder<DeletePreferenceSetRequest , Empty , OperationMetadata > deletePreferenceSetOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
deleteReportConfigOperationSettings()
public OperationCallSettings . Builder<DeleteReportConfigRequest , Empty , OperationMetadata > deleteReportConfigOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
deleteReportOperationSettings()
public OperationCallSettings . Builder<DeleteReportRequest , Empty , OperationMetadata > deleteReportOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
deleteSourceOperationSettings()
public OperationCallSettings . Builder<DeleteSourceRequest , Empty , OperationMetadata > deleteSourceOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
getAssetSettings()
public UnaryCallSettings . Builder<GetAssetRequest , Asset > getAssetSettings ()
Returns the builder for the settings used for calls to getAsset.
getEndpoint()
public String getEndpoint ()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getErrorFrameSettings()
public UnaryCallSettings . Builder<GetErrorFrameRequest , ErrorFrame > getErrorFrameSettings ()
Returns the builder for the settings used for calls to getErrorFrame.
getGroupSettings()
public UnaryCallSettings . Builder<GetGroupRequest , Group > getGroupSettings ()
Returns the builder for the settings used for calls to getGroup.
getImportDataFileSettings()
public UnaryCallSettings . Builder<GetImportDataFileRequest , ImportDataFile > getImportDataFileSettings ()
Returns the builder for the settings used for calls to getImportDataFile.
getImportJobSettings()
public UnaryCallSettings . Builder<GetImportJobRequest , ImportJob > getImportJobSettings ()
Returns the builder for the settings used for calls to getImportJob.
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.
getReportConfigSettings()
public UnaryCallSettings . Builder<GetReportConfigRequest , ReportConfig > getReportConfigSettings ()
Returns the builder for the settings used for calls to getReportConfig.
getReportSettings()
public UnaryCallSettings . Builder<GetReportRequest , Report > getReportSettings ()
Returns the builder for the settings used for calls to getReport.
getSettingsSettings()
public UnaryCallSettings . Builder<GetSettingsRequest , Settings > getSettingsSettings ()
Returns the builder for the settings used for calls to getSettings.
getSourceSettings()
public UnaryCallSettings . Builder<GetSourceRequest , Source > getSourceSettings ()
Returns the builder for the settings used for calls to getSource.
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.
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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
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.
updateGroupOperationSettings()
public OperationCallSettings . Builder<UpdateGroupRequest , Group , OperationMetadata > updateGroupOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
updateImportJobOperationSettings()
public OperationCallSettings . Builder<UpdateImportJobRequest , ImportJob , OperationMetadata > updateImportJobOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
updatePreferenceSetOperationSettings()
public OperationCallSettings . Builder<UpdatePreferenceSetRequest , PreferenceSet , OperationMetadata > updatePreferenceSetOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
updateSettingsOperationSettings()
public OperationCallSettings . Builder<UpdateSettingsRequest , Settings , OperationMetadata > updateSettingsOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
updateSourceOperationSettings()
public OperationCallSettings . Builder<UpdateSourceRequest , Source , OperationMetadata > updateSourceOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
validateImportJobOperationSettings()
public OperationCallSettings . Builder<ValidateImportJobRequest , Empty , OperationMetadata > validateImportJobOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.