Class FeaturestoreOnlineServingServiceSettings.Builder (2.4.0)

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

Builder for FeaturestoreOnlineServingServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FeaturestoreOnlineServingServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FeaturestoreOnlineServingServiceSettings settings)

protected Builder(FeaturestoreOnlineServingServiceSettings settings)
Parameter
NameDescription
settingsFeaturestoreOnlineServingServiceSettings

Builder(FeaturestoreOnlineServingServiceStubSettings.Builder stubSettings)

protected Builder(FeaturestoreOnlineServingServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsFeaturestoreOnlineServingServiceStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>