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 outlines the available versions of `StubSettings.Builder`, ranging from the latest version 2.63.1 down to 2.7.1, each with a unique link to its documentation."],["The `StubSettings.Builder` class is an abstract static class designed for building `StubSettings` objects and is part of the `com.google.api.gax.rpc` package."],["The `StubSettings.Builder` class provides methods for configuring various aspects of API calls, such as setting the API key, credentials provider, executor, clock, endpoint, and header providers."],["The `StubSettings.Builder` class also includes methods for managing streaming RPC settings, including the stream watchdog provider and check interval, in addition to providing `build()` method for creating a new StubSettings instance."],["The document also highlights inherited members from `java.lang.Object`, such as `clone()`, `equals()`, `hashCode()`, and `toString()`, that are available in the `StubSettings.Builder` class."]]],[]]