public sealed class StreamingRecognizeRequest : IMessage<StreamingRecognizeRequest>, IEquatable<StreamingRecognizeRequest>, IDeepCloneable<StreamingRecognizeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Speech v1 API class StreamingRecognizeRequest.
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 in the Google Cloud Speech v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe first \u003ccode\u003eStreamingRecognizeRequest\u003c/code\u003e message must include a \u003ccode\u003estreaming_config\u003c/code\u003e but not \u003ccode\u003eaudio_content\u003c/code\u003e, while subsequent messages must include \u003ccode\u003eaudio_content\u003c/code\u003e and not \u003ccode\u003estreaming_config\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that accepts another \u003ccode\u003eStreamingRecognizeRequest\u003c/code\u003e object, and contains properties for \u003ccode\u003eAudioContent\u003c/code\u003e as \u003ccode\u003eByteString\u003c/code\u003e, \u003ccode\u003eStreamingConfig\u003c/code\u003e as \u003ccode\u003eStreamingRecognitionConfig\u003c/code\u003e, and \u003ccode\u003eStreamingRequestCase\u003c/code\u003e for managing message content.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version in the documents is 3.8.0 and there are versions ranging from 2.2.0 to 3.8.0 listed, where each link relates to the Google.Cloud.Speech.V1.StreamingRecognizeRequest.\u003c/p\u003e\n"]]],[],null,[]]