Class QueryServiceStubSettings.Builder (3.46.0)

public static class QueryServiceStubSettings.Builder extends StubSettings.Builder<QueryServiceStubSettings,QueryServiceStubSettings.Builder>

Builder for QueryServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > QueryServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(QueryServiceStubSettings settings)

protected Builder(QueryServiceStubSettings settings)
Parameter
Name Description
settings QueryServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>