Class StreamingDetectIntentResponse (1.0.0)

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:

  1. If the input was set to streaming audio, the first one or more messages contain recognition_result. Each recognition_result represents a more complete transcript of what the user said. The last recognition_result has is_final set to true.

  2. The last message contains detect_intent_response.

Inheritance

System.Object > StreamingDetectIntentResponse

Implements

Google.Protobuf.IMessage<StreamingDetectIntentResponse>, System.IEquatable<StreamingDetectIntentResponse>, Google.Protobuf.IDeepCloneable<StreamingDetectIntentResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

StreamingDetectIntentResponse()

public StreamingDetectIntentResponse()

StreamingDetectIntentResponse(StreamingDetectIntentResponse)

public StreamingDetectIntentResponse(StreamingDetectIntentResponse other)
Parameter
NameDescription
otherStreamingDetectIntentResponse

Properties

DetectIntentResponse

public DetectIntentResponse DetectIntentResponse { get; set; }

The response from detect intent.

Property Value
TypeDescription
DetectIntentResponse

RecognitionResult

public StreamingRecognitionResult RecognitionResult { get; set; }

The result of speech recognition.

Property Value
TypeDescription
StreamingRecognitionResult

ResponseCase

public StreamingDetectIntentResponse.ResponseOneofCase ResponseCase { get; }
Property Value
TypeDescription
StreamingDetectIntentResponse.ResponseOneofCase