Interface EpubManifestItemOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EpubManifestItem, EpubManifestItem.Builder

@Generated public interface EpubManifestItemOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Fallback item ID (if this item cannot be processed)
    com.google.protobuf.ByteString
    Fallback item ID (if this item cannot be processed)
    long
    File size in bytes (if available)
    File path relative to OPF file location
    com.google.protobuf.ByteString
    File path relative to OPF file location
    Unique identifier for this manifest item
    com.google.protobuf.ByteString
    Unique identifier for this manifest item
    Media overlay ID (for synchronized media)
    com.google.protobuf.ByteString
    Media overlay ID (for synchronized media)
    MIME type of the resource
    com.google.protobuf.ByteString
    MIME type of the resource
    getProperties(int index)
    Properties associated with this manifest item
    com.google.protobuf.ByteString
    getPropertiesBytes(int index)
    Properties associated with this manifest item
    int
    Properties associated with this manifest item
    Properties associated with this manifest item
    boolean
    Fallback item ID (if this item cannot be processed)
    boolean
    File size in bytes (if available)
    boolean
    Media overlay ID (for synchronized media)

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getId

      String getId()
       Unique identifier for this manifest item
       
      string id = 1 [json_name = "id"];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Unique identifier for this manifest item
       
      string id = 1 [json_name = "id"];
      Returns:
      The bytes for id.
    • getHref

      String getHref()
       File path relative to OPF file location
       
      string href = 2 [json_name = "href"];
      Returns:
      The href.
    • getHrefBytes

      com.google.protobuf.ByteString getHrefBytes()
       File path relative to OPF file location
       
      string href = 2 [json_name = "href"];
      Returns:
      The bytes for href.
    • getMediaType

      String getMediaType()
       MIME type of the resource
       
      string media_type = 3 [json_name = "mediaType"];
      Returns:
      The mediaType.
    • getMediaTypeBytes

      com.google.protobuf.ByteString getMediaTypeBytes()
       MIME type of the resource
       
      string media_type = 3 [json_name = "mediaType"];
      Returns:
      The bytes for mediaType.
    • getPropertiesList

      List<String> getPropertiesList()
       Properties associated with this manifest item
       
      repeated string properties = 4 [json_name = "properties"];
      Returns:
      A list containing the properties.
    • getPropertiesCount

      int getPropertiesCount()
       Properties associated with this manifest item
       
      repeated string properties = 4 [json_name = "properties"];
      Returns:
      The count of properties.
    • getProperties

      String getProperties(int index)
       Properties associated with this manifest item
       
      repeated string properties = 4 [json_name = "properties"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The properties at the given index.
    • getPropertiesBytes

      com.google.protobuf.ByteString getPropertiesBytes(int index)
       Properties associated with this manifest item
       
      repeated string properties = 4 [json_name = "properties"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the properties at the given index.
    • hasFallback

      boolean hasFallback()
       Fallback item ID (if this item cannot be processed)
       
      optional string fallback = 5 [json_name = "fallback"];
      Returns:
      Whether the fallback field is set.
    • getFallback

      String getFallback()
       Fallback item ID (if this item cannot be processed)
       
      optional string fallback = 5 [json_name = "fallback"];
      Returns:
      The fallback.
    • getFallbackBytes

      com.google.protobuf.ByteString getFallbackBytes()
       Fallback item ID (if this item cannot be processed)
       
      optional string fallback = 5 [json_name = "fallback"];
      Returns:
      The bytes for fallback.
    • hasMediaOverlay

      boolean hasMediaOverlay()
       Media overlay ID (for synchronized media)
       
      optional string media_overlay = 6 [json_name = "mediaOverlay"];
      Returns:
      Whether the mediaOverlay field is set.
    • getMediaOverlay

      String getMediaOverlay()
       Media overlay ID (for synchronized media)
       
      optional string media_overlay = 6 [json_name = "mediaOverlay"];
      Returns:
      The mediaOverlay.
    • getMediaOverlayBytes

      com.google.protobuf.ByteString getMediaOverlayBytes()
       Media overlay ID (for synchronized media)
       
      optional string media_overlay = 6 [json_name = "mediaOverlay"];
      Returns:
      The bytes for mediaOverlay.
    • hasFileSize

      boolean hasFileSize()
       File size in bytes (if available)
       
      optional int64 file_size = 7 [json_name = "fileSize"];
      Returns:
      Whether the fileSize field is set.
    • getFileSize

      long getFileSize()
       File size in bytes (if available)
       
      optional int64 file_size = 7 [json_name = "fileSize"];
      Returns:
      The fileSize.