public sealed class StreamingRecognizeRequest : IMessage<StreamingRecognizeRequest>, IEquatable<StreamingRecognizeRequest>, IDeepCloneable<StreamingRecognizeRequest>, IBufferMessage, IMessage
The top-level message sent by the client for the StreamingRecognize method.
Multiple StreamingRecognizeRequest messages are sent. The first message
must contain a streaming_config message and must not contain
audio_content. All subsequent messages must contain audio_content and
must not contain a streaming_config message.
The audio data to be recognized. Sequential chunks of audio data are sent
in sequential StreamingRecognizeRequest messages. The first
StreamingRecognizeRequest message must not contain audio_content data
and all subsequent StreamingRecognizeRequest messages must contain
audio_content data. The audio bytes must be encoded as specified in
RecognitionConfig. Note: as with all bytes fields, proto buffers use a
pure binary representation (not base64). See
content limits.
public StreamingRecognitionConfig StreamingConfig { get; set; }
Provides information to the recognizer that specifies how to process the
request. The first StreamingRecognizeRequest message must contain a
streaming_config message.
[[["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\u003eStreamingRecognizeRequest\u003c/code\u003e class is the top-level message sent by clients for the \u003ccode\u003eStreamingRecognize\u003c/code\u003e method, where the initial message must contain a \u003ccode\u003estreaming_config\u003c/code\u003e and subsequent messages contain \u003ccode\u003eaudio_content\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage<StreamingRecognizeRequest>\u003c/code\u003e, \u003ccode\u003eIEquatable<StreamingRecognizeRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<StreamingRecognizeRequest>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStreamingRecognizeRequest\u003c/code\u003e class offers two constructors, a default constructor and a copy constructor that accepts another \u003ccode\u003eStreamingRecognizeRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eStreamingRecognizeRequest\u003c/code\u003e class include \u003ccode\u003eAudioContent\u003c/code\u003e which is of type \u003ccode\u003eByteString\u003c/code\u003e and contains the audio data, as well as \u003ccode\u003eStreamingConfig\u003c/code\u003e of type \u003ccode\u003eStreamingRecognitionConfig\u003c/code\u003e which provides details on how to process the request.\u003c/p\u003e\n"],["\u003cp\u003eThere are various available versions of this object, from 2.2.0 to 3.8.0, with 3.8.0 being the latest release at the top of this list.\u003c/p\u003e\n"]]],[],null,[]]