public sealed class SynthesizeSpeechResponse : IMessage<SynthesizeSpeechResponse>, IEquatable<SynthesizeSpeechResponse>, IDeepCloneable<SynthesizeSpeechResponse>, IBufferMessage, IMessage
The message returned to the client by the SynthesizeSpeech method.
The audio data bytes encoded as specified in the request, including the
header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
For LINEAR16 audio, we include the WAV header. Note: as
with all bytes fields, protobuffers use a pure binary representation,
whereas JSON representations use base64.
[[["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-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class, which is the message returned by the \u003ccode\u003eSynthesizeSpeech\u003c/code\u003e method in the Google Cloud Text-to-Speech API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e is 3.10.0, and versions ranging from 3.9.0 to 2.2.0 are available for review and use.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class inherits from Object and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor that allows for the creation of a new instance or cloning from an existing \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e object, with an \u003ccode\u003eother\u003c/code\u003e parameter of the same type to clone.\u003c/p\u003e\n"],["\u003cp\u003eThe main property of the class is \u003ccode\u003eAudioContent\u003c/code\u003e which is a \u003ccode\u003eByteString\u003c/code\u003e that contains the synthesized audio data.\u003c/p\u003e\n"]]],[],null,[]]