Class BusinessIdentityServiceStubSettings.Builder (0.9.0)

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

Builder for BusinessIdentityServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BusinessIdentityServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BusinessIdentityServiceStubSettings settings)

protected Builder(BusinessIdentityServiceStubSettings settings)
Parameter
Name Description
settings BusinessIdentityServiceStubSettings

Methods

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

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

build()

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

getBusinessIdentitySettings()

public UnaryCallSettings.Builder<GetBusinessIdentityRequest,BusinessIdentity> getBusinessIdentitySettings()

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

Returns
Type Description
Builder<GetBusinessIdentityRequest,BusinessIdentity>

unaryMethodSettingsBuilders()

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

updateBusinessIdentitySettings()

public UnaryCallSettings.Builder<UpdateBusinessIdentityRequest,BusinessIdentity> updateBusinessIdentitySettings()

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

Returns
Type Description
Builder<UpdateBusinessIdentityRequest,BusinessIdentity>