public sealed class SpeechRecognitionResult : IMessage<SpeechRecognitionResult>, IEquatable<SpeechRecognitionResult>, IDeepCloneable<SpeechRecognitionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Speech v1 API class SpeechRecognitionResult.
A speech recognition result corresponding to a portion of the audio.
public RepeatedField<SpeechRecognitionAlternative> Alternatives { get; }
May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives).
These alternatives are ordered in terms of accuracy, with the top (first)
alternative being the most probable, as ranked by the recognizer.
For multi-channel audio, this is the channel number corresponding to the
recognized result for the audio from that channel.
For audio_channel_count = N, its output values can range from '1' to 'N'.
Output only. The BCP-47
language tag of the language in this result. This language code was
detected to have the most likelihood of being spoken in the audio.
[[["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 webpage provides documentation for the \u003ccode\u003eSpeechRecognitionResult\u003c/code\u003e class within the Google Cloud Speech v1 API, with version 3.7.0 being the currently viewed version and 3.8.0 being the most recent release.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechRecognitionResult\u003c/code\u003e represents a portion of the audio, implemented as an IMessage and other interfaces, inheriting from the base object type.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties such as \u003ccode\u003eAlternatives\u003c/code\u003e, which offers recognition hypotheses in order of accuracy, \u003ccode\u003eChannelTag\u003c/code\u003e to identify the channel in multi-channel audio, \u003ccode\u003eLanguageCode\u003c/code\u003e for detected language, and \u003ccode\u003eResultEndTime\u003c/code\u003e for the end time of the result within the audio.\u003c/p\u003e\n"],["\u003cp\u003eThe SpeechRecognitionResult class also contains the ability to instantiate new SpeechRecognitionResult objects and duplicate them with pre-existing ones, using the constructor.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation page also contains links to other versions of the \u003ccode\u003eSpeechRecognitionResult\u003c/code\u003e class between versions 2.2.0 and 3.8.0.\u003c/p\u003e\n"]]],[],null,[]]