Class TetherSettings.Builder (2.44.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
Name Description
clientContext ClientContext

Builder(TetherSettings settings)

protected Builder(TetherSettings settings)
Parameter
Name Description
settings TetherSettings

Builder(TetherStubSettings.Builder stubSettings)

protected Builder(TetherStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TetherStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
TetherSettings.Builder

build()

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

egressSettings()

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

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

Returns
Type Description
Builder<EgressResponse,EgressRequest>

getStubSettingsBuilder()

public TetherStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TetherStubSettings.Builder