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 TypeMethodDescriptionlongFile size in bytes (if available)For fonts: font family namecom.google.protobuf.ByteStringFor fonts: font family nameintFor images: height in pixelsgetHref()File path relative to OPF file locationcom.google.protobuf.ByteStringFile path relative to OPF file locationgetId()Resource identifier from manifestcom.google.protobuf.ByteStringResource identifier from manifestbooleanWhether this resource is referenced by content filesMIME type of the resourcecom.google.protobuf.ByteStringMIME type of the resourcegetProperties(int index) Properties associated with this resourcecom.google.protobuf.ByteStringgetPropertiesBytes(int index) Properties associated with this resourceintProperties associated with this resourceProperties associated with this resourceFor stylesheets: whether it's a primary or alternate stylesheetcom.google.protobuf.ByteStringFor stylesheets: whether it's a primary or alternate stylesheetintgetWidth()For images: width in pixelsbooleanFile size in bytes (if available)booleanFor fonts: font family namebooleanFor images: height in pixelsbooleanWhether this resource is referenced by content filesbooleanFor stylesheets: whether it's a primary or alternate stylesheetbooleanhasWidth()For images: width in pixelsMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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.
-