Class TetherSettings.Builder (2.95.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(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.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