A base settings class to configure a UnaryCallable. An instance of UnaryCallSettings is not
sufficient on its own to construct a UnaryCallable; a concrete derived type is necessary.
This base class includes settings that are applicable to all calls, which currently is just
retry settings.
Retry configuration is composed of two parts: the retryable codes, and the retry settings. The
retryable codes indicate which codes cause a retry to occur, and the retry settings configure the
retry logic when the retry needs to happen. To turn off retries, set the retryable codes to the
empty set.
UnaryCallSettings contains a concrete builder class, UnaryCallSettings.Builder. This
builder class cannot be used to create an instance of UnaryCallSettings, because
UnaryCallSettings is an abstract class.
[[["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-08-15 UTC."],[[["\u003cp\u003eThe latest version of UnaryCallSettings is 2.63.1, with numerous previous versions available, ranging down to 2.7.1, each with its own specific documentation link.\u003c/p\u003e\n"],["\u003cp\u003eUnaryCallSettings is a base settings class used to configure a UnaryCallable, however it cannot be used on its own to create a UnaryCallable, requiring a concrete derived type instead.\u003c/p\u003e\n"],["\u003cp\u003eRetry configuration in UnaryCallSettings is managed through retryable codes, indicating which codes trigger a retry, and retry settings, which define the retry logic, or retries can be disabled by setting the retryable codes to an empty set.\u003c/p\u003e\n"],["\u003cp\u003eUnaryCallSettings includes a builder class, UnaryCallSettings.Builder, but UnaryCallSettings is an abstract class, making it so the builder class is not used to create instances of it, but rather for derived types.\u003c/p\u003e\n"],["\u003cp\u003eKey methods within UnaryCallSettings include \u003ccode\u003egetRetrySettings()\u003c/code\u003e to obtain the current retry settings, \u003ccode\u003egetRetryableCodes()\u003c/code\u003e to view the set of codes that trigger retries, and \u003ccode\u003etoBuilder()\u003c/code\u003e to create a builder instance, as well as overridden methods for \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]