public sealed class QueryInput : IMessage<QueryInput>, IEquatable<QueryInput>, IDeepCloneable<QueryInput>, IBufferMessage, IMessage
Represents the query input. It can contain either:
An audio config which instructs the speech recognizer how to process the speech audio.
A conversational query in the form of text,.
An event that specifies which intent to trigger.
Implements
IMessage<QueryInput>, IEquatable<QueryInput>, IDeepCloneable<QueryInput>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
QueryInput()
public QueryInput()
QueryInput(QueryInput)
public QueryInput(QueryInput other)
Parameter | |
---|---|
Name | Description |
other | QueryInput |
Properties
AudioConfig
public InputAudioConfig AudioConfig { get; set; }
Instructs the speech recognizer how to process the speech audio.
Property Value | |
---|---|
Type | Description |
InputAudioConfig |
Event
public EventInput Event { get; set; }
The event to be processed.
Property Value | |
---|---|
Type | Description |
EventInput |
InputCase
public QueryInput.InputOneofCase InputCase { get; }
Property Value | |
---|---|
Type | Description |
QueryInput.InputOneofCase |
Text
public TextInput Text { get; set; }
The natural language text to be processed.
Property Value | |
---|---|
Type | Description |
TextInput |