public abstract class TextToSpeechClient.StreamingSynthesizeStream : BidirectionalStreamingBase<StreamingSynthesizeRequest, StreamingSynthesizeResponse>, IDisposable
Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class TextToSpeechClient.StreamingSynthesizeStream.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTextToSpeechClient.StreamingSynthesizeStream\u003c/code\u003e class is an abstract class that facilitates bidirectional streaming for the Google Cloud Text-to-Speech v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports multiple versions of the API, with version 3.10.0 being the latest, and links to historical versions going back to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eBidirectionalStreamingBase<StreamingSynthesizeRequest, StreamingSynthesizeResponse>\u003c/code\u003e and implements the \u003ccode\u003eIDisposable\u003c/code\u003e interface, providing methods for managing streaming operations.\u003c/p\u003e\n"],["\u003cp\u003eKey methods include \u003ccode\u003eTryWriteAsync\u003c/code\u003e, \u003ccode\u003eWriteAsync\u003c/code\u003e, \u003ccode\u003eWriteCompleteAsync\u003c/code\u003e, and \u003ccode\u003eGetResponseStream\u003c/code\u003e, enabling data transmission and reception within the streaming process.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes the \u003ccode\u003eStreamingSynthesize\u003c/code\u003e method with settings to handle the bidirectional stream, allowing for real-time text-to-speech conversion.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Text-to-Speech v1 API - Class TextToSpeechClient.StreamingSynthesizeStream (3.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.10.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.9.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.8.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.7.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.6.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.5.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.4.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.3.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.2.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.1.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/3.0.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/2.5.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/2.4.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/2.3.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/2.2.0/Google.Cloud.TextToSpeech.V1.TextToSpeechClient.StreamingSynthesizeStream) \n\n public abstract class TextToSpeechClient.StreamingSynthesizeStream : BidirectionalStreamingBase\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\u003e, IDisposable\n\nReference documentation and code samples for the Google Cloud Text-to-Speech v1 API class TextToSpeechClient.StreamingSynthesizeStream.\n\nBidirectional streaming methods for\n[StreamingSynthesize(CallSettings, BidirectionalStreamingSettings)](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechClient#Google_Cloud_TextToSpeech_V1_TextToSpeechClient_StreamingSynthesize_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [BidirectionalStreamingBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html)[StreamingSynthesizeRequest](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.StreamingSynthesizeRequest)[StreamingSynthesizeResponse](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.StreamingSynthesizeResponse) \\\u003e TextToSpeechClient.StreamingSynthesizeStream \n\nImplements\n----------\n\n[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable) \n\nInherited Members\n-----------------\n\n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.TryWriteAsync(StreamingSynthesizeRequest)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_TryWriteAsync__0_) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.WriteAsync(StreamingSynthesizeRequest)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_WriteAsync__0_) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.TryWriteAsync(StreamingSynthesizeRequest, WriteOptions)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_TryWriteAsync__0_Grpc_Core_WriteOptions_) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.WriteAsync(StreamingSynthesizeRequest, WriteOptions)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_WriteAsync__0_Grpc_Core_WriteOptions_) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.TryWriteCompleteAsync()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_TryWriteCompleteAsync) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.WriteCompleteAsync()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_WriteCompleteAsync) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.GetResponseStream()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_GetResponseStream) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.Dispose()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_Dispose) \n[BidirectionalStreamingBase\\\u003cStreamingSynthesizeRequest, StreamingSynthesizeResponse\\\u003e.GrpcCall](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_GrpcCall) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.TextToSpeech.V1](/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.TextToSpeech.V1.dll"]]