Gets the ExecutorProvider that was previously set on this Builder. This ExecutorProvider is
to use for running asynchronous API call logic (such as retries and long-running operations).
This ExecutorProvider is not used to set the executor in TransportChannelProvider.
Deprecated.Please use #getBackgroundExecutorProvider() for getting the executor
provider that's used for running scheduled API call logic.
Gets the ExecutorProvider that was previously set on this Builder. This ExecutorProvider is
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 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 GDC-H api audience. This is intended only to be used with com.google.auth.oauth2.GdchCredentials If this field is set and other type of com.google.auth.Credentials is used then an IllegalArgumentException will be thrown.
If the provided credentials already have an api audience, then it will be overriden by this
audience
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 document details the `ClientSettings.Builder` class within the Google API Client Library for Java (gax) and its functionalities, presenting version information and links for various releases ranging from 2.63.1 down to 2.7.1."],["The `ClientSettings.Builder` class is used to create builders from `ClientSettings` or `StubSettings` objects, allowing for the configuration of settings for API clients, and extends from `java.lang.Object`."],["Key functionalities of this class include methods to set and get properties like `ExecutorProvider`, `CredentialsProvider`, `Endpoint`, `HeaderProvider`, `TransportChannelProvider`, and more, for customizing API call behavior and configurations."],["It offers a `build()` method to construct the final settings object and supports setting various aspects of client behavior, such as retry logic through `ApiClock`, custom headers, and the use of different providers."],["There are deprecated methods such as `getExecutorProvider()` and `setExecutorProvider()` in favor of newer alternatives like `getBackgroundExecutorProvider()` and `setBackgroundExecutorProvider()`, which specify the executor use case more clearly."]]],[]]