Google Cloud Speech v1p1beta1 API - Class StreamingRecognizeRequest (3.0.0-beta07)

public sealed class StreamingRecognizeRequest : IMessage<StreamingRecognizeRequest>, IEquatable<StreamingRecognizeRequest>, IDeepCloneable<StreamingRecognizeRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Speech v1p1beta1 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.

Inheritance

object > StreamingRecognizeRequest

Namespace

Google.Cloud.Speech.V1P1Beta1

Assembly

Google.Cloud.Speech.V1P1Beta1.dll

Constructors

StreamingRecognizeRequest()

public StreamingRecognizeRequest()

StreamingRecognizeRequest(StreamingRecognizeRequest)

public StreamingRecognizeRequest(StreamingRecognizeRequest other)
Parameter
Name Description
other StreamingRecognizeRequest

Properties

AudioContent

public ByteString AudioContent { get; set; }

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.

Property Value
Type Description
ByteString

HasAudioContent

public bool HasAudioContent { get; }

Gets whether the "audio_content" field is set

Property Value
Type Description
bool

StreamingConfig

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.

Property Value
Type Description
StreamingRecognitionConfig

StreamingRequestCase

public StreamingRecognizeRequest.StreamingRequestOneofCase StreamingRequestCase { get; }
Property Value
Type Description
StreamingRecognizeRequestStreamingRequestOneofCase