Class SqlTranslationServiceStubSettings.Builder (0.33.0)

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

Builder for SqlTranslationServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SqlTranslationServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SqlTranslationServiceStubSettings settings)

protected Builder(SqlTranslationServiceStubSettings settings)
Parameter
NameDescription
settingsSqlTranslationServiceStubSettings

Methods

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

public SqlTranslationServiceStubSettings.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