Class QueryInput (1.3.0)

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

Represents the query input. It can contain one of:

  1. A conversational query in the form of text.

  2. An intent query that specifies which intent to trigger.

  3. Natural language speech audio to be processed.

  4. An event to be triggered.

Inheritance

Object > QueryInput

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

QueryInput()

public QueryInput()

QueryInput(QueryInput)

public QueryInput(QueryInput other)
Parameter
Name Description
other QueryInput

Properties

Audio

public AudioInput Audio { get; set; }

The natural language speech audio to be processed.

Property Value
Type Description
AudioInput

Dtmf

public DtmfInput Dtmf { get; set; }

The DTMF event to be handled.

Property Value
Type Description
DtmfInput

Event

public EventInput Event { get; set; }

The event to be triggered.

Property Value
Type Description
EventInput

InputCase

public QueryInput.InputOneofCase InputCase { get; }
Property Value
Type Description
QueryInput.InputOneofCase

Intent

public IntentInput Intent { get; set; }

The intent to be triggered.

Property Value
Type Description
IntentInput

LanguageCode

public string LanguageCode { get; set; }

Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

Property Value
Type Description
String

Text

public TextInput Text { get; set; }

The natural language text to be processed.

Property Value
Type Description
TextInput

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.