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 document details the \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e interface, which defines virtual methods for each user-facing overload set in \u003ccode\u003eLanguageServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, while the current document focuses on version \u003ccode\u003e2.23.0\u003c/code\u003e of the \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e object for \u003ccode\u003eLanguageServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis interface enables custom behavior injection, particularly useful for testing \u003ccode\u003eLanguageServiceClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLanguageServiceConnection\u003c/code\u003e includes virtual methods like \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, among others.\u003c/p\u003e\n"],["\u003cp\u003eThere is a function \u003ccode\u003eMakeLanguageServiceConnection()\u003c/code\u003e to create a concrete instance of \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e, and another \u003ccode\u003eMockLanguageServiceConnection\u003c/code\u003e for testing purposes.\u003c/p\u003e\n"]]],[],null,[]]