This interface defines virtual methods for each of the user-facing overload sets in TextToSpeechClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TextToSpeechClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e is 2.37.0-rc, with a list of previous versions dating back to 2.11.0 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextToSpeechConnection\u003c/code\u003e defines virtual methods for user-facing overload sets found in \u003ccode\u003eTextToSpeechClient\u003c/code\u003e, enabling the injection of custom behaviors for testing.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes functions like \u003ccode\u003eListVoices\u003c/code\u003e, \u003ccode\u003eSynthesizeSpeech\u003c/code\u003e, \u003ccode\u003eAsyncStreamingSynthesize\u003c/code\u003e, \u003ccode\u003eListOperations\u003c/code\u003e, and \u003ccode\u003eGetOperation\u003c/code\u003e, each handling specific requests and returning appropriate responses or streams.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeTextToSpeechConnection()\u003c/code\u003e is the method to create a concrete instance, while \u003ccode\u003etexttospeech_v1_mocks::MockTextToSpeechConnection\u003c/code\u003e is available for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]