Class EpubMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.epub.v1.EpubMetadata
All Implemented Interfaces:
EpubMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class EpubMetadata extends com.google.protobuf.GeneratedMessage implements EpubMetadataOrBuilder
 Comprehensive EPUB metadata as extracted by Tika from EPUB documents.
 Based on Tika's Epub interface, EpubParser, OPFParser implementations, and actual EPUB structure.
 This is a 1:1 mapping to all fields that Tika can extract from EPUB documents.
 EPUB files are structured ZIP archives containing:
 - META-INF/container.xml (points to OPF file)
 - *.opf file (package document with metadata and manifest)
 - XHTML content files (actual book content)
 - CSS, images, fonts (embedded resources)
 - Optional: metadata.xml (additional Dublin Core)
 
Protobuf type ai.pipestream.parsed.data.epub.v1.EpubMetadata
See Also:
  • Field Details

    • RENDITION_LAYOUT_FIELD_NUMBER

      public static final int RENDITION_LAYOUT_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • SPINE_ITEMS_FIELD_NUMBER

      public static final int SPINE_ITEMS_FIELD_NUMBER
      See Also:
    • MANIFEST_ITEMS_FIELD_NUMBER

      public static final int MANIFEST_ITEMS_FIELD_NUMBER
      See Also:
    • TABLE_OF_CONTENTS_FIELD_NUMBER

      public static final int TABLE_OF_CONTENTS_FIELD_NUMBER
      See Also:
    • ROOT_OPF_PATH_FIELD_NUMBER

      public static final int ROOT_OPF_PATH_FIELD_NUMBER
      See Also:
    • MIMETYPE_FIELD_NUMBER

      public static final int MIMETYPE_FIELD_NUMBER
      See Also:
    • HAS_DRM_FIELD_NUMBER

      public static final int HAS_DRM_FIELD_NUMBER
      See Also:
    • ENCRYPTED_RESOURCES_FIELD_NUMBER

      public static final int ENCRYPTED_RESOURCES_FIELD_NUMBER
      See Also:
    • CONTENT_FILE_COUNT_FIELD_NUMBER

      public static final int CONTENT_FILE_COUNT_FIELD_NUMBER
      See Also:
    • EMBEDDED_RESOURCE_COUNT_FIELD_NUMBER

      public static final int EMBEDDED_RESOURCE_COUNT_FIELD_NUMBER
      See Also:
    • ESTIMATED_WORD_COUNT_FIELD_NUMBER

      public static final int ESTIMATED_WORD_COUNT_FIELD_NUMBER
      See Also:
    • ESTIMATED_CHARACTER_COUNT_FIELD_NUMBER

      public static final int ESTIMATED_CHARACTER_COUNT_FIELD_NUMBER
      See Also:
    • CONTENT_LANGUAGE_FIELD_NUMBER

      public static final int CONTENT_LANGUAGE_FIELD_NUMBER
      See Also:
    • IMAGES_FIELD_NUMBER

      public static final int IMAGES_FIELD_NUMBER
      See Also:
    • FONTS_FIELD_NUMBER

      public static final int FONTS_FIELD_NUMBER
      See Also:
    • STYLESHEETS_FIELD_NUMBER

      public static final int STYLESHEETS_FIELD_NUMBER
      See Also:
    • OTHER_RESOURCES_FIELD_NUMBER

      public static final int OTHER_RESOURCES_FIELD_NUMBER
      See Also:
    • COVER_IMAGE_PATH_FIELD_NUMBER

      public static final int COVER_IMAGE_PATH_FIELD_NUMBER
      See Also:
    • UNIQUE_IDENTIFIER_FIELD_NUMBER

      public static final int UNIQUE_IDENTIFIER_FIELD_NUMBER
      See Also:
    • READING_DIRECTION_FIELD_NUMBER

      public static final int READING_DIRECTION_FIELD_NUMBER
      See Also:
    • HAS_MATHML_FIELD_NUMBER

      public static final int HAS_MATHML_FIELD_NUMBER
      See Also:
    • HAS_SVG_FIELD_NUMBER

      public static final int HAS_SVG_FIELD_NUMBER
      See Also:
    • HAS_SCRIPTED_CONTENT_FIELD_NUMBER

      public static final int HAS_SCRIPTED_CONTENT_FIELD_NUMBER
      See Also:
    • ACCESSIBILITY_FEATURES_FIELD_NUMBER

      public static final int ACCESSIBILITY_FEATURES_FIELD_NUMBER
      See Also:
    • ACCESSIBILITY_HAZARDS_FIELD_NUMBER

      public static final int ACCESSIBILITY_HAZARDS_FIELD_NUMBER
      See Also:
    • ACCESSIBILITY_SUMMARY_FIELD_NUMBER

      public static final int ACCESSIBILITY_SUMMARY_FIELD_NUMBER
      See Also:
    • ADDITIONAL_METADATA_FIELD_NUMBER

      public static final int ADDITIONAL_METADATA_FIELD_NUMBER
      See Also:
    • BASE_FIELDS_FIELD_NUMBER

      public static final int BASE_FIELDS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasRenditionLayout

      public boolean hasRenditionLayout()
       EPUB rendition layout type - determines how content should be displayed
       Values: "pre-paginated" or "reflowable" (default)
       Set to "pre-paginated" if any itemref on spine has pre-paginated property
       Epub.RENDITION_LAYOUT
       
      optional string rendition_layout = 1 [json_name = "renditionLayout"];
      Specified by:
      hasRenditionLayout in interface EpubMetadataOrBuilder
      Returns:
      Whether the renditionLayout field is set.
    • getRenditionLayout

      public String getRenditionLayout()
       EPUB rendition layout type - determines how content should be displayed
       Values: "pre-paginated" or "reflowable" (default)
       Set to "pre-paginated" if any itemref on spine has pre-paginated property
       Epub.RENDITION_LAYOUT
       
      optional string rendition_layout = 1 [json_name = "renditionLayout"];
      Specified by:
      getRenditionLayout in interface EpubMetadataOrBuilder
      Returns:
      The renditionLayout.
    • getRenditionLayoutBytes

      public com.google.protobuf.ByteString getRenditionLayoutBytes()
       EPUB rendition layout type - determines how content should be displayed
       Values: "pre-paginated" or "reflowable" (default)
       Set to "pre-paginated" if any itemref on spine has pre-paginated property
       Epub.RENDITION_LAYOUT
       
      optional string rendition_layout = 1 [json_name = "renditionLayout"];
      Specified by:
      getRenditionLayoutBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for renditionLayout.
    • hasVersion

      public boolean hasVersion()
       EPUB specification version (e.g., "2.0", "3.0", "3.1")
       Extracted from package element version attribute in OPF file
       Epub.VERSION
       
      optional string version = 2 [json_name = "version"];
      Specified by:
      hasVersion in interface EpubMetadataOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public String getVersion()
       EPUB specification version (e.g., "2.0", "3.0", "3.1")
       Extracted from package element version attribute in OPF file
       Epub.VERSION
       
      optional string version = 2 [json_name = "version"];
      Specified by:
      getVersion in interface EpubMetadataOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       EPUB specification version (e.g., "2.0", "3.0", "3.1")
       Extracted from package element version attribute in OPF file
       Epub.VERSION
       
      optional string version = 2 [json_name = "version"];
      Specified by:
      getVersionBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for version.
    • getSpineItemsList

      public List<EpubContentItem> getSpineItemsList()
       Ordered list of content items as they appear in the spine
       This defines the reading order and is essential for proper chunking
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubContentItem spine_items = 3 [json_name = "spineItems"];
      Specified by:
      getSpineItemsList in interface EpubMetadataOrBuilder
    • getSpineItemsOrBuilderList

      public List<? extends EpubContentItemOrBuilder> getSpineItemsOrBuilderList()
       Ordered list of content items as they appear in the spine
       This defines the reading order and is essential for proper chunking
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubContentItem spine_items = 3 [json_name = "spineItems"];
      Specified by:
      getSpineItemsOrBuilderList in interface EpubMetadataOrBuilder
    • getSpineItemsCount

      public int getSpineItemsCount()
       Ordered list of content items as they appear in the spine
       This defines the reading order and is essential for proper chunking
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubContentItem spine_items = 3 [json_name = "spineItems"];
      Specified by:
      getSpineItemsCount in interface EpubMetadataOrBuilder
    • getSpineItems

      public EpubContentItem getSpineItems(int index)
       Ordered list of content items as they appear in the spine
       This defines the reading order and is essential for proper chunking
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubContentItem spine_items = 3 [json_name = "spineItems"];
      Specified by:
      getSpineItems in interface EpubMetadataOrBuilder
    • getSpineItemsOrBuilder

      public EpubContentItemOrBuilder getSpineItemsOrBuilder(int index)
       Ordered list of content items as they appear in the spine
       This defines the reading order and is essential for proper chunking
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubContentItem spine_items = 3 [json_name = "spineItems"];
      Specified by:
      getSpineItemsOrBuilder in interface EpubMetadataOrBuilder
    • getManifestItemsList

      public List<EpubManifestItem> getManifestItemsList()
       Complete manifest of all resources in the EPUB
       Includes content files, stylesheets, images, fonts, etc.
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubManifestItem manifest_items = 4 [json_name = "manifestItems"];
      Specified by:
      getManifestItemsList in interface EpubMetadataOrBuilder
    • getManifestItemsOrBuilderList

      public List<? extends EpubManifestItemOrBuilder> getManifestItemsOrBuilderList()
       Complete manifest of all resources in the EPUB
       Includes content files, stylesheets, images, fonts, etc.
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubManifestItem manifest_items = 4 [json_name = "manifestItems"];
      Specified by:
      getManifestItemsOrBuilderList in interface EpubMetadataOrBuilder
    • getManifestItemsCount

      public int getManifestItemsCount()
       Complete manifest of all resources in the EPUB
       Includes content files, stylesheets, images, fonts, etc.
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubManifestItem manifest_items = 4 [json_name = "manifestItems"];
      Specified by:
      getManifestItemsCount in interface EpubMetadataOrBuilder
    • getManifestItems

      public EpubManifestItem getManifestItems(int index)
       Complete manifest of all resources in the EPUB
       Includes content files, stylesheets, images, fonts, etc.
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubManifestItem manifest_items = 4 [json_name = "manifestItems"];
      Specified by:
      getManifestItems in interface EpubMetadataOrBuilder
    • getManifestItemsOrBuilder

      public EpubManifestItemOrBuilder getManifestItemsOrBuilder(int index)
       Complete manifest of all resources in the EPUB
       Includes content files, stylesheets, images, fonts, etc.
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubManifestItem manifest_items = 4 [json_name = "manifestItems"];
      Specified by:
      getManifestItemsOrBuilder in interface EpubMetadataOrBuilder
    • getTableOfContentsList

      public List<EpubTocItem> getTableOfContentsList()
       Table of Contents structure (if available)
       Extracted from NCX or Navigation Document
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubTocItem table_of_contents = 5 [json_name = "tableOfContents"];
      Specified by:
      getTableOfContentsList in interface EpubMetadataOrBuilder
    • getTableOfContentsOrBuilderList

      public List<? extends EpubTocItemOrBuilder> getTableOfContentsOrBuilderList()
       Table of Contents structure (if available)
       Extracted from NCX or Navigation Document
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubTocItem table_of_contents = 5 [json_name = "tableOfContents"];
      Specified by:
      getTableOfContentsOrBuilderList in interface EpubMetadataOrBuilder
    • getTableOfContentsCount

      public int getTableOfContentsCount()
       Table of Contents structure (if available)
       Extracted from NCX or Navigation Document
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubTocItem table_of_contents = 5 [json_name = "tableOfContents"];
      Specified by:
      getTableOfContentsCount in interface EpubMetadataOrBuilder
    • getTableOfContents

      public EpubTocItem getTableOfContents(int index)
       Table of Contents structure (if available)
       Extracted from NCX or Navigation Document
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubTocItem table_of_contents = 5 [json_name = "tableOfContents"];
      Specified by:
      getTableOfContents in interface EpubMetadataOrBuilder
    • getTableOfContentsOrBuilder

      public EpubTocItemOrBuilder getTableOfContentsOrBuilder(int index)
       Table of Contents structure (if available)
       Extracted from NCX or Navigation Document
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubTocItem table_of_contents = 5 [json_name = "tableOfContents"];
      Specified by:
      getTableOfContentsOrBuilder in interface EpubMetadataOrBuilder
    • hasRootOpfPath

      public boolean hasRootOpfPath()
       Root OPF file path within the EPUB ZIP
       e.g., "OEBPS/content.opf" or "META-INF/content.opf"
       
      optional string root_opf_path = 6 [json_name = "rootOpfPath"];
      Specified by:
      hasRootOpfPath in interface EpubMetadataOrBuilder
      Returns:
      Whether the rootOpfPath field is set.
    • getRootOpfPath

      public String getRootOpfPath()
       Root OPF file path within the EPUB ZIP
       e.g., "OEBPS/content.opf" or "META-INF/content.opf"
       
      optional string root_opf_path = 6 [json_name = "rootOpfPath"];
      Specified by:
      getRootOpfPath in interface EpubMetadataOrBuilder
      Returns:
      The rootOpfPath.
    • getRootOpfPathBytes

      public com.google.protobuf.ByteString getRootOpfPathBytes()
       Root OPF file path within the EPUB ZIP
       e.g., "OEBPS/content.opf" or "META-INF/content.opf"
       
      optional string root_opf_path = 6 [json_name = "rootOpfPath"];
      Specified by:
      getRootOpfPathBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for rootOpfPath.
    • hasMimetype

      public boolean hasMimetype()
       MIME type from mimetype file (should be "application/epub+zip")
       From mimetype file
       
      optional string mimetype = 7 [json_name = "mimetype"];
      Specified by:
      hasMimetype in interface EpubMetadataOrBuilder
      Returns:
      Whether the mimetype field is set.
    • getMimetype

      public String getMimetype()
       MIME type from mimetype file (should be "application/epub+zip")
       From mimetype file
       
      optional string mimetype = 7 [json_name = "mimetype"];
      Specified by:
      getMimetype in interface EpubMetadataOrBuilder
      Returns:
      The mimetype.
    • getMimetypeBytes

      public com.google.protobuf.ByteString getMimetypeBytes()
       MIME type from mimetype file (should be "application/epub+zip")
       From mimetype file
       
      optional string mimetype = 7 [json_name = "mimetype"];
      Specified by:
      getMimetypeBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for mimetype.
    • hasHasDrm

      public boolean hasHasDrm()
       Whether the EPUB contains encrypted/DRM-protected content
       
      optional bool has_drm = 8 [json_name = "hasDrm"];
      Specified by:
      hasHasDrm in interface EpubMetadataOrBuilder
      Returns:
      Whether the hasDrm field is set.
    • getHasDrm

      public boolean getHasDrm()
       Whether the EPUB contains encrypted/DRM-protected content
       
      optional bool has_drm = 8 [json_name = "hasDrm"];
      Specified by:
      getHasDrm in interface EpubMetadataOrBuilder
      Returns:
      The hasDrm.
    • getEncryptedResourcesList

      public com.google.protobuf.ProtocolStringList getEncryptedResourcesList()
       List of encrypted resource paths (if any)
       
      repeated string encrypted_resources = 9 [json_name = "encryptedResources"];
      Specified by:
      getEncryptedResourcesList in interface EpubMetadataOrBuilder
      Returns:
      A list containing the encryptedResources.
    • getEncryptedResourcesCount

      public int getEncryptedResourcesCount()
       List of encrypted resource paths (if any)
       
      repeated string encrypted_resources = 9 [json_name = "encryptedResources"];
      Specified by:
      getEncryptedResourcesCount in interface EpubMetadataOrBuilder
      Returns:
      The count of encryptedResources.
    • getEncryptedResources

      public String getEncryptedResources(int index)
       List of encrypted resource paths (if any)
       
      repeated string encrypted_resources = 9 [json_name = "encryptedResources"];
      Specified by:
      getEncryptedResources in interface EpubMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The encryptedResources at the given index.
    • getEncryptedResourcesBytes

      public com.google.protobuf.ByteString getEncryptedResourcesBytes(int index)
       List of encrypted resource paths (if any)
       
      repeated string encrypted_resources = 9 [json_name = "encryptedResources"];
      Specified by:
      getEncryptedResourcesBytes in interface EpubMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the encryptedResources at the given index.
    • hasContentFileCount

      public boolean hasContentFileCount()
       Total number of content files (XHTML/HTML files in spine)
       
      optional int32 content_file_count = 10 [json_name = "contentFileCount"];
      Specified by:
      hasContentFileCount in interface EpubMetadataOrBuilder
      Returns:
      Whether the contentFileCount field is set.
    • getContentFileCount

      public int getContentFileCount()
       Total number of content files (XHTML/HTML files in spine)
       
      optional int32 content_file_count = 10 [json_name = "contentFileCount"];
      Specified by:
      getContentFileCount in interface EpubMetadataOrBuilder
      Returns:
      The contentFileCount.
    • hasEmbeddedResourceCount

      public boolean hasEmbeddedResourceCount()
       Total number of embedded resources (images, fonts, CSS, etc.)
       
      optional int32 embedded_resource_count = 11 [json_name = "embeddedResourceCount"];
      Specified by:
      hasEmbeddedResourceCount in interface EpubMetadataOrBuilder
      Returns:
      Whether the embeddedResourceCount field is set.
    • getEmbeddedResourceCount

      public int getEmbeddedResourceCount()
       Total number of embedded resources (images, fonts, CSS, etc.)
       
      optional int32 embedded_resource_count = 11 [json_name = "embeddedResourceCount"];
      Specified by:
      getEmbeddedResourceCount in interface EpubMetadataOrBuilder
      Returns:
      The embeddedResourceCount.
    • hasEstimatedWordCount

      public boolean hasEstimatedWordCount()
       Estimated total word count across all content files
       Useful for chunking decisions
       
      optional int64 estimated_word_count = 12 [json_name = "estimatedWordCount"];
      Specified by:
      hasEstimatedWordCount in interface EpubMetadataOrBuilder
      Returns:
      Whether the estimatedWordCount field is set.
    • getEstimatedWordCount

      public long getEstimatedWordCount()
       Estimated total word count across all content files
       Useful for chunking decisions
       
      optional int64 estimated_word_count = 12 [json_name = "estimatedWordCount"];
      Specified by:
      getEstimatedWordCount in interface EpubMetadataOrBuilder
      Returns:
      The estimatedWordCount.
    • hasEstimatedCharacterCount

      public boolean hasEstimatedCharacterCount()
       Estimated total character count across all content files
       
      optional int64 estimated_character_count = 13 [json_name = "estimatedCharacterCount"];
      Specified by:
      hasEstimatedCharacterCount in interface EpubMetadataOrBuilder
      Returns:
      Whether the estimatedCharacterCount field is set.
    • getEstimatedCharacterCount

      public long getEstimatedCharacterCount()
       Estimated total character count across all content files
       
      optional int64 estimated_character_count = 13 [json_name = "estimatedCharacterCount"];
      Specified by:
      getEstimatedCharacterCount in interface EpubMetadataOrBuilder
      Returns:
      The estimatedCharacterCount.
    • hasContentLanguage

      public boolean hasContentLanguage()
       Primary content language detected from content files
       May differ from Dublin Core language if mixed-language content
       
      optional string content_language = 14 [json_name = "contentLanguage"];
      Specified by:
      hasContentLanguage in interface EpubMetadataOrBuilder
      Returns:
      Whether the contentLanguage field is set.
    • getContentLanguage

      public String getContentLanguage()
       Primary content language detected from content files
       May differ from Dublin Core language if mixed-language content
       
      optional string content_language = 14 [json_name = "contentLanguage"];
      Specified by:
      getContentLanguage in interface EpubMetadataOrBuilder
      Returns:
      The contentLanguage.
    • getContentLanguageBytes

      public com.google.protobuf.ByteString getContentLanguageBytes()
       Primary content language detected from content files
       May differ from Dublin Core language if mixed-language content
       
      optional string content_language = 14 [json_name = "contentLanguage"];
      Specified by:
      getContentLanguageBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for contentLanguage.
    • getImagesList

      public List<EpubEmbeddedResource> getImagesList()
       Images embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];
      Specified by:
      getImagesList in interface EpubMetadataOrBuilder
    • getImagesOrBuilderList

      public List<? extends EpubEmbeddedResourceOrBuilder> getImagesOrBuilderList()
       Images embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];
      Specified by:
      getImagesOrBuilderList in interface EpubMetadataOrBuilder
    • getImagesCount

      public int getImagesCount()
       Images embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];
      Specified by:
      getImagesCount in interface EpubMetadataOrBuilder
    • getImages

      public EpubEmbeddedResource getImages(int index)
       Images embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];
      Specified by:
      getImages in interface EpubMetadataOrBuilder
    • getImagesOrBuilder

      public EpubEmbeddedResourceOrBuilder getImagesOrBuilder(int index)
       Images embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];
      Specified by:
      getImagesOrBuilder in interface EpubMetadataOrBuilder
    • getFontsList

      public List<EpubEmbeddedResource> getFontsList()
       Fonts embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];
      Specified by:
      getFontsList in interface EpubMetadataOrBuilder
    • getFontsOrBuilderList

      public List<? extends EpubEmbeddedResourceOrBuilder> getFontsOrBuilderList()
       Fonts embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];
      Specified by:
      getFontsOrBuilderList in interface EpubMetadataOrBuilder
    • getFontsCount

      public int getFontsCount()
       Fonts embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];
      Specified by:
      getFontsCount in interface EpubMetadataOrBuilder
    • getFonts

      public EpubEmbeddedResource getFonts(int index)
       Fonts embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];
      Specified by:
      getFonts in interface EpubMetadataOrBuilder
    • getFontsOrBuilder

      public EpubEmbeddedResourceOrBuilder getFontsOrBuilder(int index)
       Fonts embedded in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];
      Specified by:
      getFontsOrBuilder in interface EpubMetadataOrBuilder
    • getStylesheetsList

      public List<EpubEmbeddedResource> getStylesheetsList()
       Stylesheets (CSS) in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];
      Specified by:
      getStylesheetsList in interface EpubMetadataOrBuilder
    • getStylesheetsOrBuilderList

      public List<? extends EpubEmbeddedResourceOrBuilder> getStylesheetsOrBuilderList()
       Stylesheets (CSS) in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];
      Specified by:
      getStylesheetsOrBuilderList in interface EpubMetadataOrBuilder
    • getStylesheetsCount

      public int getStylesheetsCount()
       Stylesheets (CSS) in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];
      Specified by:
      getStylesheetsCount in interface EpubMetadataOrBuilder
    • getStylesheets

      public EpubEmbeddedResource getStylesheets(int index)
       Stylesheets (CSS) in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];
      Specified by:
      getStylesheets in interface EpubMetadataOrBuilder
    • getStylesheetsOrBuilder

      public EpubEmbeddedResourceOrBuilder getStylesheetsOrBuilder(int index)
       Stylesheets (CSS) in the EPUB
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];
      Specified by:
      getStylesheetsOrBuilder in interface EpubMetadataOrBuilder
    • getOtherResourcesList

      public List<EpubEmbeddedResource> getOtherResourcesList()
       Other embedded resources (audio, video, scripts, etc.)
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];
      Specified by:
      getOtherResourcesList in interface EpubMetadataOrBuilder
    • getOtherResourcesOrBuilderList

      public List<? extends EpubEmbeddedResourceOrBuilder> getOtherResourcesOrBuilderList()
       Other embedded resources (audio, video, scripts, etc.)
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];
      Specified by:
      getOtherResourcesOrBuilderList in interface EpubMetadataOrBuilder
    • getOtherResourcesCount

      public int getOtherResourcesCount()
       Other embedded resources (audio, video, scripts, etc.)
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];
      Specified by:
      getOtherResourcesCount in interface EpubMetadataOrBuilder
    • getOtherResources

      public EpubEmbeddedResource getOtherResources(int index)
       Other embedded resources (audio, video, scripts, etc.)
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];
      Specified by:
      getOtherResources in interface EpubMetadataOrBuilder
    • getOtherResourcesOrBuilder

      public EpubEmbeddedResourceOrBuilder getOtherResourcesOrBuilder(int index)
       Other embedded resources (audio, video, scripts, etc.)
       
      repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];
      Specified by:
      getOtherResourcesOrBuilder in interface EpubMetadataOrBuilder
    • hasNavigationDocumentPath

      public boolean hasNavigationDocumentPath()
       Navigation document path (EPUB 3) or NCX file path (EPUB 2)
       
      optional string navigation_document_path = 19 [json_name = "navigationDocumentPath"];
      Specified by:
      hasNavigationDocumentPath in interface EpubMetadataOrBuilder
      Returns:
      Whether the navigationDocumentPath field is set.
    • getNavigationDocumentPath

      public String getNavigationDocumentPath()
       Navigation document path (EPUB 3) or NCX file path (EPUB 2)
       
      optional string navigation_document_path = 19 [json_name = "navigationDocumentPath"];
      Specified by:
      getNavigationDocumentPath in interface EpubMetadataOrBuilder
      Returns:
      The navigationDocumentPath.
    • getNavigationDocumentPathBytes

      public com.google.protobuf.ByteString getNavigationDocumentPathBytes()
       Navigation document path (EPUB 3) or NCX file path (EPUB 2)
       
      optional string navigation_document_path = 19 [json_name = "navigationDocumentPath"];
      Specified by:
      getNavigationDocumentPathBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for navigationDocumentPath.
    • hasCoverImagePath

      public boolean hasCoverImagePath()
       Cover image path (if specified in metadata)
       
      optional string cover_image_path = 20 [json_name = "coverImagePath"];
      Specified by:
      hasCoverImagePath in interface EpubMetadataOrBuilder
      Returns:
      Whether the coverImagePath field is set.
    • getCoverImagePath

      public String getCoverImagePath()
       Cover image path (if specified in metadata)
       
      optional string cover_image_path = 20 [json_name = "coverImagePath"];
      Specified by:
      getCoverImagePath in interface EpubMetadataOrBuilder
      Returns:
      The coverImagePath.
    • getCoverImagePathBytes

      public com.google.protobuf.ByteString getCoverImagePathBytes()
       Cover image path (if specified in metadata)
       
      optional string cover_image_path = 20 [json_name = "coverImagePath"];
      Specified by:
      getCoverImagePathBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for coverImagePath.
    • hasUniqueIdentifier

      public boolean hasUniqueIdentifier()
       Unique identifier from the package (usually ISBN or similar)
       
      optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];
      Specified by:
      hasUniqueIdentifier in interface EpubMetadataOrBuilder
      Returns:
      Whether the uniqueIdentifier field is set.
    • getUniqueIdentifier

      public String getUniqueIdentifier()
       Unique identifier from the package (usually ISBN or similar)
       
      optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];
      Specified by:
      getUniqueIdentifier in interface EpubMetadataOrBuilder
      Returns:
      The uniqueIdentifier.
    • getUniqueIdentifierBytes

      public com.google.protobuf.ByteString getUniqueIdentifierBytes()
       Unique identifier from the package (usually ISBN or similar)
       
      optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];
      Specified by:
      getUniqueIdentifierBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for uniqueIdentifier.
    • hasReadingDirection

      public boolean hasReadingDirection()
       Suggested reading direction (ltr, rtl)
       Important for proper text processing and chunking
       
      optional string reading_direction = 22 [json_name = "readingDirection"];
      Specified by:
      hasReadingDirection in interface EpubMetadataOrBuilder
      Returns:
      Whether the readingDirection field is set.
    • getReadingDirection

      public String getReadingDirection()
       Suggested reading direction (ltr, rtl)
       Important for proper text processing and chunking
       
      optional string reading_direction = 22 [json_name = "readingDirection"];
      Specified by:
      getReadingDirection in interface EpubMetadataOrBuilder
      Returns:
      The readingDirection.
    • getReadingDirectionBytes

      public com.google.protobuf.ByteString getReadingDirectionBytes()
       Suggested reading direction (ltr, rtl)
       Important for proper text processing and chunking
       
      optional string reading_direction = 22 [json_name = "readingDirection"];
      Specified by:
      getReadingDirectionBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for readingDirection.
    • hasHasMathml

      public boolean hasHasMathml()
       Whether content contains mathematical notation (MathML)
       
      optional bool has_mathml = 23 [json_name = "hasMathml"];
      Specified by:
      hasHasMathml in interface EpubMetadataOrBuilder
      Returns:
      Whether the hasMathml field is set.
    • getHasMathml

      public boolean getHasMathml()
       Whether content contains mathematical notation (MathML)
       
      optional bool has_mathml = 23 [json_name = "hasMathml"];
      Specified by:
      getHasMathml in interface EpubMetadataOrBuilder
      Returns:
      The hasMathml.
    • hasHasSvg

      public boolean hasHasSvg()
       Whether content contains SVG graphics
       
      optional bool has_svg = 24 [json_name = "hasSvg"];
      Specified by:
      hasHasSvg in interface EpubMetadataOrBuilder
      Returns:
      Whether the hasSvg field is set.
    • getHasSvg

      public boolean getHasSvg()
       Whether content contains SVG graphics
       
      optional bool has_svg = 24 [json_name = "hasSvg"];
      Specified by:
      getHasSvg in interface EpubMetadataOrBuilder
      Returns:
      The hasSvg.
    • hasHasScriptedContent

      public boolean hasHasScriptedContent()
       Whether content contains scripted content (JavaScript)
       
      optional bool has_scripted_content = 25 [json_name = "hasScriptedContent"];
      Specified by:
      hasHasScriptedContent in interface EpubMetadataOrBuilder
      Returns:
      Whether the hasScriptedContent field is set.
    • getHasScriptedContent

      public boolean getHasScriptedContent()
       Whether content contains scripted content (JavaScript)
       
      optional bool has_scripted_content = 25 [json_name = "hasScriptedContent"];
      Specified by:
      getHasScriptedContent in interface EpubMetadataOrBuilder
      Returns:
      The hasScriptedContent.
    • getAccessibilityFeaturesList

      public com.google.protobuf.ProtocolStringList getAccessibilityFeaturesList()
       Accessibility features present in the EPUB
       
      repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];
      Specified by:
      getAccessibilityFeaturesList in interface EpubMetadataOrBuilder
      Returns:
      A list containing the accessibilityFeatures.
    • getAccessibilityFeaturesCount

      public int getAccessibilityFeaturesCount()
       Accessibility features present in the EPUB
       
      repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];
      Specified by:
      getAccessibilityFeaturesCount in interface EpubMetadataOrBuilder
      Returns:
      The count of accessibilityFeatures.
    • getAccessibilityFeatures

      public String getAccessibilityFeatures(int index)
       Accessibility features present in the EPUB
       
      repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];
      Specified by:
      getAccessibilityFeatures in interface EpubMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The accessibilityFeatures at the given index.
    • getAccessibilityFeaturesBytes

      public com.google.protobuf.ByteString getAccessibilityFeaturesBytes(int index)
       Accessibility features present in the EPUB
       
      repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];
      Specified by:
      getAccessibilityFeaturesBytes in interface EpubMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the accessibilityFeatures at the given index.
    • getAccessibilityHazardsList

      public com.google.protobuf.ProtocolStringList getAccessibilityHazardsList()
       Accessibility hazards (if any)
       
      repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];
      Specified by:
      getAccessibilityHazardsList in interface EpubMetadataOrBuilder
      Returns:
      A list containing the accessibilityHazards.
    • getAccessibilityHazardsCount

      public int getAccessibilityHazardsCount()
       Accessibility hazards (if any)
       
      repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];
      Specified by:
      getAccessibilityHazardsCount in interface EpubMetadataOrBuilder
      Returns:
      The count of accessibilityHazards.
    • getAccessibilityHazards

      public String getAccessibilityHazards(int index)
       Accessibility hazards (if any)
       
      repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];
      Specified by:
      getAccessibilityHazards in interface EpubMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The accessibilityHazards at the given index.
    • getAccessibilityHazardsBytes

      public com.google.protobuf.ByteString getAccessibilityHazardsBytes(int index)
       Accessibility hazards (if any)
       
      repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];
      Specified by:
      getAccessibilityHazardsBytes in interface EpubMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the accessibilityHazards at the given index.
    • hasAccessibilitySummary

      public boolean hasAccessibilitySummary()
       Accessibility summary or description
       
      optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];
      Specified by:
      hasAccessibilitySummary in interface EpubMetadataOrBuilder
      Returns:
      Whether the accessibilitySummary field is set.
    • getAccessibilitySummary

      public String getAccessibilitySummary()
       Accessibility summary or description
       
      optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];
      Specified by:
      getAccessibilitySummary in interface EpubMetadataOrBuilder
      Returns:
      The accessibilitySummary.
    • getAccessibilitySummaryBytes

      public com.google.protobuf.ByteString getAccessibilitySummaryBytes()
       Accessibility summary or description
       
      optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];
      Specified by:
      getAccessibilitySummaryBytes in interface EpubMetadataOrBuilder
      Returns:
      The bytes for accessibilitySummary.
    • hasAdditionalMetadata

      public boolean hasAdditionalMetadata()
       === Catch-all for unmapped EPUB-specific metadata ===
       
      .google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"];
      Specified by:
      hasAdditionalMetadata in interface EpubMetadataOrBuilder
      Returns:
      Whether the additionalMetadata field is set.
    • getAdditionalMetadata

      public com.google.protobuf.Struct getAdditionalMetadata()
       === Catch-all for unmapped EPUB-specific metadata ===
       
      .google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"];
      Specified by:
      getAdditionalMetadata in interface EpubMetadataOrBuilder
      Returns:
      The additionalMetadata.
    • getAdditionalMetadataOrBuilder

      public com.google.protobuf.StructOrBuilder getAdditionalMetadataOrBuilder()
       === Catch-all for unmapped EPUB-specific metadata ===
       
      .google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"];
      Specified by:
      getAdditionalMetadataOrBuilder in interface EpubMetadataOrBuilder
    • hasBaseFields

      public boolean hasBaseFields()
       Base Tika fields common to all document types
       
      .ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"];
      Specified by:
      hasBaseFields in interface EpubMetadataOrBuilder
      Returns:
      Whether the baseFields field is set.
    • getBaseFields

      public TikaBaseFields getBaseFields()
       Base Tika fields common to all document types
       
      .ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"];
      Specified by:
      getBaseFields in interface EpubMetadataOrBuilder
      Returns:
      The baseFields.
    • getBaseFieldsOrBuilder

      public TikaBaseFieldsOrBuilder getBaseFieldsOrBuilder()
       Base Tika fields common to all document types
       
      .ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"];
      Specified by:
      getBaseFieldsOrBuilder in interface EpubMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EpubMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EpubMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EpubMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EpubMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EpubMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EpubMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EpubMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EpubMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EpubMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EpubMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EpubMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EpubMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EpubMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EpubMetadata.Builder newBuilder()
    • newBuilder

      public static EpubMetadata.Builder newBuilder(EpubMetadata prototype)
    • toBuilder

      public EpubMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EpubMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static EpubMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EpubMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<EpubMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public EpubMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder