Interface QueryInputOrBuilder (0.48.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.v3beta1.AudioInput audio = 5;

Returns
TypeDescription
AudioInput

The audio.

getAudioOrBuilder()

public abstract AudioInputOrBuilder getAudioOrBuilder()

The natural language speech audio to be processed.

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

Returns
TypeDescription
AudioInputOrBuilder

getDtmf()

public abstract DtmfInput getDtmf()

The DTMF event to be handled.

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

Returns
TypeDescription
DtmfInput

The dtmf.

getDtmfOrBuilder()

public abstract DtmfInputOrBuilder getDtmfOrBuilder()

The DTMF event to be handled.

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

Returns
TypeDescription
DtmfInputOrBuilder

getEvent()

public abstract EventInput getEvent()

The event to be triggered.

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

Returns
TypeDescription
EventInput

The event.

getEventOrBuilder()

public abstract EventInputOrBuilder getEventOrBuilder()

The event to be triggered.

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

Returns
TypeDescription
EventInputOrBuilder

getInputCase()

public abstract QueryInput.InputCase getInputCase()
Returns
TypeDescription
QueryInput.InputCase

getIntent()

public abstract IntentInput getIntent()

The intent to be triggered.

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

Returns
TypeDescription
IntentInput

The intent.

getIntentOrBuilder()

public abstract IntentInputOrBuilder getIntentOrBuilder()

The intent to be triggered.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getText()

public abstract TextInput getText()

The natural language text to be processed.

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

Returns
TypeDescription
TextInput

The text.

getTextOrBuilder()

public abstract TextInputOrBuilder getTextOrBuilder()

The natural language text to be processed.

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

Returns
TypeDescription
TextInputOrBuilder

getToolCallResult()

public abstract ToolCallResult getToolCallResult()

The results of a tool executed by the client.

.google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;

Returns
TypeDescription
ToolCallResult

The toolCallResult.

getToolCallResultOrBuilder()

public abstract ToolCallResultOrBuilder getToolCallResultOrBuilder()

The results of a tool executed by the client.

.google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;

Returns
TypeDescription
ToolCallResultOrBuilder

hasAudio()

public abstract boolean hasAudio()

The natural language speech audio to be processed.

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

Returns
TypeDescription
boolean

Whether the audio field is set.

hasDtmf()

public abstract boolean hasDtmf()

The DTMF event to be handled.

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

Returns
TypeDescription
boolean

Whether the dtmf field is set.

hasEvent()

public abstract boolean hasEvent()

The event to be triggered.

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

Returns
TypeDescription
boolean

Whether the event field is set.

hasIntent()

public abstract boolean hasIntent()

The intent to be triggered.

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

Returns
TypeDescription
boolean

Whether the intent field is set.

hasText()

public abstract boolean hasText()

The natural language text to be processed.

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

Returns
TypeDescription
boolean

Whether the text field is set.

hasToolCallResult()

public abstract boolean hasToolCallResult()

The results of a tool executed by the client.

.google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;

Returns
TypeDescription
boolean

Whether the toolCallResult field is set.