Class DataTransferServiceSettings.Builder (2.42.0)

public static class DataTransferServiceSettings.Builder extends ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>

Builder for DataTransferServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataTransferServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataTransferServiceSettings settings)

protected Builder(DataTransferServiceSettings settings)
Parameter
Name Description
settings DataTransferServiceSettings

Builder(DataTransferServiceStubSettings.Builder stubSettings)

protected Builder(DataTransferServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DataTransferServiceStubSettings.Builder

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DataTransferServiceSettings.Builder

build()

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

checkValidCredsSettings()

public UnaryCallSettings.Builder<CheckValidCredsRequest,CheckValidCredsResponse> checkValidCredsSettings()

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

Returns
Type Description
Builder<CheckValidCredsRequest,CheckValidCredsResponse>

createTransferConfigSettings()

public UnaryCallSettings.Builder<CreateTransferConfigRequest,TransferConfig> createTransferConfigSettings()

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

Returns
Type Description
Builder<CreateTransferConfigRequest,TransferConfig>

deleteTransferConfigSettings()

public UnaryCallSettings.Builder<DeleteTransferConfigRequest,Empty> deleteTransferConfigSettings()

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

Returns
Type Description
Builder<DeleteTransferConfigRequest,Empty>

deleteTransferRunSettings()

public UnaryCallSettings.Builder<DeleteTransferRunRequest,Empty> deleteTransferRunSettings()

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

Returns
Type Description
Builder<DeleteTransferRunRequest,Empty>

enrollDataSourcesSettings()

public UnaryCallSettings.Builder<EnrollDataSourcesRequest,Empty> enrollDataSourcesSettings()

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

Returns
Type Description
Builder<EnrollDataSourcesRequest,Empty>

getDataSourceSettings()

public UnaryCallSettings.Builder<GetDataSourceRequest,DataSource> getDataSourceSettings()

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

Returns
Type Description
Builder<GetDataSourceRequest,DataSource>

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>

getStubSettingsBuilder()

public DataTransferServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DataTransferServiceStubSettings.Builder

getTransferConfigSettings()

public UnaryCallSettings.Builder<GetTransferConfigRequest,TransferConfig> getTransferConfigSettings()

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

Returns
Type Description
Builder<GetTransferConfigRequest,TransferConfig>

getTransferRunSettings()

public UnaryCallSettings.Builder<GetTransferRunRequest,TransferRun> getTransferRunSettings()

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

Returns
Type Description
Builder<GetTransferRunRequest,TransferRun>

listDataSourcesSettings()

public PagedCallSettings.Builder<ListDataSourcesRequest,ListDataSourcesResponse,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesSettings()

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

Returns
Type Description
Builder<ListDataSourcesRequest,ListDataSourcesResponse,ListDataSourcesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataTransferServiceClient.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>

listTransferConfigsSettings()

public PagedCallSettings.Builder<ListTransferConfigsRequest,ListTransferConfigsResponse,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsSettings()

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

Returns
Type Description
Builder<ListTransferConfigsRequest,ListTransferConfigsResponse,ListTransferConfigsPagedResponse>

listTransferLogsSettings()

public PagedCallSettings.Builder<ListTransferLogsRequest,ListTransferLogsResponse,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsSettings()

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

Returns
Type Description
Builder<ListTransferLogsRequest,ListTransferLogsResponse,ListTransferLogsPagedResponse>

listTransferRunsSettings()

public PagedCallSettings.Builder<ListTransferRunsRequest,ListTransferRunsResponse,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsSettings()

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

Returns
Type Description
Builder<ListTransferRunsRequest,ListTransferRunsResponse,ListTransferRunsPagedResponse>

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
Type Description
Builder<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse>

startManualTransferRunsSettings()

public UnaryCallSettings.Builder<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsSettings()

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

Returns
Type Description
Builder<StartManualTransferRunsRequest,StartManualTransferRunsResponse>

unenrollDataSourcesSettings()

public UnaryCallSettings.Builder<UnenrollDataSourcesRequest,Empty> unenrollDataSourcesSettings()

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

Returns
Type Description
Builder<UnenrollDataSourcesRequest,Empty>

updateTransferConfigSettings()

public UnaryCallSettings.Builder<UpdateTransferConfigRequest,TransferConfig> updateTransferConfigSettings()

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

Returns
Type Description
Builder<UpdateTransferConfigRequest,TransferConfig>