Interface EpubEmbeddedResourceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    File size in bytes (if available)
    For fonts: font family name
    com.google.protobuf.ByteString
    For fonts: font family name
    int
    For images: height in pixels
    File path relative to OPF file location
    com.google.protobuf.ByteString
    File path relative to OPF file location
    Resource identifier from manifest
    com.google.protobuf.ByteString
    Resource identifier from manifest
    boolean
    Whether this resource is referenced by content files
    MIME type of the resource
    com.google.protobuf.ByteString
    MIME type of the resource
    getProperties(int index)
    Properties associated with this resource
    com.google.protobuf.ByteString
    getPropertiesBytes(int index)
    Properties associated with this resource
    int
    Properties associated with this resource
    Properties associated with this resource
    For stylesheets: whether it's a primary or alternate stylesheet
    com.google.protobuf.ByteString
    For stylesheets: whether it's a primary or alternate stylesheet
    int
    For images: width in pixels
    boolean
    File size in bytes (if available)
    boolean
    For fonts: font family name
    boolean
    For images: height in pixels
    boolean
    Whether this resource is referenced by content files
    boolean
    For stylesheets: whether it's a primary or alternate stylesheet
    boolean
    For images: width in pixels

    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()
       Resource identifier from manifest
       
      string id = 1 [json_name = "id"];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Resource identifier from manifest
       
      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.
    • hasFileSize

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

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

      boolean hasIsReferenced()
       Whether this resource is referenced by content files
       
      optional bool is_referenced = 5 [json_name = "isReferenced"];
      Returns:
      Whether the isReferenced field is set.
    • getIsReferenced

      boolean getIsReferenced()
       Whether this resource is referenced by content files
       
      optional bool is_referenced = 5 [json_name = "isReferenced"];
      Returns:
      The isReferenced.
    • getPropertiesList

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

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

      String getProperties(int index)
       Properties associated with this resource
       
      repeated string properties = 6 [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 resource
       
      repeated string properties = 6 [json_name = "properties"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the properties at the given index.
    • hasWidth

      boolean hasWidth()
       For images: width in pixels
       
      optional int32 width = 7 [json_name = "width"];
      Returns:
      Whether the width field is set.
    • getWidth

      int getWidth()
       For images: width in pixels
       
      optional int32 width = 7 [json_name = "width"];
      Returns:
      The width.
    • hasHeight

      boolean hasHeight()
       For images: height in pixels
       
      optional int32 height = 8 [json_name = "height"];
      Returns:
      Whether the height field is set.
    • getHeight

      int getHeight()
       For images: height in pixels
       
      optional int32 height = 8 [json_name = "height"];
      Returns:
      The height.
    • hasFontFamily

      boolean hasFontFamily()
       For fonts: font family name
       
      optional string font_family = 9 [json_name = "fontFamily"];
      Returns:
      Whether the fontFamily field is set.
    • getFontFamily

      String getFontFamily()
       For fonts: font family name
       
      optional string font_family = 9 [json_name = "fontFamily"];
      Returns:
      The fontFamily.
    • getFontFamilyBytes

      com.google.protobuf.ByteString getFontFamilyBytes()
       For fonts: font family name
       
      optional string font_family = 9 [json_name = "fontFamily"];
      Returns:
      The bytes for fontFamily.
    • hasStylesheetType

      boolean hasStylesheetType()
       For stylesheets: whether it's a primary or alternate stylesheet
       
      optional string stylesheet_type = 10 [json_name = "stylesheetType"];
      Returns:
      Whether the stylesheetType field is set.
    • getStylesheetType

      String getStylesheetType()
       For stylesheets: whether it's a primary or alternate stylesheet
       
      optional string stylesheet_type = 10 [json_name = "stylesheetType"];
      Returns:
      The stylesheetType.
    • getStylesheetTypeBytes

      com.google.protobuf.ByteString getStylesheetTypeBytes()
       For stylesheets: whether it's a primary or alternate stylesheet
       
      optional string stylesheet_type = 10 [json_name = "stylesheetType"];
      Returns:
      The bytes for stylesheetType.