Class BusinessInfoServiceSettings.Builder (0.10.0)

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

Builder for BusinessInfoServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BusinessInfoServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BusinessInfoServiceSettings settings)

protected Builder(BusinessInfoServiceSettings settings)
Parameter
Name Description
settings BusinessInfoServiceSettings

Builder(BusinessInfoServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getBusinessInfoSettings()

public UnaryCallSettings.Builder<GetBusinessInfoRequest,BusinessInfo> getBusinessInfoSettings()

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

Returns
Type Description
Builder<GetBusinessInfoRequest,BusinessInfo>

getStubSettingsBuilder()

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

updateBusinessInfoSettings()

public UnaryCallSettings.Builder<UpdateBusinessInfoRequest,BusinessInfo> updateBusinessInfoSettings()

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

Returns
Type Description
Builder<UpdateBusinessInfoRequest,BusinessInfo>