Interface AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo, AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.Builder
Enclosing class:
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult

public static interface AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDocument

      String getDocument()
       Document resource name.
       
      string document = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The document.
    • getDocumentBytes

      com.google.protobuf.ByteString getDocumentBytes()
       Document resource name.
       
      string document = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for document.
    • getUri

      String getUri()
       URI for the document.
       
      string uri = 2;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       URI for the document.
       
      string uri = 2;
      Returns:
      The bytes for uri.
    • getTitle

      String getTitle()
       Title.
       
      string title = 3;
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       Title.
       
      string title = 3;
      Returns:
      The bytes for title.
    • getDocumentContextsList

       List of document contexts. The content will be used for Answer
       Generation. This is supposed to be the main content of the document
       that can be long and comprehensive.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
    • getDocumentContexts

       List of document contexts. The content will be used for Answer
       Generation. This is supposed to be the main content of the document
       that can be long and comprehensive.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
    • getDocumentContextsCount

      int getDocumentContextsCount()
       List of document contexts. The content will be used for Answer
       Generation. This is supposed to be the main content of the document
       that can be long and comprehensive.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
    • getDocumentContextsOrBuilderList

       List of document contexts. The content will be used for Answer
       Generation. This is supposed to be the main content of the document
       that can be long and comprehensive.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
    • getDocumentContextsOrBuilder

       List of document contexts. The content will be used for Answer
       Generation. This is supposed to be the main content of the document
       that can be long and comprehensive.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
    • getExtractiveSegmentsList

       List of extractive segments.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
    • getExtractiveSegments

       List of extractive segments.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
    • getExtractiveSegmentsCount

      int getExtractiveSegmentsCount()
       List of extractive segments.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
    • getExtractiveSegmentsOrBuilderList

       List of extractive segments.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
    • getExtractiveSegmentsOrBuilder

       List of extractive segments.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
    • getExtractiveAnswersList

      Deprecated.
       Deprecated: This field is deprecated and will have no effect on
       the Answer generation.
       Please use document_contexts and extractive_segments fields.
       List of extractive answers.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6 [deprecated = true];
    • getExtractiveAnswers

      Deprecated.
       Deprecated: This field is deprecated and will have no effect on
       the Answer generation.
       Please use document_contexts and extractive_segments fields.
       List of extractive answers.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6 [deprecated = true];
    • getExtractiveAnswersCount

      @Deprecated int getExtractiveAnswersCount()
      Deprecated.
       Deprecated: This field is deprecated and will have no effect on
       the Answer generation.
       Please use document_contexts and extractive_segments fields.
       List of extractive answers.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6 [deprecated = true];
    • getExtractiveAnswersOrBuilderList

      Deprecated.
       Deprecated: This field is deprecated and will have no effect on
       the Answer generation.
       Please use document_contexts and extractive_segments fields.
       List of extractive answers.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6 [deprecated = true];
    • getExtractiveAnswersOrBuilder

      Deprecated.
       Deprecated: This field is deprecated and will have no effect on
       the Answer generation.
       Please use document_contexts and extractive_segments fields.
       List of extractive answers.
       
      repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6 [deprecated = true];