Sets the ExecutorProvider to use for getting the executor to use for running asynchronous API
call logic (such as retries and long-running operations), and also to pass to the transport
settings if an executor is needed for the transport and it doesn't have its own executor
provider.
Sets the HeaderProvider for getting custom static headers for http requests. The header
provider will be called during client construction only once. The headers returned by the
provider will be cached and supplied as is for each request issued by the constructed client.
Some reserved headers can be overridden (e.g. Content-Type) or merged with the default value
(e.g. User-Agent) by the underlying transport layer.
Sets the HeaderProvider for getting internal (library-defined) static headers for http
requests. The header provider will be called during client construction only once. The
headers returned by the provider will be cached and supplied as is for each request issued by
the constructed client. Some reserved headers can be overridden (e.g. Content-Type) or merged
with the default value (e.g. User-Agent) by the underlying transport layer.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This webpage provides documentation for the `StubSettings.Builder` class in the Google API Client Library for Java (gax), spanning versions from 2.7.1 to 2.63.1, with the latest version being 2.63.1."],["The `StubSettings.Builder` class is used for constructing settings objects for API stubs, inheriting from `java.lang.Object` and supporting generic types `SettingsT` and `B`."],["The page details various methods available in the `StubSettings.Builder` class, including constructors, building, and configuration settings for API calls such as `getApiKey()`, `getCredentialsProvider()`, `setEndpoint()`, etc., and includes functionality for handling executors, headers, and tracing."],["It offers static and non-static methods, including `applyToAllUnaryMethods`, which allows for applying settings updates to multiple unary method builders, showcasing the class's versatility in managing API settings."],["A number of methods have been deprecated, in favor of newer and more specific methods for background tasks, such as `setBackgroundExecutorProvider` replacing `setExecutorProvider`."]]],[]]