Class LookupServiceSettings.Builder (2.49.0)

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

Builder(LookupServiceSettings settings)

protected Builder(LookupServiceSettings settings)
Parameter
Name Description
settings LookupServiceSettings

Builder(LookupServiceStubSettings.Builder stubSettings)

protected Builder(LookupServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings LookupServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
LookupServiceSettings.Builder

build()

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

getStubSettingsBuilder()

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

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>