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 Cloud API client library for Java, with the latest version being 2.63.1 and a list of available versions ranging from 2.63.1 down to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStubSettings\u003c/code\u003e is a base settings class used to configure a client stub, which includes settings for executor creation, credentials, transport settings, and HTTP header identifiers.\u003c/p\u003e\n"],["\u003cp\u003eIf no \u003ccode\u003eExecutorProvider\u003c/code\u003e is set, the \u003ccode\u003eInstantiatingExecutorProvider\u003c/code\u003e will be used by default, creating a default executor.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers various methods to manage settings such as API keys, background executor, clock, credentials, endpoint, header, stream watchdog, tracer factory, and transport channel providers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStubSettings\u003c/code\u003e class also includes methods for retrieving the API service name, MTLS endpoint, quota project ID, universe domain and a way to convert settings to a builder.\u003c/p\u003e\n"]]],[],null,[]]