Interface SearchResponse.Summary.ReferenceOrBuilder

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

public static interface SearchResponse.Summary.ReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTitle

      String getTitle()
       Title of the document.
       
      string title = 1;
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       Title of the document.
       
      string title = 1;
      Returns:
      The bytes for title.
    • getDocument

      String getDocument()
       Required.
       [Document.name][google.cloud.discoveryengine.v1beta.Document.name] of
       the document. Full resource name of the referenced document, in the
       format
       `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.
       
      string document = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The document.
    • getDocumentBytes

      com.google.protobuf.ByteString getDocumentBytes()
       Required.
       [Document.name][google.cloud.discoveryengine.v1beta.Document.name] of
       the document. Full resource name of the referenced document, in the
       format
       `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.
       
      string document = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for document.
    • getUri

      String getUri()
       Cloud Storage or HTTP uri for the document.
       
      string uri = 3;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       Cloud Storage or HTTP uri for the document.
       
      string uri = 3;
      Returns:
      The bytes for uri.
    • getChunkContentsList

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

      SearchResponse.Summary.Reference.ChunkContent getChunkContents(int index)
       List of cited chunk contents derived from document content.
       
      repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4;
    • getChunkContentsCount

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

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

      SearchResponse.Summary.Reference.ChunkContentOrBuilder getChunkContentsOrBuilder(int index)
       List of cited chunk contents derived from document content.
       
      repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4;