[[["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-14 UTC."],[[["This document provides information on the `CompletionServiceLimitedErrorCountRetryPolicy`, a class that manages retry attempts for the `CompletionServiceConnection` in the Google Cloud Discovery Engine C++ library."],["The retry policy will halt if a non-transient error occurs or if the number of transient failures exceeds a predefined limit, and it treats `kUnavailable` status codes as transient errors."],["The `CompletionServiceLimitedErrorCountRetryPolicy` allows the setting of `maximum_failures`, which defines how many transient errors are tolerated, with a setting of 0 disabling retries."],["The policy includes functions to determine if retries are exhausted (`IsExhausted`), if a failure is permanent (`IsPermanentFailure`), and to retrieve the maximum allowed failures (`maximum_failures()`)."],["This policy offers the ability to create a new instance, effectively resetting the state of the retry policy, through its `clone()` method."]]],[]]