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"]],[["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\u003eThis webpage provides documentation for the \u003ccode\u003eStubSettings\u003c/code\u003e class in the Google API Client Library for Java (gax).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eStubSettings\u003c/code\u003e is 2.63.1, and there are multiple previous versions available for reference, ranging from 2.62.0 down to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStubSettings\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStubSettings\u003c/code\u003e class manages the configuration of various components, such as API keys, background executors, credentials, endpoints, headers, watchdog providers, tracers, and transport channels.\u003c/p\u003e\n"],["\u003cp\u003eThere 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().\u003c/p\u003e\n"]]],[],null,[]]