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\u003eThis page provides documentation for the \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e object, specifically within version 2.16.0 of the C++ client library for Google Cloud Natural Language.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e interface defines virtual methods corresponding to each user-facing overload set found in \u003ccode\u003eLanguageServiceClient\u003c/code\u003e, enabling users to implement custom behaviors during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release is 2.37.0-rc, and the page provides a comprehensive list of historical versions, including links to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLanguageServiceConnection\u003c/code\u003e supports several core text analysis functions, such as \u003ccode\u003eAnalyzeSentiment\u003c/code\u003e, \u003ccode\u003eAnalyzeEntities\u003c/code\u003e, \u003ccode\u003eAnalyzeEntitySentiment\u003c/code\u003e, \u003ccode\u003eAnalyzeSyntax\u003c/code\u003e, \u003ccode\u003eClassifyText\u003c/code\u003e, \u003ccode\u003eModerateText\u003c/code\u003e, and \u003ccode\u003eAnnotateText\u003c/code\u003e, all as virtual functions.\u003c/p\u003e\n"],["\u003cp\u003eTo use the service, you can create a concrete \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e instance with \u003ccode\u003eMakeLanguageServiceConnection()\u003c/code\u003e or mock the implementation with \u003ccode\u003elanguage_v1_mocks::MockLanguageServiceConnection\u003c/code\u003e for testing.\u003c/p\u003e\n"]]],[],null,[]]