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-03-21 UTC."],[[["This webpage provides documentation for `UnaryCallSettings`, a base settings class used to configure `UnaryCallable` in Java."],["The page lists various versions of `UnaryCallSettings`, ranging from the latest version 2.63.1 down to version 2.7.1, and the current version shown is 2.42.0."],["`UnaryCallSettings` allows for configuration of retry settings, including retryable codes and retry logic, with the option to disable retries by setting retryable codes to an empty set."],["A concrete builder class `UnaryCallSettings.Builder` is available, but cannot be directly used to create an instance of `UnaryCallSettings` because `UnaryCallSettings` is abstract."],["`UnaryCallSettings` offers methods to get retry settings (`getRetrySettings`), retryable codes (`getRetryableCodes`), and also contains methods to handle equality (`equals`), hash code generation (`hashCode`) and convert to builder (`toBuilder`)."]]],[]]