public sealed class SynthesizeSpeechResponse : IMessage<SynthesizeSpeechResponse>, IEquatable<SynthesizeSpeechResponse>, IDeepCloneable<SynthesizeSpeechResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class SynthesizeSpeechResponse.
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 latest version available for the \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class is 3.10.0, with multiple previous versions also documented, ranging down to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class is part of the Google Cloud Text-to-Speech v1 API and is used to return the result of the \u003ccode\u003eSynthesizeSpeech\u003c/code\u003e method to the client.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \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 \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class has two constructors, a default one and one that takes another \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e as a parameter, as well as the \u003ccode\u003eAudioContent\u003c/code\u003e property, which stores the generated audio as a \u003ccode\u003eByteString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]