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

    Modifier and Type
    Method
    Description
    boolean
    Whether sentiment analysis is enabled.
    com.google.protobuf.Struct
    Parameters that need to be injected into the conversation during intent detection.
    com.google.protobuf.StructOrBuilder
    Parameters that need to be injected into the conversation during intent detection.
    Supports [text input][google.cloud.dialogflow.cx.v3beta1.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3beta1.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3beta1.QueryInput.dtmf] in the test case.
    Supports [text input][google.cloud.dialogflow.cx.v3beta1.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3beta1.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3beta1.QueryInput.dtmf] in the test case.
    boolean
    If webhooks should be allowed to trigger in response to the user utterance.
    boolean
    Parameters that need to be injected into the conversation during intent detection.
    boolean
    Supports [text input][google.cloud.dialogflow.cx.v3beta1.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3beta1.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3beta1.QueryInput.dtmf] in the test case.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasInput

      boolean hasInput()
       Supports [text
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.text], [event
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.event], [dtmf
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.dtmf] in the test
       case.
       
      .google.cloud.dialogflow.cx.v3beta1.QueryInput input = 5;
      Returns:
      Whether the input field is set.
    • getInput

      QueryInput getInput()
       Supports [text
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.text], [event
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.event], [dtmf
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.dtmf] in the test
       case.
       
      .google.cloud.dialogflow.cx.v3beta1.QueryInput input = 5;
      Returns:
      The input.
    • getInputOrBuilder

      QueryInputOrBuilder getInputOrBuilder()
       Supports [text
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.text], [event
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.event], [dtmf
       input][google.cloud.dialogflow.cx.v3beta1.QueryInput.dtmf] in the test
       case.
       
      .google.cloud.dialogflow.cx.v3beta1.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.