Send feedback
Class DataTransferServiceStubSettings.Builder (2.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.28.0 keyboard_arrow_down
public static class DataTransferServiceStubSettings . Builder extends StubSettings . Builder<DataTransferServiceStubSettings , DataTransferServiceStubSettings . Builder >
Builder for DataTransferServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(DataTransferServiceStubSettings settings)
protected Builder ( DataTransferServiceStubSettings settings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DataTransferServiceStubSettings . 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.
build()
public DataTransferServiceStubSettings build ()
Overrides
checkValidCredsSettings()
public UnaryCallSettings . Builder<CheckValidCredsRequest , CheckValidCredsResponse > checkValidCredsSettings ()
Returns the builder for the settings used for calls to checkValidCreds.
createTransferConfigSettings()
public UnaryCallSettings . Builder<CreateTransferConfigRequest , TransferConfig > createTransferConfigSettings ()
Returns the builder for the settings used for calls to createTransferConfig.
deleteTransferConfigSettings()
public UnaryCallSettings . Builder<DeleteTransferConfigRequest , Empty > deleteTransferConfigSettings ()
Returns the builder for the settings used for calls to deleteTransferConfig.
deleteTransferRunSettings()
public UnaryCallSettings . Builder<DeleteTransferRunRequest , Empty > deleteTransferRunSettings ()
Returns the builder for the settings used for calls to deleteTransferRun.
enrollDataSourcesSettings()
public UnaryCallSettings . Builder<EnrollDataSourcesRequest , Empty > enrollDataSourcesSettings ()
Returns the builder for the settings used for calls to enrollDataSources.
getDataSourceSettings()
public UnaryCallSettings . Builder<GetDataSourceRequest , DataSource > getDataSourceSettings ()
Returns the builder for the settings used for calls to getDataSource.
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 >
getTransferConfigSettings()
public UnaryCallSettings . Builder<GetTransferConfigRequest , TransferConfig > getTransferConfigSettings ()
Returns the builder for the settings used for calls to getTransferConfig.
getTransferRunSettings()
public UnaryCallSettings . Builder<GetTransferRunRequest , TransferRun > getTransferRunSettings ()
Returns the builder for the settings used for calls to getTransferRun.
listDataSourcesSettings()
public PagedCallSettings . Builder<ListDataSourcesRequest , ListDataSourcesResponse , DataTransferServiceClient . ListDataSourcesPagedResponse > listDataSourcesSettings ()
Returns the builder for the settings used for calls to listDataSources.
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , DataTransferServiceClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
listTransferConfigsSettings()
public PagedCallSettings . Builder<ListTransferConfigsRequest , ListTransferConfigsResponse , DataTransferServiceClient . ListTransferConfigsPagedResponse > listTransferConfigsSettings ()
Returns the builder for the settings used for calls to listTransferConfigs.
listTransferLogsSettings()
public PagedCallSettings . Builder<ListTransferLogsRequest , ListTransferLogsResponse , DataTransferServiceClient . ListTransferLogsPagedResponse > listTransferLogsSettings ()
Returns the builder for the settings used for calls to listTransferLogs.
listTransferRunsSettings()
public PagedCallSettings . Builder<ListTransferRunsRequest , ListTransferRunsResponse , DataTransferServiceClient . ListTransferRunsPagedResponse > listTransferRunsSettings ()
Returns the builder for the settings used for calls to listTransferRuns.
scheduleTransferRunsSettings() (deprecated)
public UnaryCallSettings . Builder<ScheduleTransferRunsRequest , ScheduleTransferRunsResponse > scheduleTransferRunsSettings ()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to scheduleTransferRuns.
startManualTransferRunsSettings()
public UnaryCallSettings . Builder<StartManualTransferRunsRequest , StartManualTransferRunsResponse > startManualTransferRunsSettings ()
Returns the builder for the settings used for calls to startManualTransferRuns.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateTransferConfigSettings()
public UnaryCallSettings . Builder<UpdateTransferConfigRequest , TransferConfig > updateTransferConfigSettings ()
Returns the builder for the settings used for calls to updateTransferConfig.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]