Interface Answer.Reference.UnstructuredDocumentInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Answer.Reference.UnstructuredDocumentInfo, Answer.Reference.UnstructuredDocumentInfo.Builder
Enclosing class:
Answer.Reference

public static interface Answer.Reference.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.
    • getChunkContentsList

       List of cited chunk contents derived from document content.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4;
    • getChunkContents

       List of cited chunk contents derived from document content.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4;
    • getChunkContentsCount

      int getChunkContentsCount()
       List of cited chunk contents derived from document content.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4;
    • getChunkContentsOrBuilderList

      List<? extends Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilder> getChunkContentsOrBuilderList()
       List of cited chunk contents derived from document content.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4;
    • getChunkContentsOrBuilder

       List of cited chunk contents derived from document content.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4;
    • hasStructData

      boolean hasStructData()
       The structured JSON metadata for the document.
       It is populated from the struct data from the Chunk in search result.
       
      .google.protobuf.Struct struct_data = 5;
      Returns:
      Whether the structData field is set.
    • getStructData

      com.google.protobuf.Struct getStructData()
       The structured JSON metadata for the document.
       It is populated from the struct data from the Chunk in search result.
       
      .google.protobuf.Struct struct_data = 5;
      Returns:
      The structData.
    • getStructDataOrBuilder

      com.google.protobuf.StructOrBuilder getStructDataOrBuilder()
       The structured JSON metadata for the document.
       It is populated from the struct data from the Chunk in search result.
       
      .google.protobuf.Struct struct_data = 5;