This interface defines virtual methods for each of the user-facing overload sets in CompletionServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CompletionServiceClient.
[[["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-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eCompletionServiceConnection\u003c/code\u003e class, which serves as an interface defining virtual methods for \u003ccode\u003eCompletionServiceClient\u003c/code\u003e operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompletionServiceConnection\u003c/code\u003e class allows users to inject custom behaviors when writing tests using \u003ccode\u003eCompletionServiceClient\u003c/code\u003e objects, such as with Google Mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 2.37.0-rc, and documentation for older versions from 2.36.0 back to 2.11.0 is also available.\u003c/p\u003e\n"],["\u003cp\u003eThe class features functions such as \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eCompleteQuery()\u003c/code\u003e, \u003ccode\u003eImportCompletionData()\u003c/code\u003e and more, offering methods for managing operations related to retail completion services.\u003c/p\u003e\n"],["\u003cp\u003eConcrete instances of \u003ccode\u003eCompletionServiceConnection\u003c/code\u003e can be created using the \u003ccode\u003eMakeCompletionServiceConnection()\u003c/code\u003e function, and mock objects for testing can be found in \u003ccode\u003eretail_v2_mocks::MockCompletionServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]