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 lists the versions of `UnaryCallSettings` from version 2.19.6 up to the latest version, 2.63.1, in reverse chronological order, with links to each version's documentation."],["`UnaryCallSettings` is a base class used for configuring a `UnaryCallable` within the Java API, but it is abstract and needs a derived type for implementation."],["The class includes settings for retry configurations, allowing control over which error codes trigger retries and the logic for how those retries are executed."],["The class provides methods for managing retry settings, including `getRetrySettings()` and `getRetryableCodes()`, allowing users to configure retry behavior for unary calls."],["`UnaryCallSettings` provides a builder class `UnaryCallSettings.Builder`, to facilitate the creation of instances, and also provides several methods to modify and create new instances such as `newUnaryCallSettingsBuilder()` and `toBuilder()`."]]],[]]