Class QueryServiceSettings.Builder (3.28.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
NameDescription
clientContextClientContext

Builder(QueryServiceSettings settings)

protected Builder(QueryServiceSettings settings)
Parameter
NameDescription
settingsQueryServiceSettings

Builder(QueryServiceStubSettings.Builder stubSettings)

protected Builder(QueryServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsQueryServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
QueryServiceSettings.Builder

build()

public QueryServiceSettings build()
Returns
TypeDescription
QueryServiceSettings
Overrides
Exceptions
TypeDescription
IOException

getStubSettingsBuilder()

public QueryServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
QueryServiceStubSettings.Builder

queryTimeSeriesSettings()

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

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

Returns
TypeDescription
Builder<QueryTimeSeriesRequest,QueryTimeSeriesResponse,QueryTimeSeriesPagedResponse>