Interface QueryInputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryInput,QueryInput.Builder
@Generated
public interface QueryInputOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAudio()The natural language speech audio to be processed.The natural language speech audio to be processed.getDtmf()The DTMF event to be handled.The DTMF event to be handled.getEvent()The event to be triggered.The event to be triggered.The intent to be triggered.The intent to be triggered.Required.com.google.protobuf.ByteStringRequired.getText()The natural language text to be processed.The natural language text to be processed.The results of a tool executed by the client.The results of a tool executed by the client.booleanhasAudio()The natural language speech audio to be processed.booleanhasDtmf()The DTMF event to be handled.booleanhasEvent()The event to be triggered.booleanThe intent to be triggered.booleanhasText()The natural language text to be processed.booleanThe results of a tool executed by the client.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasText
boolean hasText()The natural language text to be processed.
.google.cloud.dialogflow.cx.v3beta1.TextInput text = 2;- Returns:
- Whether the text field is set.
-
getText
TextInput getText()The natural language text to be processed.
.google.cloud.dialogflow.cx.v3beta1.TextInput text = 2;- Returns:
- The text.
-
getTextOrBuilder
TextInputOrBuilder getTextOrBuilder()The natural language text to be processed.
.google.cloud.dialogflow.cx.v3beta1.TextInput text = 2; -
hasIntent
boolean hasIntent()The intent to be triggered.
.google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;- Returns:
- Whether the intent field is set.
-
getIntent
IntentInput getIntent()The intent to be triggered.
.google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;- Returns:
- The intent.
-
getIntentOrBuilder
IntentInputOrBuilder getIntentOrBuilder()The intent to be triggered.
.google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3; -
hasAudio
boolean hasAudio()The natural language speech audio to be processed.
.google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;- Returns:
- Whether the audio field is set.
-
getAudio
AudioInput getAudio()The natural language speech audio to be processed.
.google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;- Returns:
- The audio.
-
getAudioOrBuilder
AudioInputOrBuilder getAudioOrBuilder()The natural language speech audio to be processed.
.google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5; -
hasEvent
boolean hasEvent()The event to be triggered.
.google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;- Returns:
- Whether the event field is set.
-
getEvent
EventInput getEvent()The event to be triggered.
.google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;- Returns:
- The event.
-
getEventOrBuilder
EventInputOrBuilder getEventOrBuilder()The event to be triggered.
.google.cloud.dialogflow.cx.v3beta1.EventInput event = 6; -
hasDtmf
boolean hasDtmf()The DTMF event to be handled.
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;- Returns:
- Whether the dtmf field is set.
-
getDtmf
DtmfInput getDtmf()The DTMF event to be handled.
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;- Returns:
- The dtmf.
-
getDtmfOrBuilder
DtmfInputOrBuilder getDtmfOrBuilder()The DTMF event to be handled.
.google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7; -
hasToolCallResult
boolean hasToolCallResult()The results of a tool executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;- Returns:
- Whether the toolCallResult field is set.
-
getToolCallResult
ToolCallResult getToolCallResult()The results of a tool executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;- Returns:
- The toolCallResult.
-
getToolCallResultOrBuilder
ToolCallResultOrBuilder getToolCallResultOrBuilder()The results of a tool executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11; -
getLanguageCode
String getLanguageCode()Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) 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:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) 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:
- The bytes for languageCode.
-
getInputCase
QueryInput.InputCase getInputCase()
-