Interface QueryInputOrBuilder (4.61.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
Type Description
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
Type Description
InputAudioConfigOrBuilder

getEvent()

public abstract EventInput getEvent()

The event to be processed.

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

Returns
Type Description
EventInput

The event.

getEventOrBuilder()

public abstract EventInputOrBuilder getEventOrBuilder()

The event to be processed.

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

Returns
Type Description
EventInputOrBuilder

getInputCase()

public abstract QueryInput.InputCase getInputCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the text field is set.