Interface ConversationTurn.UserInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationTurn.UserInput
,ConversationTurn.UserInput.Builder
- Enclosing class:
- ConversationTurn
public static interface ConversationTurn.UserInputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getEnableSentimentAnalysis()
Whether sentiment analysis is enabled.com.google.protobuf.Struct
getInjectedParameters()
Parameters that need to be injected into the conversation during intent detection.com.google.protobuf.StructOrBuilder
getInjectedParametersOrBuilder()
Parameters that need to be injected into the conversation during intent detection.QueryInput
getInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.QueryInputOrBuilder
getInputOrBuilder()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.boolean
getIsWebhookEnabled()
If webhooks should be allowed to trigger in response to the user utterance.boolean
hasInjectedParameters()
Parameters that need to be injected into the conversation during intent detection.boolean
hasInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInput
boolean hasInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
.google.cloud.dialogflow.cx.v3.QueryInput input = 5;
- Returns:
- Whether the input field is set.
-
getInput
QueryInput getInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
.google.cloud.dialogflow.cx.v3.QueryInput input = 5;
- Returns:
- The input.
-
getInputOrBuilder
QueryInputOrBuilder getInputOrBuilder()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
.google.cloud.dialogflow.cx.v3.QueryInput input = 5;
-
hasInjectedParameters
boolean hasInjectedParameters()
Parameters that need to be injected into the conversation during intent detection.
.google.protobuf.Struct injected_parameters = 2;
- Returns:
- Whether the injectedParameters field is set.
-
getInjectedParameters
com.google.protobuf.Struct getInjectedParameters()
Parameters that need to be injected into the conversation during intent detection.
.google.protobuf.Struct injected_parameters = 2;
- Returns:
- The injectedParameters.
-
getInjectedParametersOrBuilder
com.google.protobuf.StructOrBuilder getInjectedParametersOrBuilder()
Parameters that need to be injected into the conversation during intent detection.
.google.protobuf.Struct injected_parameters = 2;
-
getIsWebhookEnabled
boolean getIsWebhookEnabled()
If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.
bool is_webhook_enabled = 3;
- Returns:
- The isWebhookEnabled.
-
getEnableSentimentAnalysis
boolean getEnableSentimentAnalysis()
Whether sentiment analysis is enabled.
bool enable_sentiment_analysis = 7;
- Returns:
- The enableSentimentAnalysis.
-
-