Class LookupServiceStubSettings.Builder

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

Builder for LookupServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LookupServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(LookupServiceStubSettings settings)

protected Builder(LookupServiceStubSettings settings)
Parameter
NameDescription
settingsLookupServiceStubSettings

Methods

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

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

build()

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

resolveServiceSettings()

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

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

Returns
TypeDescription
Builder<ResolveServiceRequest,ResolveServiceResponse>

unaryMethodSettingsBuilders()

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