public static class DataTransferServiceSettings.Builder extends ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
Builder for DataTransferServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(DataTransferServiceSettings settings)
protected Builder(DataTransferServiceSettings settings)
Parameter
Builder(DataTransferServiceStubSettings.Builder stubSettings)
protected Builder(DataTransferServiceStubSettings.Builder stubSettings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DataTransferServiceSettings.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
Returns
build()
public DataTransferServiceSettings build()
Returns
Overrides
Exceptions
checkValidCredsSettings()
public UnaryCallSettings.Builder<CheckValidCredsRequest,CheckValidCredsResponse> checkValidCredsSettings()
Returns the builder for the settings used for calls to checkValidCreds.
Returns
createTransferConfigSettings()
public UnaryCallSettings.Builder<CreateTransferConfigRequest,TransferConfig> createTransferConfigSettings()
Returns the builder for the settings used for calls to createTransferConfig.
Returns
deleteTransferConfigSettings()
public UnaryCallSettings.Builder<DeleteTransferConfigRequest,Empty> deleteTransferConfigSettings()
Returns the builder for the settings used for calls to deleteTransferConfig.
Returns
deleteTransferRunSettings()
public UnaryCallSettings.Builder<DeleteTransferRunRequest,Empty> deleteTransferRunSettings()
Returns the builder for the settings used for calls to deleteTransferRun.
Returns
getDataSourceSettings()
public UnaryCallSettings.Builder<GetDataSourceRequest,DataSource> getDataSourceSettings()
Returns the builder for the settings used for calls to getDataSource.
Returns
getStubSettingsBuilder()
public DataTransferServiceStubSettings.Builder getStubSettingsBuilder()
Returns
getTransferConfigSettings()
public UnaryCallSettings.Builder<GetTransferConfigRequest,TransferConfig> getTransferConfigSettings()
Returns the builder for the settings used for calls to getTransferConfig.
Returns
getTransferRunSettings()
public UnaryCallSettings.Builder<GetTransferRunRequest,TransferRun> getTransferRunSettings()
Returns the builder for the settings used for calls to getTransferRun.
Returns
listDataSourcesSettings()
public PagedCallSettings.Builder<ListDataSourcesRequest,ListDataSourcesResponse,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesSettings()
Returns the builder for the settings used for calls to listDataSources.
Returns
listTransferConfigsSettings()
public PagedCallSettings.Builder<ListTransferConfigsRequest,ListTransferConfigsResponse,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsSettings()
Returns the builder for the settings used for calls to listTransferConfigs.
Returns
listTransferLogsSettings()
public PagedCallSettings.Builder<ListTransferLogsRequest,ListTransferLogsResponse,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsSettings()
Returns the builder for the settings used for calls to listTransferLogs.
Returns
listTransferRunsSettings()
public PagedCallSettings.Builder<ListTransferRunsRequest,ListTransferRunsResponse,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsSettings()
Returns the builder for the settings used for calls to listTransferRuns.
Returns
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.
Returns
startManualTransferRunsSettings()
public UnaryCallSettings.Builder<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsSettings()
Returns the builder for the settings used for calls to startManualTransferRuns.
Returns
updateTransferConfigSettings()
public UnaryCallSettings.Builder<UpdateTransferConfigRequest,TransferConfig> updateTransferConfigSettings()
Returns the builder for the settings used for calls to updateTransferConfig.
Returns