Interface Answer.Reference.ChunkInfo.DocumentMetadataOrBuilder

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

public static interface Answer.Reference.ChunkInfo.DocumentMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Document resource name.
    com.google.protobuf.ByteString
    Document resource name.
    Page identifier.
    com.google.protobuf.ByteString
    Page identifier.
    com.google.protobuf.Struct
    The structured JSON metadata for the document.
    com.google.protobuf.StructOrBuilder
    The structured JSON metadata for the document.
    Title.
    com.google.protobuf.ByteString
    Title.
    URI for the document.
    com.google.protobuf.ByteString
    URI for the document.
    boolean
    The structured JSON metadata for the document.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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.
    • getPageIdentifier

      String getPageIdentifier()
       Page identifier.
       
      string page_identifier = 4;
      Returns:
      The pageIdentifier.
    • getPageIdentifierBytes

      com.google.protobuf.ByteString getPageIdentifierBytes()
       Page identifier.
       
      string page_identifier = 4;
      Returns:
      The bytes for pageIdentifier.
    • 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;