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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThe document provides a comprehensive list of available versions for the \u003ccode\u003eStubSettings.Builder\u003c/code\u003e class, ranging from the latest version 2.63.1 down to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStubSettings.Builder\u003c/code\u003e is an abstract class in the \u003ccode\u003ecom.google.api.gax.rpc\u003c/code\u003e package that inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and is designed to be used for constructing \u003ccode\u003eStubSettings\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThis builder class offers various methods for configuring settings such as background executor, clock, credentials, endpoint, headers, and watchdog providers, which are essential for customizing API client behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild()\u003c/code\u003e method is used to create an instance of \u003ccode\u003eStubSettings\u003c/code\u003e, although it might throw an \u003ccode\u003eIOException\u003c/code\u003e if an error occurs during the building process.\u003c/p\u003e\n"],["\u003cp\u003eDeprecated methods, such as \u003ccode\u003egetExecutorProvider()\u003c/code\u003e and \u003ccode\u003esetExecutorProvider()\u003c/code\u003e, are noted and users are encouraged to use \u003ccode\u003egetBackgroundExecutorProvider()\u003c/code\u003e and \u003ccode\u003esetBackgroundExecutorProvider()\u003c/code\u003e in place of them for running scheduled API call logic.\u003c/p\u003e\n"]]],[],null,[]]