Interface QueryInputOrBuilder (4.26.0)

public interface QueryInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudioConfig()

public abstract InputAudioConfig getAudioConfig()

Instructs the speech recognizer how to process the speech audio.

.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 1;

Returns
TypeDescription
InputAudioConfig

The audioConfig.

getAudioConfigOrBuilder()

public abstract InputAudioConfigOrBuilder getAudioConfigOrBuilder()

Instructs the speech recognizer how to process the speech audio.

.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 1;

Returns
TypeDescription
InputAudioConfigOrBuilder

getEvent()

public abstract EventInput getEvent()

The event to be processed.

.google.cloud.dialogflow.v2.EventInput event = 3;

Returns
TypeDescription
EventInput

The event.

getEventOrBuilder()

public abstract EventInputOrBuilder getEventOrBuilder()

The event to be processed.

.google.cloud.dialogflow.v2.EventInput event = 3;

Returns
TypeDescription
EventInputOrBuilder

getInputCase()

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

getText()

public abstract TextInput getText()

The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

.google.cloud.dialogflow.v2.TextInput text = 2;

Returns
TypeDescription
TextInput

The text.

getTextOrBuilder()

public abstract TextInputOrBuilder getTextOrBuilder()

The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

.google.cloud.dialogflow.v2.TextInput text = 2;

Returns
TypeDescription
TextInputOrBuilder

hasAudioConfig()

public abstract boolean hasAudioConfig()

Instructs the speech recognizer how to process the speech audio.

.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 1;

Returns
TypeDescription
boolean

Whether the audioConfig field is set.

hasEvent()

public abstract boolean hasEvent()

The event to be processed.

.google.cloud.dialogflow.v2.EventInput event = 3;

Returns
TypeDescription
boolean

Whether the event field is set.

hasText()

public abstract boolean hasText()

The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

.google.cloud.dialogflow.v2.TextInput text = 2;

Returns
TypeDescription
boolean

Whether the text field is set.