Class EpubMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EpubMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<EpubMetadata.Builder>
ai.pipestream.parsed.data.epub.v1.EpubMetadata.Builder
- All Implemented Interfaces:
EpubMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
EpubMetadata
public static final class EpubMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EpubMetadata.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAccessibilityFeatures(String value) Accessibility features present in the EPUBaddAccessibilityFeaturesBytes(com.google.protobuf.ByteString value) Accessibility features present in the EPUBaddAccessibilityHazards(String value) Accessibility hazards (if any)addAccessibilityHazardsBytes(com.google.protobuf.ByteString value) Accessibility hazards (if any)addAllAccessibilityFeatures(Iterable<String> values) Accessibility features present in the EPUBaddAllAccessibilityHazards(Iterable<String> values) Accessibility hazards (if any)addAllEncryptedResources(Iterable<String> values) List of encrypted resource paths (if any)addAllFonts(Iterable<? extends EpubEmbeddedResource> values) Fonts embedded in the EPUBaddAllImages(Iterable<? extends EpubEmbeddedResource> values) Images embedded in the EPUBaddAllManifestItems(Iterable<? extends EpubManifestItem> values) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.addAllOtherResources(Iterable<? extends EpubEmbeddedResource> values) Other embedded resources (audio, video, scripts, etc.)addAllSpineItems(Iterable<? extends EpubContentItem> values) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingaddAllStylesheets(Iterable<? extends EpubEmbeddedResource> values) Stylesheets (CSS) in the EPUBaddAllTableOfContents(Iterable<? extends EpubTocItem> values) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentaddEncryptedResources(String value) List of encrypted resource paths (if any)addEncryptedResourcesBytes(com.google.protobuf.ByteString value) List of encrypted resource paths (if any)addFonts(int index, EpubEmbeddedResource value) Fonts embedded in the EPUBaddFonts(int index, EpubEmbeddedResource.Builder builderForValue) Fonts embedded in the EPUBaddFonts(EpubEmbeddedResource value) Fonts embedded in the EPUBaddFonts(EpubEmbeddedResource.Builder builderForValue) Fonts embedded in the EPUBFonts embedded in the EPUBaddFontsBuilder(int index) Fonts embedded in the EPUBaddImages(int index, EpubEmbeddedResource value) Images embedded in the EPUBaddImages(int index, EpubEmbeddedResource.Builder builderForValue) Images embedded in the EPUBaddImages(EpubEmbeddedResource value) Images embedded in the EPUBaddImages(EpubEmbeddedResource.Builder builderForValue) Images embedded in the EPUBImages embedded in the EPUBaddImagesBuilder(int index) Images embedded in the EPUBaddManifestItems(int index, EpubManifestItem value) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.addManifestItems(int index, EpubManifestItem.Builder builderForValue) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.addManifestItems(EpubManifestItem value) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.addManifestItems(EpubManifestItem.Builder builderForValue) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.addManifestItemsBuilder(int index) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.addOtherResources(int index, EpubEmbeddedResource value) Other embedded resources (audio, video, scripts, etc.)addOtherResources(int index, EpubEmbeddedResource.Builder builderForValue) Other embedded resources (audio, video, scripts, etc.)Other embedded resources (audio, video, scripts, etc.)addOtherResources(EpubEmbeddedResource.Builder builderForValue) Other embedded resources (audio, video, scripts, etc.)Other embedded resources (audio, video, scripts, etc.)addOtherResourcesBuilder(int index) Other embedded resources (audio, video, scripts, etc.)addSpineItems(int index, EpubContentItem value) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingaddSpineItems(int index, EpubContentItem.Builder builderForValue) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingaddSpineItems(EpubContentItem value) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingaddSpineItems(EpubContentItem.Builder builderForValue) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingOrdered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingaddSpineItemsBuilder(int index) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingaddStylesheets(int index, EpubEmbeddedResource value) Stylesheets (CSS) in the EPUBaddStylesheets(int index, EpubEmbeddedResource.Builder builderForValue) Stylesheets (CSS) in the EPUBStylesheets (CSS) in the EPUBaddStylesheets(EpubEmbeddedResource.Builder builderForValue) Stylesheets (CSS) in the EPUBStylesheets (CSS) in the EPUBaddStylesheetsBuilder(int index) Stylesheets (CSS) in the EPUBaddTableOfContents(int index, EpubTocItem value) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentaddTableOfContents(int index, EpubTocItem.Builder builderForValue) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentaddTableOfContents(EpubTocItem value) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentaddTableOfContents(EpubTocItem.Builder builderForValue) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentTable of Contents structure (if available) Extracted from NCX or Navigation DocumentaddTableOfContentsBuilder(int index) Table of Contents structure (if available) Extracted from NCX or Navigation Documentbuild()clear()Accessibility features present in the EPUBAccessibility hazards (if any)Accessibility summary or description=== Catch-all for unmapped EPUB-specific metadata ===Base Tika fields common to all document typesTotal number of content files (XHTML/HTML files in spine)Primary content language detected from content files May differ from Dublin Core language if mixed-language contentCover image path (if specified in metadata)Total number of embedded resources (images, fonts, CSS, etc.)List of encrypted resource paths (if any)Estimated total character count across all content filesEstimated total word count across all content files Useful for chunking decisionsFonts embedded in the EPUBWhether the EPUB contains encrypted/DRM-protected contentWhether content contains mathematical notation (MathML)Whether content contains scripted content (JavaScript)Whether content contains SVG graphicsImages embedded in the EPUBComplete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.MIME type from mimetype file (should be "application/epub+zip") From mimetype fileNavigation document path (EPUB 3) or NCX file path (EPUB 2)Other embedded resources (audio, video, scripts, etc.)Suggested reading direction (ltr, rtl) Important for proper text processing and chunkingEPUB 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_LAYOUTRoot OPF file path within the EPUB ZIP e.g., "OEBPS/content.opf" or "META-INF/content.opf"Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingStylesheets (CSS) in the EPUBTable of Contents structure (if available) Extracted from NCX or Navigation DocumentUnique identifier from the package (usually ISBN or similar)EPUB specification version (e.g., "2.0", "3.0", "3.1") Extracted from package element version attribute in OPF file Epub.VERSIONgetAccessibilityFeatures(int index) Accessibility features present in the EPUBcom.google.protobuf.ByteStringgetAccessibilityFeaturesBytes(int index) Accessibility features present in the EPUBintAccessibility features present in the EPUBcom.google.protobuf.ProtocolStringListAccessibility features present in the EPUBgetAccessibilityHazards(int index) Accessibility hazards (if any)com.google.protobuf.ByteStringgetAccessibilityHazardsBytes(int index) Accessibility hazards (if any)intAccessibility hazards (if any)com.google.protobuf.ProtocolStringListAccessibility hazards (if any)Accessibility summary or descriptioncom.google.protobuf.ByteStringAccessibility summary or descriptioncom.google.protobuf.Struct=== Catch-all for unmapped EPUB-specific metadata ===com.google.protobuf.Struct.Builder=== Catch-all for unmapped EPUB-specific metadata ===com.google.protobuf.StructOrBuilder=== Catch-all for unmapped EPUB-specific metadata ===Base Tika fields common to all document typesBase Tika fields common to all document typesBase Tika fields common to all document typesintTotal number of content files (XHTML/HTML files in spine)Primary content language detected from content files May differ from Dublin Core language if mixed-language contentcom.google.protobuf.ByteStringPrimary content language detected from content files May differ from Dublin Core language if mixed-language contentCover image path (if specified in metadata)com.google.protobuf.ByteStringCover image path (if specified in metadata)static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintTotal number of embedded resources (images, fonts, CSS, etc.)getEncryptedResources(int index) List of encrypted resource paths (if any)com.google.protobuf.ByteStringgetEncryptedResourcesBytes(int index) List of encrypted resource paths (if any)intList of encrypted resource paths (if any)com.google.protobuf.ProtocolStringListList of encrypted resource paths (if any)longEstimated total character count across all content fileslongEstimated total word count across all content files Useful for chunking decisionsgetFonts(int index) Fonts embedded in the EPUBgetFontsBuilder(int index) Fonts embedded in the EPUBFonts embedded in the EPUBintFonts embedded in the EPUBFonts embedded in the EPUBgetFontsOrBuilder(int index) Fonts embedded in the EPUBList<? extends EpubEmbeddedResourceOrBuilder> Fonts embedded in the EPUBbooleanWhether the EPUB contains encrypted/DRM-protected contentbooleanWhether content contains mathematical notation (MathML)booleanWhether content contains scripted content (JavaScript)booleanWhether content contains SVG graphicsgetImages(int index) Images embedded in the EPUBgetImagesBuilder(int index) Images embedded in the EPUBImages embedded in the EPUBintImages embedded in the EPUBImages embedded in the EPUBgetImagesOrBuilder(int index) Images embedded in the EPUBList<? extends EpubEmbeddedResourceOrBuilder> Images embedded in the EPUBgetManifestItems(int index) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.getManifestItemsBuilder(int index) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.intComplete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.getManifestItemsOrBuilder(int index) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.List<? extends EpubManifestItemOrBuilder> Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.MIME type from mimetype file (should be "application/epub+zip") From mimetype filecom.google.protobuf.ByteStringMIME type from mimetype file (should be "application/epub+zip") From mimetype fileNavigation document path (EPUB 3) or NCX file path (EPUB 2)com.google.protobuf.ByteStringNavigation document path (EPUB 3) or NCX file path (EPUB 2)getOtherResources(int index) Other embedded resources (audio, video, scripts, etc.)getOtherResourcesBuilder(int index) Other embedded resources (audio, video, scripts, etc.)Other embedded resources (audio, video, scripts, etc.)intOther embedded resources (audio, video, scripts, etc.)Other embedded resources (audio, video, scripts, etc.)getOtherResourcesOrBuilder(int index) Other embedded resources (audio, video, scripts, etc.)List<? extends EpubEmbeddedResourceOrBuilder> Other embedded resources (audio, video, scripts, etc.)Suggested reading direction (ltr, rtl) Important for proper text processing and chunkingcom.google.protobuf.ByteStringSuggested reading direction (ltr, rtl) Important for proper text processing and chunkingEPUB 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_LAYOUTcom.google.protobuf.ByteStringEPUB 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_LAYOUTRoot OPF file path within the EPUB ZIP e.g., "OEBPS/content.opf" or "META-INF/content.opf"com.google.protobuf.ByteStringRoot OPF file path within the EPUB ZIP e.g., "OEBPS/content.opf" or "META-INF/content.opf"getSpineItems(int index) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkinggetSpineItemsBuilder(int index) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingOrdered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingintOrdered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingOrdered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkinggetSpineItemsOrBuilder(int index) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingList<? extends EpubContentItemOrBuilder> Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkinggetStylesheets(int index) Stylesheets (CSS) in the EPUBgetStylesheetsBuilder(int index) Stylesheets (CSS) in the EPUBStylesheets (CSS) in the EPUBintStylesheets (CSS) in the EPUBStylesheets (CSS) in the EPUBgetStylesheetsOrBuilder(int index) Stylesheets (CSS) in the EPUBList<? extends EpubEmbeddedResourceOrBuilder> Stylesheets (CSS) in the EPUBgetTableOfContents(int index) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentgetTableOfContentsBuilder(int index) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentTable of Contents structure (if available) Extracted from NCX or Navigation DocumentintTable of Contents structure (if available) Extracted from NCX or Navigation DocumentTable of Contents structure (if available) Extracted from NCX or Navigation DocumentgetTableOfContentsOrBuilder(int index) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentList<? extends EpubTocItemOrBuilder> Table of Contents structure (if available) Extracted from NCX or Navigation DocumentUnique identifier from the package (usually ISBN or similar)com.google.protobuf.ByteStringUnique identifier from the package (usually ISBN or similar)EPUB specification version (e.g., "2.0", "3.0", "3.1") Extracted from package element version attribute in OPF file Epub.VERSIONcom.google.protobuf.ByteStringEPUB specification version (e.g., "2.0", "3.0", "3.1") Extracted from package element version attribute in OPF file Epub.VERSIONbooleanAccessibility summary or descriptionboolean=== Catch-all for unmapped EPUB-specific metadata ===booleanBase Tika fields common to all document typesbooleanTotal number of content files (XHTML/HTML files in spine)booleanPrimary content language detected from content files May differ from Dublin Core language if mixed-language contentbooleanCover image path (if specified in metadata)booleanTotal number of embedded resources (images, fonts, CSS, etc.)booleanEstimated total character count across all content filesbooleanEstimated total word count across all content files Useful for chunking decisionsbooleanWhether the EPUB contains encrypted/DRM-protected contentbooleanWhether content contains mathematical notation (MathML)booleanWhether content contains scripted content (JavaScript)booleanWhether content contains SVG graphicsbooleanMIME type from mimetype file (should be "application/epub+zip") From mimetype filebooleanNavigation document path (EPUB 3) or NCX file path (EPUB 2)booleanSuggested reading direction (ltr, rtl) Important for proper text processing and chunkingbooleanEPUB 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_LAYOUTbooleanRoot OPF file path within the EPUB ZIP e.g., "OEBPS/content.opf" or "META-INF/content.opf"booleanUnique identifier from the package (usually ISBN or similar)booleanEPUB specification version (e.g., "2.0", "3.0", "3.1") Extracted from package element version attribute in OPF file Epub.VERSIONprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAdditionalMetadata(com.google.protobuf.Struct value) === Catch-all for unmapped EPUB-specific metadata ===mergeBaseFields(TikaBaseFields value) Base Tika fields common to all document typesmergeFrom(EpubMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFonts(int index) Fonts embedded in the EPUBremoveImages(int index) Images embedded in the EPUBremoveManifestItems(int index) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.removeOtherResources(int index) Other embedded resources (audio, video, scripts, etc.)removeSpineItems(int index) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingremoveStylesheets(int index) Stylesheets (CSS) in the EPUBremoveTableOfContents(int index) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentsetAccessibilityFeatures(int index, String value) Accessibility features present in the EPUBsetAccessibilityHazards(int index, String value) Accessibility hazards (if any)setAccessibilitySummary(String value) Accessibility summary or descriptionsetAccessibilitySummaryBytes(com.google.protobuf.ByteString value) Accessibility summary or descriptionsetAdditionalMetadata(com.google.protobuf.Struct value) === Catch-all for unmapped EPUB-specific metadata ===setAdditionalMetadata(com.google.protobuf.Struct.Builder builderForValue) === Catch-all for unmapped EPUB-specific metadata ===setBaseFields(TikaBaseFields value) Base Tika fields common to all document typessetBaseFields(TikaBaseFields.Builder builderForValue) Base Tika fields common to all document typessetContentFileCount(int value) Total number of content files (XHTML/HTML files in spine)setContentLanguage(String value) Primary content language detected from content files May differ from Dublin Core language if mixed-language contentsetContentLanguageBytes(com.google.protobuf.ByteString value) Primary content language detected from content files May differ from Dublin Core language if mixed-language contentsetCoverImagePath(String value) Cover image path (if specified in metadata)setCoverImagePathBytes(com.google.protobuf.ByteString value) Cover image path (if specified in metadata)setEmbeddedResourceCount(int value) Total number of embedded resources (images, fonts, CSS, etc.)setEncryptedResources(int index, String value) List of encrypted resource paths (if any)setEstimatedCharacterCount(long value) Estimated total character count across all content filessetEstimatedWordCount(long value) Estimated total word count across all content files Useful for chunking decisionssetFonts(int index, EpubEmbeddedResource value) Fonts embedded in the EPUBsetFonts(int index, EpubEmbeddedResource.Builder builderForValue) Fonts embedded in the EPUBsetHasDrm(boolean value) Whether the EPUB contains encrypted/DRM-protected contentsetHasMathml(boolean value) Whether content contains mathematical notation (MathML)setHasScriptedContent(boolean value) Whether content contains scripted content (JavaScript)setHasSvg(boolean value) Whether content contains SVG graphicssetImages(int index, EpubEmbeddedResource value) Images embedded in the EPUBsetImages(int index, EpubEmbeddedResource.Builder builderForValue) Images embedded in the EPUBsetManifestItems(int index, EpubManifestItem value) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.setManifestItems(int index, EpubManifestItem.Builder builderForValue) Complete manifest of all resources in the EPUB Includes content files, stylesheets, images, fonts, etc.setMimetype(String value) MIME type from mimetype file (should be "application/epub+zip") From mimetype filesetMimetypeBytes(com.google.protobuf.ByteString value) MIME type from mimetype file (should be "application/epub+zip") From mimetype filesetNavigationDocumentPath(String value) Navigation document path (EPUB 3) or NCX file path (EPUB 2)setNavigationDocumentPathBytes(com.google.protobuf.ByteString value) Navigation document path (EPUB 3) or NCX file path (EPUB 2)setOtherResources(int index, EpubEmbeddedResource value) Other embedded resources (audio, video, scripts, etc.)setOtherResources(int index, EpubEmbeddedResource.Builder builderForValue) Other embedded resources (audio, video, scripts, etc.)setReadingDirection(String value) Suggested reading direction (ltr, rtl) Important for proper text processing and chunkingsetReadingDirectionBytes(com.google.protobuf.ByteString value) Suggested reading direction (ltr, rtl) Important for proper text processing and chunkingsetRenditionLayout(String value) 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_LAYOUTsetRenditionLayoutBytes(com.google.protobuf.ByteString value) 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_LAYOUTsetRootOpfPath(String value) Root OPF file path within the EPUB ZIP e.g., "OEBPS/content.opf" or "META-INF/content.opf"setRootOpfPathBytes(com.google.protobuf.ByteString value) Root OPF file path within the EPUB ZIP e.g., "OEBPS/content.opf" or "META-INF/content.opf"setSpineItems(int index, EpubContentItem value) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingsetSpineItems(int index, EpubContentItem.Builder builderForValue) Ordered list of content items as they appear in the spine This defines the reading order and is essential for proper chunkingsetStylesheets(int index, EpubEmbeddedResource value) Stylesheets (CSS) in the EPUBsetStylesheets(int index, EpubEmbeddedResource.Builder builderForValue) Stylesheets (CSS) in the EPUBsetTableOfContents(int index, EpubTocItem value) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentsetTableOfContents(int index, EpubTocItem.Builder builderForValue) Table of Contents structure (if available) Extracted from NCX or Navigation DocumentsetUniqueIdentifier(String value) Unique identifier from the package (usually ISBN or similar)setUniqueIdentifierBytes(com.google.protobuf.ByteString value) Unique identifier from the package (usually ISBN or similar)setVersion(String value) EPUB specification version (e.g., "2.0", "3.0", "3.1") Extracted from package element version attribute in OPF file Epub.VERSIONsetVersionBytes(com.google.protobuf.ByteString value) EPUB specification version (e.g., "2.0", "3.0", "3.1") Extracted from package element version attribute in OPF file Epub.VERSIONMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EpubMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EpubMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EpubMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EpubMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EpubMetadata.Builder>
-
mergeFrom
public EpubMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EpubMetadata.Builder>- Throws:
IOException
-
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:
hasRenditionLayoutin interfaceEpubMetadataOrBuilder- Returns:
- Whether the renditionLayout field is set.
-
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:
getRenditionLayoutin interfaceEpubMetadataOrBuilder- 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:
getRenditionLayoutBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for renditionLayout.
-
setRenditionLayout
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"];- Parameters:
value- The renditionLayout to set.- Returns:
- This builder for chaining.
-
clearRenditionLayout
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"];- Returns:
- This builder for chaining.
-
setRenditionLayoutBytes
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"];- Parameters:
value- The bytes for renditionLayout to set.- Returns:
- This builder for chaining.
-
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:
hasVersionin interfaceEpubMetadataOrBuilder- Returns:
- Whether the version field is set.
-
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:
getVersionin interfaceEpubMetadataOrBuilder- 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:
getVersionBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for version.
-
setVersion
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"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
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"];- Returns:
- This builder for chaining.
-
setVersionBytes
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"];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
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:
getSpineItemsListin interfaceEpubMetadataOrBuilder
-
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:
getSpineItemsCountin interfaceEpubMetadataOrBuilder
-
getSpineItems
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:
getSpineItemsin interfaceEpubMetadataOrBuilder
-
setSpineItems
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"]; -
setSpineItems
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"]; -
addSpineItems
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"]; -
addSpineItems
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"]; -
addSpineItems
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"]; -
addSpineItems
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"]; -
addAllSpineItems
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"]; -
clearSpineItems
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"]; -
removeSpineItems
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"]; -
getSpineItemsBuilder
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"]; -
getSpineItemsOrBuilder
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:
getSpineItemsOrBuilderin interfaceEpubMetadataOrBuilder
-
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:
getSpineItemsOrBuilderListin interfaceEpubMetadataOrBuilder
-
addSpineItemsBuilder
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"]; -
addSpineItemsBuilder
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"]; -
getSpineItemsBuilderList
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"]; -
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:
getManifestItemsListin interfaceEpubMetadataOrBuilder
-
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:
getManifestItemsCountin interfaceEpubMetadataOrBuilder
-
getManifestItems
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:
getManifestItemsin interfaceEpubMetadataOrBuilder
-
setManifestItems
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"]; -
setManifestItems
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"]; -
addManifestItems
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"]; -
addManifestItems
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"]; -
addManifestItems
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"]; -
addManifestItems
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"]; -
addAllManifestItems
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"]; -
clearManifestItems
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"]; -
removeManifestItems
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"]; -
getManifestItemsBuilder
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"]; -
getManifestItemsOrBuilder
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:
getManifestItemsOrBuilderin interfaceEpubMetadataOrBuilder
-
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:
getManifestItemsOrBuilderListin interfaceEpubMetadataOrBuilder
-
addManifestItemsBuilder
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"]; -
addManifestItemsBuilder
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"]; -
getManifestItemsBuilderList
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"]; -
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:
getTableOfContentsListin interfaceEpubMetadataOrBuilder
-
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:
getTableOfContentsCountin interfaceEpubMetadataOrBuilder
-
getTableOfContents
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:
getTableOfContentsin interfaceEpubMetadataOrBuilder
-
setTableOfContents
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"]; -
setTableOfContents
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"]; -
addTableOfContents
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"]; -
addTableOfContents
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"]; -
addTableOfContents
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"]; -
addTableOfContents
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"]; -
addAllTableOfContents
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"]; -
clearTableOfContents
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"]; -
removeTableOfContents
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"]; -
getTableOfContentsBuilder
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"]; -
getTableOfContentsOrBuilder
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:
getTableOfContentsOrBuilderin interfaceEpubMetadataOrBuilder
-
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:
getTableOfContentsOrBuilderListin interfaceEpubMetadataOrBuilder
-
addTableOfContentsBuilder
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"]; -
addTableOfContentsBuilder
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"]; -
getTableOfContentsBuilderList
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"]; -
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:
hasRootOpfPathin interfaceEpubMetadataOrBuilder- Returns:
- Whether the rootOpfPath field is set.
-
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:
getRootOpfPathin interfaceEpubMetadataOrBuilder- 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:
getRootOpfPathBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for rootOpfPath.
-
setRootOpfPath
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"];- Parameters:
value- The rootOpfPath to set.- Returns:
- This builder for chaining.
-
clearRootOpfPath
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"];- Returns:
- This builder for chaining.
-
setRootOpfPathBytes
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"];- Parameters:
value- The bytes for rootOpfPath to set.- Returns:
- This builder for chaining.
-
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:
hasMimetypein interfaceEpubMetadataOrBuilder- Returns:
- Whether the mimetype field is set.
-
getMimetype
MIME type from mimetype file (should be "application/epub+zip") From mimetype file
optional string mimetype = 7 [json_name = "mimetype"];- Specified by:
getMimetypein interfaceEpubMetadataOrBuilder- 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:
getMimetypeBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for mimetype.
-
setMimetype
MIME type from mimetype file (should be "application/epub+zip") From mimetype file
optional string mimetype = 7 [json_name = "mimetype"];- Parameters:
value- The mimetype to set.- Returns:
- This builder for chaining.
-
clearMimetype
MIME type from mimetype file (should be "application/epub+zip") From mimetype file
optional string mimetype = 7 [json_name = "mimetype"];- Returns:
- This builder for chaining.
-
setMimetypeBytes
MIME type from mimetype file (should be "application/epub+zip") From mimetype file
optional string mimetype = 7 [json_name = "mimetype"];- Parameters:
value- The bytes for mimetype to set.- Returns:
- This builder for chaining.
-
hasHasDrm
public boolean hasHasDrm()Whether the EPUB contains encrypted/DRM-protected content
optional bool has_drm = 8 [json_name = "hasDrm"];- Specified by:
hasHasDrmin interfaceEpubMetadataOrBuilder- 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:
getHasDrmin interfaceEpubMetadataOrBuilder- Returns:
- The hasDrm.
-
setHasDrm
Whether the EPUB contains encrypted/DRM-protected content
optional bool has_drm = 8 [json_name = "hasDrm"];- Parameters:
value- The hasDrm to set.- Returns:
- This builder for chaining.
-
clearHasDrm
Whether the EPUB contains encrypted/DRM-protected content
optional bool has_drm = 8 [json_name = "hasDrm"];- Returns:
- This builder for chaining.
-
getEncryptedResourcesList
public com.google.protobuf.ProtocolStringList getEncryptedResourcesList()List of encrypted resource paths (if any)
repeated string encrypted_resources = 9 [json_name = "encryptedResources"];- Specified by:
getEncryptedResourcesListin interfaceEpubMetadataOrBuilder- 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:
getEncryptedResourcesCountin interfaceEpubMetadataOrBuilder- Returns:
- The count of encryptedResources.
-
getEncryptedResources
List of encrypted resource paths (if any)
repeated string encrypted_resources = 9 [json_name = "encryptedResources"];- Specified by:
getEncryptedResourcesin interfaceEpubMetadataOrBuilder- 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:
getEncryptedResourcesBytesin interfaceEpubMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the encryptedResources at the given index.
-
setEncryptedResources
List of encrypted resource paths (if any)
repeated string encrypted_resources = 9 [json_name = "encryptedResources"];- Parameters:
index- The index to set the value at.value- The encryptedResources to set.- Returns:
- This builder for chaining.
-
addEncryptedResources
List of encrypted resource paths (if any)
repeated string encrypted_resources = 9 [json_name = "encryptedResources"];- Parameters:
value- The encryptedResources to add.- Returns:
- This builder for chaining.
-
addAllEncryptedResources
List of encrypted resource paths (if any)
repeated string encrypted_resources = 9 [json_name = "encryptedResources"];- Parameters:
values- The encryptedResources to add.- Returns:
- This builder for chaining.
-
clearEncryptedResources
List of encrypted resource paths (if any)
repeated string encrypted_resources = 9 [json_name = "encryptedResources"];- Returns:
- This builder for chaining.
-
addEncryptedResourcesBytes
List of encrypted resource paths (if any)
repeated string encrypted_resources = 9 [json_name = "encryptedResources"];- Parameters:
value- The bytes of the encryptedResources to add.- Returns:
- This builder for chaining.
-
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:
hasContentFileCountin interfaceEpubMetadataOrBuilder- 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:
getContentFileCountin interfaceEpubMetadataOrBuilder- Returns:
- The contentFileCount.
-
setContentFileCount
Total number of content files (XHTML/HTML files in spine)
optional int32 content_file_count = 10 [json_name = "contentFileCount"];- Parameters:
value- The contentFileCount to set.- Returns:
- This builder for chaining.
-
clearContentFileCount
Total number of content files (XHTML/HTML files in spine)
optional int32 content_file_count = 10 [json_name = "contentFileCount"];- Returns:
- This builder for chaining.
-
hasEmbeddedResourceCount
public boolean hasEmbeddedResourceCount()Total number of embedded resources (images, fonts, CSS, etc.)
optional int32 embedded_resource_count = 11 [json_name = "embeddedResourceCount"];- Specified by:
hasEmbeddedResourceCountin interfaceEpubMetadataOrBuilder- 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:
getEmbeddedResourceCountin interfaceEpubMetadataOrBuilder- Returns:
- The embeddedResourceCount.
-
setEmbeddedResourceCount
Total number of embedded resources (images, fonts, CSS, etc.)
optional int32 embedded_resource_count = 11 [json_name = "embeddedResourceCount"];- Parameters:
value- The embeddedResourceCount to set.- Returns:
- This builder for chaining.
-
clearEmbeddedResourceCount
Total number of embedded resources (images, fonts, CSS, etc.)
optional int32 embedded_resource_count = 11 [json_name = "embeddedResourceCount"];- Returns:
- This builder for chaining.
-
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:
hasEstimatedWordCountin interfaceEpubMetadataOrBuilder- 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:
getEstimatedWordCountin interfaceEpubMetadataOrBuilder- Returns:
- The estimatedWordCount.
-
setEstimatedWordCount
Estimated total word count across all content files Useful for chunking decisions
optional int64 estimated_word_count = 12 [json_name = "estimatedWordCount"];- Parameters:
value- The estimatedWordCount to set.- Returns:
- This builder for chaining.
-
clearEstimatedWordCount
Estimated total word count across all content files Useful for chunking decisions
optional int64 estimated_word_count = 12 [json_name = "estimatedWordCount"];- Returns:
- This builder for chaining.
-
hasEstimatedCharacterCount
public boolean hasEstimatedCharacterCount()Estimated total character count across all content files
optional int64 estimated_character_count = 13 [json_name = "estimatedCharacterCount"];- Specified by:
hasEstimatedCharacterCountin interfaceEpubMetadataOrBuilder- 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:
getEstimatedCharacterCountin interfaceEpubMetadataOrBuilder- Returns:
- The estimatedCharacterCount.
-
setEstimatedCharacterCount
Estimated total character count across all content files
optional int64 estimated_character_count = 13 [json_name = "estimatedCharacterCount"];- Parameters:
value- The estimatedCharacterCount to set.- Returns:
- This builder for chaining.
-
clearEstimatedCharacterCount
Estimated total character count across all content files
optional int64 estimated_character_count = 13 [json_name = "estimatedCharacterCount"];- Returns:
- This builder for chaining.
-
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:
hasContentLanguagein interfaceEpubMetadataOrBuilder- Returns:
- Whether the contentLanguage field is set.
-
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:
getContentLanguagein interfaceEpubMetadataOrBuilder- 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:
getContentLanguageBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for contentLanguage.
-
setContentLanguage
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"];- Parameters:
value- The contentLanguage to set.- Returns:
- This builder for chaining.
-
clearContentLanguage
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"];- Returns:
- This builder for chaining.
-
setContentLanguageBytes
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"];- Parameters:
value- The bytes for contentLanguage to set.- Returns:
- This builder for chaining.
-
getImagesList
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];- Specified by:
getImagesListin interfaceEpubMetadataOrBuilder
-
getImagesCount
public int getImagesCount()Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];- Specified by:
getImagesCountin interfaceEpubMetadataOrBuilder
-
getImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];- Specified by:
getImagesin interfaceEpubMetadataOrBuilder
-
setImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
setImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
addImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
addImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
addImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
addImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
addAllImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
clearImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
removeImages
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
getImagesBuilder
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
getImagesOrBuilder
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];- Specified by:
getImagesOrBuilderin interfaceEpubMetadataOrBuilder
-
getImagesOrBuilderList
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"];- Specified by:
getImagesOrBuilderListin interfaceEpubMetadataOrBuilder
-
addImagesBuilder
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
addImagesBuilder
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
getImagesBuilderList
Images embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource images = 15 [json_name = "images"]; -
getFontsList
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];- Specified by:
getFontsListin interfaceEpubMetadataOrBuilder
-
getFontsCount
public int getFontsCount()Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];- Specified by:
getFontsCountin interfaceEpubMetadataOrBuilder
-
getFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];- Specified by:
getFontsin interfaceEpubMetadataOrBuilder
-
setFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
setFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
addFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
addFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
addFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
addFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
addAllFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
clearFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
removeFonts
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
getFontsBuilder
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
getFontsOrBuilder
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];- Specified by:
getFontsOrBuilderin interfaceEpubMetadataOrBuilder
-
getFontsOrBuilderList
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"];- Specified by:
getFontsOrBuilderListin interfaceEpubMetadataOrBuilder
-
addFontsBuilder
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
addFontsBuilder
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
getFontsBuilderList
Fonts embedded in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource fonts = 16 [json_name = "fonts"]; -
getStylesheetsList
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];- Specified by:
getStylesheetsListin interfaceEpubMetadataOrBuilder
-
getStylesheetsCount
public int getStylesheetsCount()Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];- Specified by:
getStylesheetsCountin interfaceEpubMetadataOrBuilder
-
getStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];- Specified by:
getStylesheetsin interfaceEpubMetadataOrBuilder
-
setStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
setStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
addStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
addStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
addStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
addStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
addAllStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
clearStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
removeStylesheets
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
getStylesheetsBuilder
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
getStylesheetsOrBuilder
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];- Specified by:
getStylesheetsOrBuilderin interfaceEpubMetadataOrBuilder
-
getStylesheetsOrBuilderList
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"];- Specified by:
getStylesheetsOrBuilderListin interfaceEpubMetadataOrBuilder
-
addStylesheetsBuilder
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
addStylesheetsBuilder
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
getStylesheetsBuilderList
Stylesheets (CSS) in the EPUB
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource stylesheets = 17 [json_name = "stylesheets"]; -
getOtherResourcesList
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];- Specified by:
getOtherResourcesListin interfaceEpubMetadataOrBuilder
-
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:
getOtherResourcesCountin interfaceEpubMetadataOrBuilder
-
getOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];- Specified by:
getOtherResourcesin interfaceEpubMetadataOrBuilder
-
setOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
setOtherResources
public EpubMetadata.Builder setOtherResources(int index, EpubEmbeddedResource.Builder builderForValue) Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
addOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
addOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
addOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
addOtherResources
public EpubMetadata.Builder addOtherResources(int index, EpubEmbeddedResource.Builder builderForValue) Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
addAllOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
clearOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
removeOtherResources
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
getOtherResourcesBuilder
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
getOtherResourcesOrBuilder
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];- Specified by:
getOtherResourcesOrBuilderin interfaceEpubMetadataOrBuilder
-
getOtherResourcesOrBuilderList
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"];- Specified by:
getOtherResourcesOrBuilderListin interfaceEpubMetadataOrBuilder
-
addOtherResourcesBuilder
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
addOtherResourcesBuilder
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
getOtherResourcesBuilderList
Other embedded resources (audio, video, scripts, etc.)
repeated .ai.pipestream.parsed.data.epub.v1.EpubEmbeddedResource other_resources = 18 [json_name = "otherResources"]; -
hasCoverImagePath
public boolean hasCoverImagePath()Cover image path (if specified in metadata)
optional string cover_image_path = 20 [json_name = "coverImagePath"];- Specified by:
hasCoverImagePathin interfaceEpubMetadataOrBuilder- Returns:
- Whether the coverImagePath field is set.
-
getCoverImagePath
Cover image path (if specified in metadata)
optional string cover_image_path = 20 [json_name = "coverImagePath"];- Specified by:
getCoverImagePathin interfaceEpubMetadataOrBuilder- 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:
getCoverImagePathBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for coverImagePath.
-
setCoverImagePath
Cover image path (if specified in metadata)
optional string cover_image_path = 20 [json_name = "coverImagePath"];- Parameters:
value- The coverImagePath to set.- Returns:
- This builder for chaining.
-
clearCoverImagePath
Cover image path (if specified in metadata)
optional string cover_image_path = 20 [json_name = "coverImagePath"];- Returns:
- This builder for chaining.
-
setCoverImagePathBytes
Cover image path (if specified in metadata)
optional string cover_image_path = 20 [json_name = "coverImagePath"];- Parameters:
value- The bytes for coverImagePath to set.- Returns:
- This builder for chaining.
-
hasUniqueIdentifier
public boolean hasUniqueIdentifier()Unique identifier from the package (usually ISBN or similar)
optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];- Specified by:
hasUniqueIdentifierin interfaceEpubMetadataOrBuilder- Returns:
- Whether the uniqueIdentifier field is set.
-
getUniqueIdentifier
Unique identifier from the package (usually ISBN or similar)
optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];- Specified by:
getUniqueIdentifierin interfaceEpubMetadataOrBuilder- 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:
getUniqueIdentifierBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for uniqueIdentifier.
-
setUniqueIdentifier
Unique identifier from the package (usually ISBN or similar)
optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];- Parameters:
value- The uniqueIdentifier to set.- Returns:
- This builder for chaining.
-
clearUniqueIdentifier
Unique identifier from the package (usually ISBN or similar)
optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];- Returns:
- This builder for chaining.
-
setUniqueIdentifierBytes
Unique identifier from the package (usually ISBN or similar)
optional string unique_identifier = 21 [json_name = "uniqueIdentifier"];- Parameters:
value- The bytes for uniqueIdentifier to set.- Returns:
- This builder for chaining.
-
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:
hasReadingDirectionin interfaceEpubMetadataOrBuilder- Returns:
- Whether the readingDirection field is set.
-
getReadingDirection
Suggested reading direction (ltr, rtl) Important for proper text processing and chunking
optional string reading_direction = 22 [json_name = "readingDirection"];- Specified by:
getReadingDirectionin interfaceEpubMetadataOrBuilder- 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:
getReadingDirectionBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for readingDirection.
-
setReadingDirection
Suggested reading direction (ltr, rtl) Important for proper text processing and chunking
optional string reading_direction = 22 [json_name = "readingDirection"];- Parameters:
value- The readingDirection to set.- Returns:
- This builder for chaining.
-
clearReadingDirection
Suggested reading direction (ltr, rtl) Important for proper text processing and chunking
optional string reading_direction = 22 [json_name = "readingDirection"];- Returns:
- This builder for chaining.
-
setReadingDirectionBytes
Suggested reading direction (ltr, rtl) Important for proper text processing and chunking
optional string reading_direction = 22 [json_name = "readingDirection"];- Parameters:
value- The bytes for readingDirection to set.- Returns:
- This builder for chaining.
-
hasHasMathml
public boolean hasHasMathml()Whether content contains mathematical notation (MathML)
optional bool has_mathml = 23 [json_name = "hasMathml"];- Specified by:
hasHasMathmlin interfaceEpubMetadataOrBuilder- 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:
getHasMathmlin interfaceEpubMetadataOrBuilder- Returns:
- The hasMathml.
-
setHasMathml
Whether content contains mathematical notation (MathML)
optional bool has_mathml = 23 [json_name = "hasMathml"];- Parameters:
value- The hasMathml to set.- Returns:
- This builder for chaining.
-
clearHasMathml
Whether content contains mathematical notation (MathML)
optional bool has_mathml = 23 [json_name = "hasMathml"];- Returns:
- This builder for chaining.
-
hasHasSvg
public boolean hasHasSvg()Whether content contains SVG graphics
optional bool has_svg = 24 [json_name = "hasSvg"];- Specified by:
hasHasSvgin interfaceEpubMetadataOrBuilder- 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:
getHasSvgin interfaceEpubMetadataOrBuilder- Returns:
- The hasSvg.
-
setHasSvg
Whether content contains SVG graphics
optional bool has_svg = 24 [json_name = "hasSvg"];- Parameters:
value- The hasSvg to set.- Returns:
- This builder for chaining.
-
clearHasSvg
Whether content contains SVG graphics
optional bool has_svg = 24 [json_name = "hasSvg"];- Returns:
- This builder for chaining.
-
hasHasScriptedContent
public boolean hasHasScriptedContent()Whether content contains scripted content (JavaScript)
optional bool has_scripted_content = 25 [json_name = "hasScriptedContent"];- Specified by:
hasHasScriptedContentin interfaceEpubMetadataOrBuilder- 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:
getHasScriptedContentin interfaceEpubMetadataOrBuilder- Returns:
- The hasScriptedContent.
-
setHasScriptedContent
Whether content contains scripted content (JavaScript)
optional bool has_scripted_content = 25 [json_name = "hasScriptedContent"];- Parameters:
value- The hasScriptedContent to set.- Returns:
- This builder for chaining.
-
clearHasScriptedContent
Whether content contains scripted content (JavaScript)
optional bool has_scripted_content = 25 [json_name = "hasScriptedContent"];- Returns:
- This builder for chaining.
-
getAccessibilityFeaturesList
public com.google.protobuf.ProtocolStringList getAccessibilityFeaturesList()Accessibility features present in the EPUB
repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];- Specified by:
getAccessibilityFeaturesListin interfaceEpubMetadataOrBuilder- 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:
getAccessibilityFeaturesCountin interfaceEpubMetadataOrBuilder- Returns:
- The count of accessibilityFeatures.
-
getAccessibilityFeatures
Accessibility features present in the EPUB
repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];- Specified by:
getAccessibilityFeaturesin interfaceEpubMetadataOrBuilder- 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:
getAccessibilityFeaturesBytesin interfaceEpubMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the accessibilityFeatures at the given index.
-
setAccessibilityFeatures
Accessibility features present in the EPUB
repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];- Parameters:
index- The index to set the value at.value- The accessibilityFeatures to set.- Returns:
- This builder for chaining.
-
addAccessibilityFeatures
Accessibility features present in the EPUB
repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];- Parameters:
value- The accessibilityFeatures to add.- Returns:
- This builder for chaining.
-
addAllAccessibilityFeatures
Accessibility features present in the EPUB
repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];- Parameters:
values- The accessibilityFeatures to add.- Returns:
- This builder for chaining.
-
clearAccessibilityFeatures
Accessibility features present in the EPUB
repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];- Returns:
- This builder for chaining.
-
addAccessibilityFeaturesBytes
Accessibility features present in the EPUB
repeated string accessibility_features = 26 [json_name = "accessibilityFeatures"];- Parameters:
value- The bytes of the accessibilityFeatures to add.- Returns:
- This builder for chaining.
-
getAccessibilityHazardsList
public com.google.protobuf.ProtocolStringList getAccessibilityHazardsList()Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Specified by:
getAccessibilityHazardsListin interfaceEpubMetadataOrBuilder- Returns:
- A list containing the accessibilityHazards.
-
getAccessibilityHazardsCount
public int getAccessibilityHazardsCount()Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Specified by:
getAccessibilityHazardsCountin interfaceEpubMetadataOrBuilder- Returns:
- The count of accessibilityHazards.
-
getAccessibilityHazards
Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Specified by:
getAccessibilityHazardsin interfaceEpubMetadataOrBuilder- 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:
getAccessibilityHazardsBytesin interfaceEpubMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the accessibilityHazards at the given index.
-
setAccessibilityHazards
Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Parameters:
index- The index to set the value at.value- The accessibilityHazards to set.- Returns:
- This builder for chaining.
-
addAccessibilityHazards
Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Parameters:
value- The accessibilityHazards to add.- Returns:
- This builder for chaining.
-
addAllAccessibilityHazards
Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Parameters:
values- The accessibilityHazards to add.- Returns:
- This builder for chaining.
-
clearAccessibilityHazards
Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Returns:
- This builder for chaining.
-
addAccessibilityHazardsBytes
Accessibility hazards (if any)
repeated string accessibility_hazards = 27 [json_name = "accessibilityHazards"];- Parameters:
value- The bytes of the accessibilityHazards to add.- Returns:
- This builder for chaining.
-
hasAccessibilitySummary
public boolean hasAccessibilitySummary()Accessibility summary or description
optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];- Specified by:
hasAccessibilitySummaryin interfaceEpubMetadataOrBuilder- Returns:
- Whether the accessibilitySummary field is set.
-
getAccessibilitySummary
Accessibility summary or description
optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];- Specified by:
getAccessibilitySummaryin interfaceEpubMetadataOrBuilder- Returns:
- The accessibilitySummary.
-
getAccessibilitySummaryBytes
public com.google.protobuf.ByteString getAccessibilitySummaryBytes()Accessibility summary or description
optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];- Specified by:
getAccessibilitySummaryBytesin interfaceEpubMetadataOrBuilder- Returns:
- The bytes for accessibilitySummary.
-
setAccessibilitySummary
Accessibility summary or description
optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];- Parameters:
value- The accessibilitySummary to set.- Returns:
- This builder for chaining.
-
clearAccessibilitySummary
Accessibility summary or description
optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];- Returns:
- This builder for chaining.
-
setAccessibilitySummaryBytes
Accessibility summary or description
optional string accessibility_summary = 28 [json_name = "accessibilitySummary"];- Parameters:
value- The bytes for accessibilitySummary to set.- Returns:
- This builder for chaining.
-
hasAdditionalMetadata
public boolean hasAdditionalMetadata()=== Catch-all for unmapped EPUB-specific metadata ===
.google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"];- Specified by:
hasAdditionalMetadatain interfaceEpubMetadataOrBuilder- 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:
getAdditionalMetadatain interfaceEpubMetadataOrBuilder- Returns:
- The additionalMetadata.
-
setAdditionalMetadata
=== Catch-all for unmapped EPUB-specific metadata ===
.google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"]; -
setAdditionalMetadata
public EpubMetadata.Builder setAdditionalMetadata(com.google.protobuf.Struct.Builder builderForValue) === Catch-all for unmapped EPUB-specific metadata ===
.google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"]; -
mergeAdditionalMetadata
=== Catch-all for unmapped EPUB-specific metadata ===
.google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"]; -
clearAdditionalMetadata
=== Catch-all for unmapped EPUB-specific metadata ===
.google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"]; -
getAdditionalMetadataBuilder
public com.google.protobuf.Struct.Builder getAdditionalMetadataBuilder()=== Catch-all for unmapped EPUB-specific metadata ===
.google.protobuf.Struct additional_metadata = 200 [json_name = "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:
getAdditionalMetadataOrBuilderin interfaceEpubMetadataOrBuilder
-
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:
hasBaseFieldsin interfaceEpubMetadataOrBuilder- Returns:
- Whether the baseFields field is set.
-
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:
getBaseFieldsin interfaceEpubMetadataOrBuilder- Returns:
- The baseFields.
-
setBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"]; -
setBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"]; -
mergeBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"]; -
clearBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"]; -
getBaseFieldsBuilder
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"]; -
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:
getBaseFieldsOrBuilderin interfaceEpubMetadataOrBuilder
-