Class BusinessInfoServiceStubSettings.Builder (0.5.0)

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

Builder for BusinessInfoServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BusinessInfoServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BusinessInfoServiceStubSettings settings)

protected Builder(BusinessInfoServiceStubSettings settings)
Parameter
Name Description
settings BusinessInfoServiceStubSettings

Methods

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

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

build()

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

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<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>