Interface QueryInputOrBuilder (0.59.0)

public interface QueryInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudio()

public abstract AudioInput getAudio()

The natural language speech audio to be processed.

.google.cloud.dialogflow.cx.v3.AudioInput audio = 5;

Returns
Type Description
AudioInput

The audio.

getAudioOrBuilder()

public abstract AudioInputOrBuilder getAudioOrBuilder()

The natural language speech audio to be processed.

.google.cloud.dialogflow.cx.v3.AudioInput audio = 5;

Returns
Type Description
AudioInputOrBuilder

getDtmf()

public abstract DtmfInput getDtmf()

The DTMF event to be handled.

.google.cloud.dialogflow.cx.v3.DtmfInput dtmf = 7;

Returns
Type Description
DtmfInput

The dtmf.

getDtmfOrBuilder()

public abstract DtmfInputOrBuilder getDtmfOrBuilder()

The DTMF event to be handled.

.google.cloud.dialogflow.cx.v3.DtmfInput dtmf = 7;

Returns
Type Description
DtmfInputOrBuilder

getEvent()

public abstract EventInput getEvent()

The event to be triggered.

.google.cloud.dialogflow.cx.v3.EventInput event = 6;

Returns
Type Description
EventInput

The event.

getEventOrBuilder()

public abstract EventInputOrBuilder getEventOrBuilder()

The event to be triggered.

.google.cloud.dialogflow.cx.v3.EventInput event = 6;

Returns
Type Description
EventInputOrBuilder

getInputCase()

public abstract QueryInput.InputCase getInputCase()
Returns
Type Description
QueryInput.InputCase

getIntent()

public abstract IntentInput getIntent()

The intent to be triggered.

.google.cloud.dialogflow.cx.v3.IntentInput intent = 3;

Returns
Type Description
IntentInput

The intent.

getIntentOrBuilder()

public abstract IntentInputOrBuilder getIntentOrBuilder()

The intent to be triggered.

.google.cloud.dialogflow.cx.v3.IntentInput intent = 3;

Returns
Type Description
IntentInputOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

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.

string language_code = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

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.

string language_code = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for languageCode.

getText()

public abstract TextInput getText()

The natural language text to be processed.

.google.cloud.dialogflow.cx.v3.TextInput text = 2;

Returns
Type Description
TextInput

The text.

getTextOrBuilder()

public abstract TextInputOrBuilder getTextOrBuilder()

The natural language text to be processed.

.google.cloud.dialogflow.cx.v3.TextInput text = 2;

Returns
Type Description
TextInputOrBuilder

hasAudio()

public abstract boolean hasAudio()

The natural language speech audio to be processed.

.google.cloud.dialogflow.cx.v3.AudioInput audio = 5;

Returns
Type Description
boolean

Whether the audio field is set.

hasDtmf()

public abstract boolean hasDtmf()

The DTMF event to be handled.

.google.cloud.dialogflow.cx.v3.DtmfInput dtmf = 7;

Returns
Type Description
boolean

Whether the dtmf field is set.

hasEvent()

public abstract boolean hasEvent()

The event to be triggered.

.google.cloud.dialogflow.cx.v3.EventInput event = 6;

Returns
Type Description
boolean

Whether the event field is set.

hasIntent()

public abstract boolean hasIntent()

The intent to be triggered.

.google.cloud.dialogflow.cx.v3.IntentInput intent = 3;

Returns
Type Description
boolean

Whether the intent field is set.

hasText()

public abstract boolean hasText()

The natural language text to be processed.

.google.cloud.dialogflow.cx.v3.TextInput text = 2;

Returns
Type Description
boolean

Whether the text field is set.