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"]],[["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\u003eUnaryCallSettings\u003c/code\u003e class in the Google API Client Libraries for Java, offering various versions of the class, from 2.7.1 up to the latest version 2.63.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnaryCallSettings\u003c/code\u003e is a base class used to configure a \u003ccode\u003eUnaryCallable\u003c/code\u003e, requiring a derived type for constructing a \u003ccode\u003eUnaryCallable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRetry settings, composed of retryable codes and retry settings, are configurable aspects within the \u003ccode\u003eUnaryCallSettings\u003c/code\u003e class, which define when and how retries should occur, which can also be disabled by setting the retryable codes to an empty set.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on inherited members from the \u003ccode\u003eObject\u003c/code\u003e class, along with type parameters, static methods, constructors, and methods such as \u003ccode\u003egetRetrySettings\u003c/code\u003e, \u003ccode\u003egetRetryableCodes\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, \u003ccode\u003etoBuilder\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes the \u003ccode\u003eUnaryCallSettings.Builder\u003c/code\u003e class, which can not be used to create an instance of \u003ccode\u003eUnaryCallSettings\u003c/code\u003e because it is an abstract class.\u003c/p\u003e\n"]]],[],null,[]]