Class DataSourcesServiceSettings.Builder (0.4.0)

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

Builder for DataSourcesServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataSourcesServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataSourcesServiceSettings settings)

protected Builder(DataSourcesServiceSettings settings)
Parameter
Name Description
settings DataSourcesServiceSettings

Builder(DataSourcesServiceStubSettings.Builder stubSettings)

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

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DataSourcesServiceSettings.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
DataSourcesServiceSettings.Builder

build()

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

createDataSourceSettings()

public UnaryCallSettings.Builder<CreateDataSourceRequest,DataSource> createDataSourceSettings()

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

Returns
Type Description
Builder<CreateDataSourceRequest,DataSource>

deleteDataSourceSettings()

public UnaryCallSettings.Builder<DeleteDataSourceRequest,Empty> deleteDataSourceSettings()

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

Returns
Type Description
Builder<DeleteDataSourceRequest,Empty>

fetchDataSourceSettings()

public UnaryCallSettings.Builder<FetchDataSourceRequest,Empty> fetchDataSourceSettings()

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

Returns
Type Description
Builder<FetchDataSourceRequest,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>

getStubSettingsBuilder()

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

listDataSourcesSettings()

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

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

Returns
Type Description
Builder<ListDataSourcesRequest,ListDataSourcesResponse,ListDataSourcesPagedResponse>

updateDataSourceSettings()

public UnaryCallSettings.Builder<UpdateDataSourceRequest,DataSource> updateDataSourceSettings()

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

Returns
Type Description
Builder<UpdateDataSourceRequest,DataSource>