the resolved endpoint when the Builder was created. If invoked after
StubSettings.newBuilder() is called, it will return the clientSettingsEndpoint value.
If other parameters are then set in the builder, the resolved endpoint is not
automatically updated. The resolved endpoint will only be recomputed when the
StubSettings is built again.
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 API audience used by com.google.auth.oauth2.GdchCredentials It cannot be
used if other type of com.google.auth.Credentials is used. If the provided
credentials already have an api audience set, 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-03-21 UTC."],[[["This document details the `StubSettings.Builder` class within the Google API Client Library for Java, providing methods for configuring various aspects of API client behavior."],["The latest version available is 2.63.1, and there is a list of previous versions all the way back to 2.7.1 with their corresponding links."],["The `StubSettings.Builder` class has inherited members from the `java.lang.Object` class and offers methods for setting properties like the executor, clock, credentials, endpoints, headers, and transport channel provider."],["The class has protected constructors for creating new builders and static methods such as `applyToAllUnaryMethods` to apply updates to settings."],["It supports advanced features such as setting up stream watchdogs, API tracing, and managing GDCH API audiences, along with deprecated methods such as `getExecutorProvider` and `setExecutorProvider`."]]],[]]