Class LookupServiceStubSettings.Builder (2.54.0)

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
Name Description
clientContext ClientContext

Builder(LookupServiceStubSettings settings)

protected Builder(LookupServiceStubSettings settings)
Parameter
Name Description
settings LookupServiceStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
LookupServiceStubSettings.Builder

build()

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

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,LookupServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

resolveServiceSettings()

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

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

Returns
Type Description
Builder<ResolveServiceRequest,ResolveServiceResponse>

unaryMethodSettingsBuilders()

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