public static class LookupServiceSettings.Builder extends ClientSettings.Builder<LookupServiceSettings,LookupServiceSettings.Builder>
Builder for LookupServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(LookupServiceSettings settings)
protected Builder(LookupServiceSettings settings)
Name | Description |
settings | LookupServiceSettings |
Builder(LookupServiceStubSettings.Builder stubSettings)
protected Builder(LookupServiceStubSettings.Builder stubSettings)
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
LookupServiceSettings.Builder |
build()
public LookupServiceSettings build()
Type | Description |
LookupServiceSettings |
Type | Description |
IOException |
getStubSettingsBuilder()
public LookupServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
LookupServiceStubSettings.Builder |
resolveServiceSettings()
public UnaryCallSettings.Builder<ResolveServiceRequest,ResolveServiceResponse> resolveServiceSettings()
Returns the builder for the settings used for calls to resolveService.
Type | Description |
Builder<ResolveServiceRequest,ResolveServiceResponse> |