Set how long to wait before considering the stream orphaned by the user and closing it.
java.time.Duration#ZERO disables the check for abandoned streams.
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 the \u003ccode\u003eServerStreamingCallSettings.Builder\u003c/code\u003e class in the Google API Client Libraries for Java (gax) library, with the current version documented being 2.54.1.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of available versions, ranging from the latest 2.63.1 down to version 2.7.1, each linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServerStreamingCallSettings.Builder\u003c/code\u003e is used to configure settings for server-streaming calls, extending from \u003ccode\u003eStreamingCallSettings.Builder\u003c/code\u003e and inheriting its members and several methods.\u003c/p\u003e\n"],["\u003cp\u003eKey methods allow configuration of retry settings (\u003ccode\u003eretrySettings\u003c/code\u003e, \u003ccode\u003esetRetrySettings\u003c/code\u003e, \u003ccode\u003esetRetryableCodes\u003c/code\u003e), timeouts (\u003ccode\u003egetIdleTimeoutDuration\u003c/code\u003e, \u003ccode\u003esetIdleTimeoutDuration\u003c/code\u003e, \u003ccode\u003egetWaitTimeoutDuration\u003c/code\u003e, \u003ccode\u003esetWaitTimeoutDuration\u003c/code\u003e, \u003ccode\u003esetSimpleTimeoutNoRetriesDuration\u003c/code\u003e), and stream resumption behavior (\u003ccode\u003egetResumptionStrategy\u003c/code\u003e, \u003ccode\u003esetResumptionStrategy\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetIdleTimeout\u003c/code\u003e and \u003ccode\u003egetWaitTimeout\u003c/code\u003e and the related \u003ccode\u003eset\u003c/code\u003e methods are labeled as obsolete, instead directing users to \u003ccode\u003egetIdleTimeoutDuration\u003c/code\u003e, \u003ccode\u003egetWaitTimeoutDuration\u003c/code\u003e, \u003ccode\u003esetIdleTimeoutDuration\u003c/code\u003e, and \u003ccode\u003esetWaitTimeoutDuration\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]