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-04-07 UTC."],[[["The latest version of the UnaryCallSettings documentation is 2.63.1, with many other previous versions available for reference."],["`UnaryCallSettings` is a base class used to configure `UnaryCallable`, but it requires a derived type to create a `UnaryCallable` instance."],["Retry settings, composed of retryable codes and retry logic, are managed within the `UnaryCallSettings` class, and they can be turned off by setting the retryable codes to an empty set."],["The class provides methods for retrieving retry settings (`getRetrySettings`) and retryable codes (`getRetryableCodes`), along with methods for equality checks (`equals`), generating hash codes (`hashCode`), and converting to a builder (`toBuilder`)."],["The `UnaryCallSettings` class also offers static methods to construct a builder for creating instances of `UnaryCallSettings` objects."]]],[]]