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\u003eThe \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class is a message returned by the \u003ccode\u003eSynthesizeSpeech\u003c/code\u003e method and is part of the Google Cloud Text-to-Speech API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for various functionalities like comparison, deep cloning, and message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eObject\u003c/code\u003e class, and contains members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that takes another \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a key property named \u003ccode\u003eAudioContent\u003c/code\u003e of type \u003ccode\u003eByteString\u003c/code\u003e that holds the audio data, which is encoded as specified in the request and it includes the header for containerized encodings.\u003c/p\u003e\n"]]],[],null,[]]