public sealed class StreamingDetectIntentResponse : IMessage<StreamingDetectIntentResponse>, IEquatable<StreamingDetectIntentResponse>, IDeepCloneable<StreamingDetectIntentResponse>, IBufferMessage, IMessage
The top-level message returned from the StreamingDetectIntent
method.
Multiple response messages can be returned in order:
If the input was set to streaming audio, the first one or more messages contain
recognition_result
. Eachrecognition_result
represents a more complete transcript of what the user said. The lastrecognition_result
hasis_final
set totrue
.The last message contains
detect_intent_response
.
Inheritance
System.Object > StreamingDetectIntentResponseImplements
Google.Protobuf.IMessage<StreamingDetectIntentResponse>, System.IEquatable<StreamingDetectIntentResponse>, Google.Protobuf.IDeepCloneable<StreamingDetectIntentResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
StreamingDetectIntentResponse()
public StreamingDetectIntentResponse()
StreamingDetectIntentResponse(StreamingDetectIntentResponse)
public StreamingDetectIntentResponse(StreamingDetectIntentResponse other)
Parameter | |
---|---|
Name | Description |
other | StreamingDetectIntentResponse |
Properties
DetectIntentResponse
public DetectIntentResponse DetectIntentResponse { get; set; }
The response from detect intent.
Property Value | |
---|---|
Type | Description |
DetectIntentResponse |
RecognitionResult
public StreamingRecognitionResult RecognitionResult { get; set; }
The result of speech recognition.
Property Value | |
---|---|
Type | Description |
StreamingRecognitionResult |
ResponseCase
public StreamingDetectIntentResponse.ResponseOneofCase ResponseCase { get; }
Property Value | |
---|---|
Type | Description |
StreamingDetectIntentResponse.ResponseOneofCase |