A base settings class to configure a client stub class.
This base class includes settings that are applicable to all services, which includes things
like settings for creating an executor, credentials, transport-specific settings, and identifiers
for http headers.
If no ExecutorProvider is set, then InstantiatingExecutorProvider will be used, which creates
a default executor.
Marked with Internal Api and meant to overriden by the generated subclasses. This getter is
used to set the serviceName to the EndpointContext. The value in generated StubSettings
subclasses comes from the proto files.
This should be effectively treated as an abstract method.
[[["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 webpage provides documentation for the `StubSettings` class in the Google API Client Library for Java (gax)."],["The latest version of `StubSettings` is 2.63.1, and there are multiple previous versions available for reference, ranging from 2.62.0 down to 2.7.1."],["`StubSettings` is an abstract class that is used as a base for configuring a client stub class, with settings applicable to all services like executor creation, credentials, transport settings, and HTTP header identifiers."],["The `StubSettings` class manages the configuration of various components, such as API keys, background executors, credentials, endpoints, headers, watchdog providers, tracers, and transport channels."],["There are various methods detailed on this page that are used for configuring the settings of the client stub class, including but not limited to the methods getApiKey(), getCredentialsProvider(), and getEndpoint()."]]],[]]