Class BusinessIdentityServiceSettings.Builder (0.1.0)

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

Builder for BusinessIdentityServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BusinessIdentityServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BusinessIdentityServiceSettings settings)

protected Builder(BusinessIdentityServiceSettings settings)
Parameter
Name Description
settings BusinessIdentityServiceSettings

Builder(BusinessIdentityServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

public BusinessIdentityServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
BusinessIdentityServiceStubSettings.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>