Class QueryServiceSettings.Builder (3.48.0)

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

Builder for QueryServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > QueryServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(QueryServiceSettings settings)

protected Builder(QueryServiceSettings settings)
Parameter
Name Description
settings QueryServiceSettings

Builder(QueryServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

queryTimeSeriesSettings()

public PagedCallSettings.Builder<QueryTimeSeriesRequest,QueryTimeSeriesResponse,QueryServiceClient.QueryTimeSeriesPagedResponse> queryTimeSeriesSettings()

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

Returns
Type Description
Builder<QueryTimeSeriesRequest,QueryTimeSeriesResponse,QueryTimeSeriesPagedResponse>