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 document provides reference documentation for the \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class within the Google Cloud Text-to-Speech v1 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e is a message type returned by the \u003ccode\u003eSynthesizeSpeech\u003c/code\u003e method, serving as a container for the synthesized audio data.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.TextToSpeech.V1\u003c/code\u003e namespace and is available in versions ranging from 2.2.0 to 3.10.0, with 3.10.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class contains a property called \u003ccode\u003eAudioContent\u003c/code\u003e, which is of type \u003ccode\u003eByteString\u003c/code\u003e and represents the audio data bytes produced by the Text-to-Speech API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<SynthesizeSpeechResponse>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<SynthesizeSpeechResponse>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]