Class GatewayControlStubSettings.Builder (0.1.0)

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

Builder for GatewayControlStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GatewayControlStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GatewayControlStubSettings settings)

protected Builder(GatewayControlStubSettings settings)
Parameter
Name Description
settings GatewayControlStubSettings

Methods

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

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

build()

public GatewayControlStubSettings build()
Returns
Type Description
GatewayControlStubSettings
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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>