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-09-04 UTC."],[[["\u003cp\u003eThe webpage provides documentation for various versions of \u003ccode\u003eStubSettings.Builder\u003c/code\u003e, ranging from version 2.7.1 up to the latest 2.63.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStubSettings.Builder\u003c/code\u003e is an abstract class that extends \u003ccode\u003ejava.lang.Object\u003c/code\u003e and is used for configuring settings for API stubs, and it has methods for setting and getting different components such as credentials, endpoints, and executors.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides static methods like \u003ccode\u003eapplyToAllUnaryMethods\u003c/code\u003e to apply settings to multiple method settings builders, as well as methods to set providers for executors, credentials, and headers.\u003c/p\u003e\n"],["\u003cp\u003eThere are deprecated methods, such as \u003ccode\u003egetExecutorProvider\u003c/code\u003e and \u003ccode\u003esetExecutorProvider\u003c/code\u003e, that have been replaced by \u003ccode\u003egetBackgroundExecutorProvider\u003c/code\u003e and \u003ccode\u003esetBackgroundExecutorProvider\u003c/code\u003e, respectively, for clarity and better management of executors.\u003c/p\u003e\n"],["\u003cp\u003eThe builder also contains methods for setting the interval between stream watchdog checks as well as setting the watchdog provider itself.\u003c/p\u003e\n"]]],[],null,[]]