Class FeaturestoreOnlineServingServiceStubSettings.Builder (2.7.4)

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

Builder for FeaturestoreOnlineServingServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FeaturestoreOnlineServingServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FeaturestoreOnlineServingServiceStubSettings settings)

protected Builder(FeaturestoreOnlineServingServiceStubSettings settings)
Parameter
NameDescription
settingsFeaturestoreOnlineServingServiceStubSettings

Methods

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

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

build()

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

readFeatureValuesSettings()

public UnaryCallSettings.Builder<ReadFeatureValuesRequest,ReadFeatureValuesResponse> readFeatureValuesSettings()

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

Returns
TypeDescription
Builder<ReadFeatureValuesRequest,ReadFeatureValuesResponse>

streamingReadFeatureValuesSettings()

public ServerStreamingCallSettings.Builder<StreamingReadFeatureValuesRequest,ReadFeatureValuesResponse> streamingReadFeatureValuesSettings()

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

Returns
TypeDescription
Builder<StreamingReadFeatureValuesRequest,ReadFeatureValuesResponse>

unaryMethodSettingsBuilders()

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