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-03-21 UTC."],[[["This webpage provides documentation for various versions of the `StubSettings.Builder` class within the Google API Client Library for Java, specifically for version 2.20.1 and below, with the latest being 2.63.1."],["The `StubSettings.Builder` class is an abstract static class, extending from `java.lang.Object`, designed for constructing `StubSettings` objects in the Google API Client Library."],["The page lists numerous versions of the `StubSettings.Builder` class, ranging from version 2.7.1 to the latest version 2.63.1, with links to detailed documentation for each."],["The `StubSettings.Builder` class provides methods for configuring various aspects of API calls, including setting providers for executors, credentials, headers, clocks, and transport channels, as well as managing endpoints and watchdog services."],["A key method of this class is `build()`, which is used to construct and return a `StubSettings` object, and it includes several setter methods for configuring the builder instance and handling different aspects of the API client settings."]]],[]]