Class LookupServiceSettings.Builder

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

Builder for LookupServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > LookupServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(LookupServiceSettings settings)

protected Builder(LookupServiceSettings settings)
Parameter
NameDescription
settingsLookupServiceSettings

Builder(LookupServiceStubSettings.Builder stubSettings)

protected Builder(LookupServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsLookupServiceStubSettings.Builder

Methods

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

public LookupServiceSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
LookupServiceSettings.Builder

build()

public LookupServiceSettings build()
Returns
TypeDescription
LookupServiceSettings
Overrides Exceptions
TypeDescription
IOException

getStubSettingsBuilder()

public LookupServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
LookupServiceStubSettings.Builder

resolveServiceSettings()

public UnaryCallSettings.Builder<ResolveServiceRequest,ResolveServiceResponse> resolveServiceSettings()

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

Returns
TypeDescription
Builder<ResolveServiceRequest,ResolveServiceResponse>