Interface Conversation.InteractionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Conversation.Interaction, Conversation.Interaction.Builder
Enclosing class:
Conversation

public static interface Conversation.InteractionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasRequest

      boolean hasRequest()
       The request of the interaction.
       
      .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
      Returns:
      Whether the request field is set.
    • getRequest

      DetectIntentRequest getRequest()
       The request of the interaction.
       
      .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
      Returns:
      The request.
    • getRequestOrBuilder

      DetectIntentRequestOrBuilder getRequestOrBuilder()
       The request of the interaction.
       
      .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
    • hasResponse

      boolean hasResponse()
       The final response of the interaction.
       
      .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
      Returns:
      Whether the response field is set.
    • getResponse

      DetectIntentResponse getResponse()
       The final response of the interaction.
       
      .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
      Returns:
      The response.
    • getResponseOrBuilder

      DetectIntentResponseOrBuilder getResponseOrBuilder()
       The final response of the interaction.
       
      .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
    • getPartialResponsesList

      List<DetectIntentResponse> getPartialResponsesList()
       The partial responses of the interaction. Empty if there is no partial
       response in the interaction.
       See the
       [partial response
       documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
       
      repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
    • getPartialResponses

      DetectIntentResponse getPartialResponses(int index)
       The partial responses of the interaction. Empty if there is no partial
       response in the interaction.
       See the
       [partial response
       documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
       
      repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
    • getPartialResponsesCount

      int getPartialResponsesCount()
       The partial responses of the interaction. Empty if there is no partial
       response in the interaction.
       See the
       [partial response
       documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
       
      repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
    • getPartialResponsesOrBuilderList

      List<? extends DetectIntentResponseOrBuilder> getPartialResponsesOrBuilderList()
       The partial responses of the interaction. Empty if there is no partial
       response in the interaction.
       See the
       [partial response
       documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
       
      repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
    • getPartialResponsesOrBuilder

      DetectIntentResponseOrBuilder getPartialResponsesOrBuilder(int index)
       The partial responses of the interaction. Empty if there is no partial
       response in the interaction.
       See the
       [partial response
       documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
       
      repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
    • getRequestUtterances

      String getRequestUtterances()
       The input text or the transcript of the input audio in the request.
       
      string request_utterances = 4;
      Returns:
      The requestUtterances.
    • getRequestUtterancesBytes

      com.google.protobuf.ByteString getRequestUtterancesBytes()
       The input text or the transcript of the input audio in the request.
       
      string request_utterances = 4;
      Returns:
      The bytes for requestUtterances.
    • getResponseUtterances

      String getResponseUtterances()
       The output text or the transcript of the output audio in the responses.
       If multiple output messages are returned, they will be concatenated into
       one.
       
      string response_utterances = 5;
      Returns:
      The responseUtterances.
    • getResponseUtterancesBytes

      com.google.protobuf.ByteString getResponseUtterancesBytes()
       The output text or the transcript of the output audio in the responses.
       If multiple output messages are returned, they will be concatenated into
       one.
       
      string response_utterances = 5;
      Returns:
      The bytes for responseUtterances.
    • hasCreateTime

      boolean hasCreateTime()
       The time that the interaction was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       The time that the interaction was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time that the interaction was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • hasAnswerFeedback

      boolean hasAnswerFeedback()
       Answer feedback for the final response.
       
      .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
      Returns:
      Whether the answerFeedback field is set.
    • getAnswerFeedback

      AnswerFeedback getAnswerFeedback()
       Answer feedback for the final response.
       
      .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
      Returns:
      The answerFeedback.
    • getAnswerFeedbackOrBuilder

      AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
       Answer feedback for the final response.
       
      .google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
    • hasMissingTransition

      boolean hasMissingTransition()
       Missing transition predicted for the interaction. This field is set only
       if the interaction match type was no-match.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;
      Returns:
      Whether the missingTransition field is set.
    • getMissingTransition

       Missing transition predicted for the interaction. This field is set only
       if the interaction match type was no-match.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;
      Returns:
      The missingTransition.
    • getMissingTransitionOrBuilder

       Missing transition predicted for the interaction. This field is set only
       if the interaction match type was no-match.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;
    • getStepMetricsList

       Metrics associated with different processing steps. Names and number of
       steps depend on the request and can change without a notice.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
    • getStepMetrics

      Conversation.Interaction.StepMetrics getStepMetrics(int index)
       Metrics associated with different processing steps. Names and number of
       steps depend on the request and can change without a notice.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
    • getStepMetricsCount

      int getStepMetricsCount()
       Metrics associated with different processing steps. Names and number of
       steps depend on the request and can change without a notice.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
    • getStepMetricsOrBuilderList

      List<? extends Conversation.Interaction.StepMetricsOrBuilder> getStepMetricsOrBuilderList()
       Metrics associated with different processing steps. Names and number of
       steps depend on the request and can change without a notice.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
    • getStepMetricsOrBuilder

      Conversation.Interaction.StepMetricsOrBuilder getStepMetricsOrBuilder(int index)
       Metrics associated with different processing steps. Names and number of
       steps depend on the request and can change without a notice.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;