Package com.google.cloud.dialogflow.v2
Interface QueryInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryInput,QueryInput.Builder
public interface QueryInputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputAudioConfiggetAudioConfig()Instructs the speech recognizer how to process the speech audio.InputAudioConfigOrBuildergetAudioConfigOrBuilder()Instructs the speech recognizer how to process the speech audio.EventInputgetEvent()The event to be processed.EventInputOrBuildergetEventOrBuilder()The event to be processed.QueryInput.InputCasegetInputCase()TextInputgetText()The natural language text to be processed.TextInputOrBuildergetTextOrBuilder()The natural language text to be processed.booleanhasAudioConfig()Instructs the speech recognizer how to process the speech audio.booleanhasEvent()The event to be processed.booleanhasText()The natural language text to be processed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAudioConfig
boolean hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 1;- Returns:
- Whether the audioConfig field is set.
-
getAudioConfig
InputAudioConfig getAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 1;- Returns:
- The audioConfig.
-
getAudioConfigOrBuilder
InputAudioConfigOrBuilder getAudioConfigOrBuilder()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 1;
-
hasText
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:
- Whether the text field is set.
-
getText
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:
- The text.
-
getTextOrBuilder
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;
-
hasEvent
boolean hasEvent()
The event to be processed.
.google.cloud.dialogflow.v2.EventInput event = 3;- Returns:
- Whether the event field is set.
-
getEvent
EventInput getEvent()
The event to be processed.
.google.cloud.dialogflow.v2.EventInput event = 3;- Returns:
- The event.
-
getEventOrBuilder
EventInputOrBuilder getEventOrBuilder()
The event to be processed.
.google.cloud.dialogflow.v2.EventInput event = 3;
-
getInputCase
QueryInput.InputCase getInputCase()
-
-