Interface QAResultOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    QAResult, QAResult.Builder

    public interface QAResultOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getHighlightsList

        List<QAResult.Highlight> getHighlightsList()
         Highlighted sections in the snippet.
         
        repeated .google.cloud.contentwarehouse.v1.QAResult.Highlight highlights = 1;
      • getHighlights

        QAResult.Highlight getHighlights​(int index)
         Highlighted sections in the snippet.
         
        repeated .google.cloud.contentwarehouse.v1.QAResult.Highlight highlights = 1;
      • getHighlightsCount

        int getHighlightsCount()
         Highlighted sections in the snippet.
         
        repeated .google.cloud.contentwarehouse.v1.QAResult.Highlight highlights = 1;
      • getHighlightsOrBuilderList

        List<? extends QAResult.HighlightOrBuilder> getHighlightsOrBuilderList()
         Highlighted sections in the snippet.
         
        repeated .google.cloud.contentwarehouse.v1.QAResult.Highlight highlights = 1;
      • getHighlightsOrBuilder

        QAResult.HighlightOrBuilder getHighlightsOrBuilder​(int index)
         Highlighted sections in the snippet.
         
        repeated .google.cloud.contentwarehouse.v1.QAResult.Highlight highlights = 1;
      • getConfidenceScore

        float getConfidenceScore()
         The calibrated confidence score for this document, in the range
         [0., 1.]. This represents the confidence level for whether the returned
         document and snippet answers the user's query.
         
        float confidence_score = 2;
        Returns:
        The confidenceScore.