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"]],[["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-03-21 UTC."],[[["The latest version of the `SynthesizeSpeechResponse` is 3.10.0, but this page is documenting version 2.3.0, with links to various older versions back to 2.2.0."],["`SynthesizeSpeechResponse` is a class that represents the message returned by the `SynthesizeSpeech` method to the client and it implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class `SynthesizeSpeechResponse` inherits from the `Object` class and has inherited members such as `GetHashCode()`, `GetType()`, `MemberwiseClone()`, and `ToString()`."],["There are two constructors available for `SynthesizeSpeechResponse`, a default constructor `SynthesizeSpeechResponse()`, and another that takes another `SynthesizeSpeechResponse` as a parameter, `SynthesizeSpeechResponse(SynthesizeSpeechResponse other)`."],["The `SynthesizeSpeechResponse` class contains a property, `AudioContent`, of type `ByteString`, which stores the audio data bytes, including headers for the specified encodings, and uses a pure binary representation for protobuffers, with base64 used in JSON representations."]]],[]]