Interface ConversationTurn.VirtualAgentOutputOrBuilder

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

public static interface ConversationTurn.VirtualAgentOutputOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasSessionParameters

      boolean hasSessionParameters()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
      Returns:
      Whether the sessionParameters field is set.
    • getSessionParameters

      com.google.protobuf.Struct getSessionParameters()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
      Returns:
      The sessionParameters.
    • getSessionParametersOrBuilder

      com.google.protobuf.StructOrBuilder getSessionParametersOrBuilder()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
    • getDifferencesList

      List<TestRunDifference> getDifferencesList()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDifferences

      TestRunDifference getDifferences(int index)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDifferencesCount

      int getDifferencesCount()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDifferencesOrBuilderList

      List<? extends TestRunDifferenceOrBuilder> getDifferencesOrBuilderList()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDifferencesOrBuilder

      TestRunDifferenceOrBuilder getDifferencesOrBuilder(int index)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDiagnosticInfo

      boolean hasDiagnosticInfo()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      Whether the diagnosticInfo field is set.
    • getDiagnosticInfo

      com.google.protobuf.Struct getDiagnosticInfo()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      The diagnosticInfo.
    • getDiagnosticInfoOrBuilder

      com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
    • hasTriggeredIntent

      boolean hasTriggeredIntent()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
      Returns:
      Whether the triggeredIntent field is set.
    • getTriggeredIntent

      Intent getTriggeredIntent()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
      Returns:
      The triggeredIntent.
    • getTriggeredIntentOrBuilder

      IntentOrBuilder getTriggeredIntentOrBuilder()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
    • hasCurrentPage

      boolean hasCurrentPage()
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
      Returns:
      Whether the currentPage field is set.
    • getCurrentPage

      Page getCurrentPage()
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
      Returns:
      The currentPage.
    • getCurrentPageOrBuilder

      PageOrBuilder getCurrentPageOrBuilder()
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
    • getTextResponsesList

      List<ResponseMessage.Text> getTextResponsesList()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • getTextResponses

      ResponseMessage.Text getTextResponses(int index)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • getTextResponsesCount

      int getTextResponsesCount()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • getTextResponsesOrBuilderList

      List<? extends ResponseMessage.TextOrBuilder> getTextResponsesOrBuilderList()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • getTextResponsesOrBuilder

      ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • hasStatus

      boolean hasStatus()
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
      Returns:
      Whether the status field is set.
    • getStatus

      Status getStatus()
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
      Returns:
      The status.
    • getStatusOrBuilder

      StatusOrBuilder getStatusOrBuilder()
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;