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-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for various versions of \u003ccode\u003eUnaryCallSettings\u003c/code\u003e, a base settings class for configuring \u003ccode\u003eUnaryCallable\u003c/code\u003e in Java, with the latest version being 2.63.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnaryCallSettings\u003c/code\u003e configures retry behavior, including retryable codes and retry settings, where disabling retries is done by setting an empty set of retryable codes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnaryCallSettings\u003c/code\u003e class is abstract and cannot be instantiated directly; instead, a concrete derived type is needed, and it also contains a builder class for construction.\u003c/p\u003e\n"],["\u003cp\u003eThe page details the class structure, including inherited members from \u003ccode\u003eObject\u003c/code\u003e, type parameters \u003ccode\u003eRequestT\u003c/code\u003e and \u003ccode\u003eResponseT\u003c/code\u003e, static methods, constructors, and various methods such as \u003ccode\u003egetRetrySettings()\u003c/code\u003e and \u003ccode\u003egetRetryableCodes()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides links to the official Java documentation for inherited methods like \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e, in addition to links for various versions of the class.\u003c/p\u003e\n"]]],[],null,[]]