Class ConversationTurn.VirtualAgentOutput

    • Field Detail

      • SESSION_PARAMETERS_FIELD_NUMBER

        public static final int SESSION_PARAMETERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DIFFERENCES_FIELD_NUMBER

        public static final int DIFFERENCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DIAGNOSTIC_INFO_FIELD_NUMBER

        public static final int DIAGNOSTIC_INFO_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRIGGERED_INTENT_FIELD_NUMBER

        public static final int TRIGGERED_INTENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CURRENT_PAGE_FIELD_NUMBER

        public static final int CURRENT_PAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TEXT_RESPONSES_FIELD_NUMBER

        public static final int TEXT_RESPONSES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getDifferencesList

        public 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];
        Specified by:
        getDifferencesList in interface ConversationTurn.VirtualAgentOutputOrBuilder
      • getDifferencesOrBuilderList

        public 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];
        Specified by:
        getDifferencesOrBuilderList in interface ConversationTurn.VirtualAgentOutputOrBuilder
      • getDifferencesCount

        public 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];
        Specified by:
        getDifferencesCount in interface ConversationTurn.VirtualAgentOutputOrBuilder
      • getDifferences

        public 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];
        Specified by:
        getDifferences in interface ConversationTurn.VirtualAgentOutputOrBuilder
      • getDifferencesOrBuilder

        public 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];
        Specified by:
        getDifferencesOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
      • hasDiagnosticInfo

        public 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];
        Specified by:
        hasDiagnosticInfo in interface ConversationTurn.VirtualAgentOutputOrBuilder
        Returns:
        Whether the diagnosticInfo field is set.
      • getDiagnosticInfo

        public 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];
        Specified by:
        getDiagnosticInfo in interface ConversationTurn.VirtualAgentOutputOrBuilder
        Returns:
        The diagnosticInfo.
      • getDiagnosticInfoOrBuilder

        public 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];
        Specified by:
        getDiagnosticInfoOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
      • hasTriggeredIntent

        public 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;
        Specified by:
        hasTriggeredIntent in interface ConversationTurn.VirtualAgentOutputOrBuilder
        Returns:
        Whether the triggeredIntent field is set.
      • getTriggeredIntent

        public 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;
        Specified by:
        getTriggeredIntent in interface ConversationTurn.VirtualAgentOutputOrBuilder
        Returns:
        The triggeredIntent.
      • hasCurrentPage

        public 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;
        Specified by:
        hasCurrentPage in interface ConversationTurn.VirtualAgentOutputOrBuilder
        Returns:
        Whether the currentPage field is set.
      • getCurrentPage

        public 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;
        Specified by:
        getCurrentPage in interface ConversationTurn.VirtualAgentOutputOrBuilder
        Returns:
        The currentPage.
      • getTextResponsesCount

        public 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;
        Specified by:
        getTextResponsesCount in interface ConversationTurn.VirtualAgentOutputOrBuilder
      • hasStatus

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

        public com.google.rpc.Status getStatus()
         Response error from the agent in the test result. If set, other output
         is empty.
         
        .google.rpc.Status status = 10;
        Specified by:
        getStatus in interface ConversationTurn.VirtualAgentOutputOrBuilder
        Returns:
        The status.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ConversationTurn.VirtualAgentOutput parseFrom​(ByteBuffer data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConversationTurn.VirtualAgentOutput parseFrom​(com.google.protobuf.ByteString data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConversationTurn.VirtualAgentOutput parseFrom​(com.google.protobuf.ByteString data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConversationTurn.VirtualAgentOutput parseFrom​(byte[] data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConversationTurn.VirtualAgentOutput parseFrom​(byte[] data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public ConversationTurn.VirtualAgentOutput.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ConversationTurn.VirtualAgentOutput.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ConversationTurn.VirtualAgentOutput> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ConversationTurn.VirtualAgentOutput getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder