Class EpubManifestItem
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.epub.v1.EpubManifestItem
- All Implemented Interfaces:
EpubManifestItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EpubManifestItem
extends com.google.protobuf.GeneratedMessage
implements EpubManifestItemOrBuilder
Represents an item in the EPUB manifest Complete inventory of all resources in the EPUBProtobuf type
ai.pipestream.parsed.data.epub.v1.EpubManifestItem- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents an item in the EPUB manifest Complete inventory of all resources in the EPUBNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EpubManifestItemstatic final com.google.protobuf.Descriptors.DescriptorFallback item ID (if this item cannot be processed)com.google.protobuf.ByteStringFallback item ID (if this item cannot be processed)longFile size in bytes (if available)getHref()File path relative to OPF file locationcom.google.protobuf.ByteStringFile path relative to OPF file locationgetId()Unique identifier for this manifest itemcom.google.protobuf.ByteStringUnique identifier for this manifest itemMedia overlay ID (for synchronized media)com.google.protobuf.ByteStringMedia overlay ID (for synchronized media)MIME type of the resourcecom.google.protobuf.ByteStringMIME type of the resourcecom.google.protobuf.Parser<EpubManifestItem> getProperties(int index) Properties associated with this manifest itemcom.google.protobuf.ByteStringgetPropertiesBytes(int index) Properties associated with this manifest itemintProperties associated with this manifest itemcom.google.protobuf.ProtocolStringListProperties associated with this manifest itemintbooleanFallback item ID (if this item cannot be processed)booleanFile size in bytes (if available)inthashCode()booleanMedia overlay ID (for synchronized media)protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic EpubManifestItem.Builderstatic EpubManifestItem.BuildernewBuilder(EpubManifestItem prototype) protected EpubManifestItem.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EpubManifestItemparseDelimitedFrom(InputStream input) static EpubManifestItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EpubManifestItemparseFrom(byte[] data) static EpubManifestItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EpubManifestItemparseFrom(com.google.protobuf.ByteString data) static EpubManifestItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EpubManifestItemparseFrom(com.google.protobuf.CodedInputStream input) static EpubManifestItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EpubManifestItemparseFrom(InputStream input) static EpubManifestItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EpubManifestItemparseFrom(ByteBuffer data) static EpubManifestItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EpubManifestItem> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
HREF_FIELD_NUMBER
public static final int HREF_FIELD_NUMBER- See Also:
-
MEDIA_TYPE_FIELD_NUMBER
public static final int MEDIA_TYPE_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
FALLBACK_FIELD_NUMBER
public static final int FALLBACK_FIELD_NUMBER- See Also:
-
MEDIA_OVERLAY_FIELD_NUMBER
public static final int MEDIA_OVERLAY_FIELD_NUMBER- See Also:
-
FILE_SIZE_FIELD_NUMBER
public static final int FILE_SIZE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
Unique identifier for this manifest item
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceEpubManifestItemOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identifier for this manifest item
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceEpubManifestItemOrBuilder- Returns:
- The bytes for id.
-
getHref
File path relative to OPF file location
string href = 2 [json_name = "href"];- Specified by:
getHrefin interfaceEpubManifestItemOrBuilder- Returns:
- The href.
-
getHrefBytes
public com.google.protobuf.ByteString getHrefBytes()File path relative to OPF file location
string href = 2 [json_name = "href"];- Specified by:
getHrefBytesin interfaceEpubManifestItemOrBuilder- Returns:
- The bytes for href.
-
getMediaType
MIME type of the resource
string media_type = 3 [json_name = "mediaType"];- Specified by:
getMediaTypein interfaceEpubManifestItemOrBuilder- Returns:
- The mediaType.
-
getMediaTypeBytes
public com.google.protobuf.ByteString getMediaTypeBytes()MIME type of the resource
string media_type = 3 [json_name = "mediaType"];- Specified by:
getMediaTypeBytesin interfaceEpubManifestItemOrBuilder- Returns:
- The bytes for mediaType.
-
getPropertiesList
public com.google.protobuf.ProtocolStringList getPropertiesList()Properties associated with this manifest item
repeated string properties = 4 [json_name = "properties"];- Specified by:
getPropertiesListin interfaceEpubManifestItemOrBuilder- Returns:
- A list containing the properties.
-
getPropertiesCount
public int getPropertiesCount()Properties associated with this manifest item
repeated string properties = 4 [json_name = "properties"];- Specified by:
getPropertiesCountin interfaceEpubManifestItemOrBuilder- Returns:
- The count of properties.
-
getProperties
Properties associated with this manifest item
repeated string properties = 4 [json_name = "properties"];- Specified by:
getPropertiesin interfaceEpubManifestItemOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The properties at the given index.
-
getPropertiesBytes
public com.google.protobuf.ByteString getPropertiesBytes(int index) Properties associated with this manifest item
repeated string properties = 4 [json_name = "properties"];- Specified by:
getPropertiesBytesin interfaceEpubManifestItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the properties at the given index.
-
hasFallback
public boolean hasFallback()Fallback item ID (if this item cannot be processed)
optional string fallback = 5 [json_name = "fallback"];- Specified by:
hasFallbackin interfaceEpubManifestItemOrBuilder- Returns:
- Whether the fallback field is set.
-
getFallback
Fallback item ID (if this item cannot be processed)
optional string fallback = 5 [json_name = "fallback"];- Specified by:
getFallbackin interfaceEpubManifestItemOrBuilder- Returns:
- The fallback.
-
getFallbackBytes
public com.google.protobuf.ByteString getFallbackBytes()Fallback item ID (if this item cannot be processed)
optional string fallback = 5 [json_name = "fallback"];- Specified by:
getFallbackBytesin interfaceEpubManifestItemOrBuilder- Returns:
- The bytes for fallback.
-
hasMediaOverlay
public boolean hasMediaOverlay()Media overlay ID (for synchronized media)
optional string media_overlay = 6 [json_name = "mediaOverlay"];- Specified by:
hasMediaOverlayin interfaceEpubManifestItemOrBuilder- Returns:
- Whether the mediaOverlay field is set.
-
getMediaOverlay
Media overlay ID (for synchronized media)
optional string media_overlay = 6 [json_name = "mediaOverlay"];- Specified by:
getMediaOverlayin interfaceEpubManifestItemOrBuilder- Returns:
- The mediaOverlay.
-
getMediaOverlayBytes
public com.google.protobuf.ByteString getMediaOverlayBytes()Media overlay ID (for synchronized media)
optional string media_overlay = 6 [json_name = "mediaOverlay"];- Specified by:
getMediaOverlayBytesin interfaceEpubManifestItemOrBuilder- Returns:
- The bytes for mediaOverlay.
-
hasFileSize
public boolean hasFileSize()File size in bytes (if available)
optional int64 file_size = 7 [json_name = "fileSize"];- Specified by:
hasFileSizein interfaceEpubManifestItemOrBuilder- Returns:
- Whether the fileSize field is set.
-
getFileSize
public long getFileSize()File size in bytes (if available)
optional int64 file_size = 7 [json_name = "fileSize"];- Specified by:
getFileSizein interfaceEpubManifestItemOrBuilder- Returns:
- The fileSize.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EpubManifestItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EpubManifestItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EpubManifestItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EpubManifestItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EpubManifestItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EpubManifestItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EpubManifestItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EpubManifestItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EpubManifestItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EpubManifestItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EpubManifestItem.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-