Class TetherSettings.Builder (2.33.0)

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

Builder for TetherSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TetherSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TetherSettings settings)

protected Builder(TetherSettings settings)
Parameter
NameDescription
settingsTetherSettings

Builder(TetherStubSettings.Builder stubSettings)

protected Builder(TetherStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTetherStubSettings.Builder

Methods

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

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

build()

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

egressSettings()

public StreamingCallSettings.Builder<EgressResponse,EgressRequest> egressSettings()

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

Returns
TypeDescription
Builder<EgressResponse,EgressRequest>

getStubSettingsBuilder()

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