Class GatewayControlSettings.Builder (0.4.0)

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

Builder for GatewayControlSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GatewayControlSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GatewayControlSettings settings)

protected Builder(GatewayControlSettings settings)
Parameter
Name Description
settings GatewayControlSettings

Builder(GatewayControlStubSettings.Builder stubSettings)

protected Builder(GatewayControlStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings GatewayControlStubSettings.Builder

Methods

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

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

build()

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

generateCredentialsSettings()

public UnaryCallSettings.Builder<GenerateCredentialsRequest,GenerateCredentialsResponse> generateCredentialsSettings()

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

Returns
Type Description
Builder<GenerateCredentialsRequest,GenerateCredentialsResponse>

getStubSettingsBuilder()

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