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 outlines the \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e interface for the \u003ccode\u003eLanguageServiceClient\u003c/code\u003e, providing access to various language analysis features.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e interface includes virtual methods like \u003ccode\u003eAnalyzeSentiment\u003c/code\u003e, \u003ccode\u003eAnalyzeEntities\u003c/code\u003e, \u003ccode\u003eAnalyzeSyntax\u003c/code\u003e, \u003ccode\u003eClassifyText\u003c/code\u003e, \u003ccode\u003eModerateText\u003c/code\u003e, \u003ccode\u003eAnnotateText\u003c/code\u003e, and more for interacting with the Language API.\u003c/p\u003e\n"],["\u003cp\u003eIt defines virtual methods that correspond to each user-facing overload set within \u003ccode\u003eLanguageServiceClient\u003c/code\u003e, which enables the injection of custom behavior for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e is 2.37.0-rc, with a range of previous versions available, including 2.21.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeLanguageServiceConnection()\u003c/code\u003e can be used to create a concrete instance and \u003ccode\u003eMockLanguageServiceConnection\u003c/code\u003e can be used for mocking.\u003c/p\u003e\n"]]],[],null,[]]