This interface defines virtual methods for each of the user-facing overload sets in LanguageServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type LanguageServiceClient.
[[["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-14 UTC."],[[["\u003cp\u003eThe latest release candidate version is 2.37.0-rc, with the most recent stable release being version 2.27.0, and other stable versions from 2.36.0 back to 2.11.0 are also listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e object provides virtual methods for the user-facing overload sets in \u003ccode\u003eLanguageServiceClient\u003c/code\u003e, allowing custom behavior injection for testing.\u003c/p\u003e\n"],["\u003cp\u003eYou can create an actual instance of the object using \u003ccode\u003eMakeLanguageServiceConnection()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eFor testing and mocking purposes, the \u003ccode\u003elanguage_v2_mocks::MockLanguageServiceConnection\u003c/code\u003e class is available.\u003c/p\u003e\n"],["\u003cp\u003eSeveral virtual functions are defined within \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e, such as \u003ccode\u003eAnalyzeSentiment\u003c/code\u003e, \u003ccode\u003eAnalyzeEntities\u003c/code\u003e, \u003ccode\u003eClassifyText\u003c/code\u003e, \u003ccode\u003eModerateText\u003c/code\u003e, and \u003ccode\u003eAnnotateText\u003c/code\u003e, each accepting a specific request type and returning a corresponding response type wrapped in a StatusOr object.\u003c/p\u003e\n"]]],[],null,[]]