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, enabling interaction with the Google Cloud Natural Language API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e interface provides virtual methods for various text analysis functions, including sentiment analysis, entity analysis, syntax analysis, text classification, text moderation, and text annotation.\u003c/p\u003e\n"],["\u003cp\u003eUsers can inject custom behavior into tests using \u003ccode\u003eLanguageServiceClient\u003c/code\u003e by utilizing this interface, especially with Google Mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides links to concrete implementation creation (\u003ccode\u003eMakeLanguageServiceConnection()\u003c/code\u003e) and mocking (\u003ccode\u003eMockLanguageServiceConnection\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version in this document is 2.37.0-rc, with a comprehensive list of versions ranging down to 2.11.0, each corresponding to a specific \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]