Interface Answer.Step.Action.Observation.SearchResultOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Answer.Step.Action.Observation.SearchResult, Answer.Step.Action.Observation.SearchResult.Builder
Enclosing class:
Answer.Step.Action.Observation

public static interface Answer.Step.Action.Observation.SearchResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDocument

      String getDocument()
       Document resource name.
       
      string document = 1;
      Returns:
      The document.
    • getDocumentBytes

      com.google.protobuf.ByteString getDocumentBytes()
       Document resource name.
       
      string document = 1;
      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.
    • getSnippetInfoList

       If citation_type is DOCUMENT_LEVEL_CITATION, populate document
       level snippets.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
    • getSnippetInfo

       If citation_type is DOCUMENT_LEVEL_CITATION, populate document
       level snippets.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
    • getSnippetInfoCount

      int getSnippetInfoCount()
       If citation_type is DOCUMENT_LEVEL_CITATION, populate document
       level snippets.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
    • getSnippetInfoOrBuilderList

       If citation_type is DOCUMENT_LEVEL_CITATION, populate document
       level snippets.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
    • getSnippetInfoOrBuilder

       If citation_type is DOCUMENT_LEVEL_CITATION, populate document
       level snippets.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
    • getChunkInfoList

       If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
       populate chunk info.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
    • getChunkInfo

       If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
       populate chunk info.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
    • getChunkInfoCount

      int getChunkInfoCount()
       If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
       populate chunk info.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
    • getChunkInfoOrBuilderList

       If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
       populate chunk info.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
    • getChunkInfoOrBuilder

       If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
       populate chunk info.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
    • hasStructData

      boolean hasStructData()
       Data representation.
       The structured JSON data for the document.
       It's populated from the struct data from the Document, or the
       Chunk in search result.
       
      .google.protobuf.Struct struct_data = 6;
      Returns:
      Whether the structData field is set.
    • getStructData

      com.google.protobuf.Struct getStructData()
       Data representation.
       The structured JSON data for the document.
       It's populated from the struct data from the Document, or the
       Chunk in search result.
       
      .google.protobuf.Struct struct_data = 6;
      Returns:
      The structData.
    • getStructDataOrBuilder

      com.google.protobuf.StructOrBuilder getStructDataOrBuilder()
       Data representation.
       The structured JSON data for the document.
       It's populated from the struct data from the Document, or the
       Chunk in search result.
       
      .google.protobuf.Struct struct_data = 6;