Class MessageOutputDebug

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.MessageOutputDebug
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class MessageOutputDebug
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Additional detailed information about a message response and how it was generated.
  • Constructor Details

    • MessageOutputDebug

      public MessageOutputDebug()
  • Method Details

    • getNodesVisited

      public List<DialogNodesVisited> getNodesVisited()
      Gets the nodesVisited.

      An array of objects containing detailed diagnostic information about the nodes that were triggered during processing of the input message.

      Returns:
      the nodesVisited
    • getLogMessages

      public List<DialogLogMessage> getLogMessages()
      Gets the logMessages.

      An array of up to 50 messages logged with the request.

      Returns:
      the logMessages
    • isBranchExited

      public Boolean isBranchExited()
      Gets the branchExited.

      Assistant sets this to true when this message response concludes or interrupts a dialog.

      Returns:
      the branchExited
    • getBranchExitedReason

      public String getBranchExitedReason()
      Gets the branchExitedReason.

      When `branch_exited` is set to `true` by the Assistant, the `branch_exited_reason` specifies whether the dialog completed by itself or got interrupted.

      Returns:
      the branchExitedReason