A base builder class for UnaryCallSettings. This class should not be used to create an
instance of the base class UnaryCallSettings. See the class documentation of UnaryCallSettings for a description of the different values that can be set, and for a
description of when this builder may be used. Builders for concrete derived classes can be used
to create instances of those classes.
Builds an instance of the containing class. This operation is unsupported on the abstract
base class UnaryCallSettings, but is valid on concrete derived classes.
When using the method, make sure that the RetrySettings are complete. For example,
the following code will disable retries because the retry delay is not set:
[[["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 various versions of \u003ccode\u003eUnaryCallSettings.Builder\u003c/code\u003e, a base builder class for \u003ccode\u003eUnaryCallSettings\u003c/code\u003e in the Google API Client Libraries for Java, with the most recent version being 2.63.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnaryCallSettings.Builder\u003c/code\u003e is not meant to create instances of the base \u003ccode\u003eUnaryCallSettings\u003c/code\u003e class, but is used to build concrete derived classes.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers inherited members from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and provides details on constructors, type parameters, and methods such as \u003ccode\u003ebuild()\u003c/code\u003e, \u003ccode\u003egetRetrySettings()\u003c/code\u003e, and \u003ccode\u003esetRetrySettings()\u003c/code\u003e, amongst others.\u003c/p\u003e\n"],["\u003cp\u003eThe methods of \u003ccode\u003eUnaryCallSettings.Builder\u003c/code\u003e provide a way to configure settings like timeouts, and set or replace retry settings and retryable codes.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation references the use of \u003ccode\u003eRetrySettings\u003c/code\u003e and \u003ccode\u003eStatusCode.Code\u003c/code\u003e for handling retries, and also includes an obsolete method warning regarding the old \u003ccode\u003esetSimpleTimeoutNoRetries\u003c/code\u003e in favor of \u003ccode\u003esetSimpleTimeoutNoRetriesDuration\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]