Class GenericMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.generic.v1.GenericMetadata
- All Implemented Interfaces:
GenericMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class GenericMetadata
extends com.google.protobuf.GeneratedMessage
implements GenericMetadataOrBuilder
Generic metadata for document types that don't have specialized parsers or interfaces. This handles formats like WordPerfect, QuattroPro, PST, MachineMetadata, ExternalProcess, etc. The design is intentionally flexible, using google.protobuf.Struct to capture any metadata that Tika can extract, while providing some basic identifying fields for common patterns.Protobuf type
ai.pipestream.parsed.data.generic.v1.GenericMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classGeneric metadata for document types that don't have specialized parsers or interfaces.Nested 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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleancom.google.protobuf.StructAll metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured herecom.google.protobuf.StructOrBuilderAll metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured hereApplication versioncom.google.protobuf.ByteStringApplication versionBase Tika fields common to all document typesBase Tika fields common to all document typesChecksum algorithm usedcom.google.protobuf.ByteStringChecksum algorithm usedCompression method used (if any)com.google.protobuf.ByteStringCompression method used (if any)Checksum or hash of the content (if computed)com.google.protobuf.ByteStringChecksum or hash of the content (if computed)Content encoding (if applicable)com.google.protobuf.ByteStringContent encoding (if applicable)Detected content languagecom.google.protobuf.ByteStringDetected content languagelongEstimated content length in charactersApplication that created the document (if detectable)com.google.protobuf.ByteStringApplication that created the document (if detectable)com.google.protobuf.StructCustom metadata fields (user-defined or application-specific)com.google.protobuf.StructOrBuilderCustom metadata fields (user-defined or application-specific)static GenericMetadatastatic final com.google.protobuf.Descriptors.DescriptorMIME type as detected by Tikacom.google.protobuf.ByteStringMIME type as detected by TikaDetected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"com.google.protobuf.ByteStringDetected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"com.google.protobuf.StructDocument properties (for formats that have property-based metadata)com.google.protobuf.StructOrBuilderDocument properties (for formats that have property-based metadata)File extension (if available)com.google.protobuf.ByteStringFile extension (if available)longFile size in bytes (if available)Format version (if detectable) e.g., "5.1", "12.0", "2003"com.google.protobuf.ByteStringFormat version (if detectable) e.g., "5.1", "12.0", "2003"booleanWhether the document contains embedded objects or attachmentsbooleanWhether the document appears to be encrypted or password-protectedcom.google.protobuf.Parser<GenericMetadata> getParserMessages(int index) Any parser-specific warnings or messagescom.google.protobuf.ByteStringgetParserMessagesBytes(int index) Any parser-specific warnings or messagesintAny parser-specific warnings or messagescom.google.protobuf.ProtocolStringListAny parser-specific warnings or messagesgetParserOptions(int index) Parser configuration or options usedcom.google.protobuf.ByteStringgetParserOptionsBytes(int index) Parser configuration or options usedintParser configuration or options usedcom.google.protobuf.ProtocolStringListParser configuration or options usedWhether parsing was successful or partialcom.google.protobuf.ByteStringWhether parsing was successful or partialintcom.google.protobuf.StructTechnical properties specific to the file formatcom.google.protobuf.StructOrBuilderTechnical properties specific to the file formatSpecific Tika parser that handled this documentcom.google.protobuf.ByteStringSpecific Tika parser that handled this documentbooleanAll metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured herebooleanApplication versionbooleanBase Tika fields common to all document typesbooleanChecksum algorithm usedbooleanCompression method used (if any)booleanChecksum or hash of the content (if computed)booleanContent encoding (if applicable)booleanDetected content languagebooleanEstimated content length in charactersbooleanApplication that created the document (if detectable)booleanCustom metadata fields (user-defined or application-specific)booleanMIME type as detected by TikabooleanDetected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"booleanDocument properties (for formats that have property-based metadata)booleanFile extension (if available)booleanFile size in bytes (if available)booleanFormat version (if detectable) e.g., "5.1", "12.0", "2003"booleanWhether the document contains embedded objects or attachmentsinthashCode()booleanWhether the document appears to be encrypted or password-protectedbooleanWhether parsing was successful or partialbooleanTechnical properties specific to the file formatbooleanSpecific Tika parser that handled this documentprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic GenericMetadata.Builderstatic GenericMetadata.BuildernewBuilder(GenericMetadata prototype) protected GenericMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GenericMetadataparseDelimitedFrom(InputStream input) static GenericMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericMetadataparseFrom(byte[] data) static GenericMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericMetadataparseFrom(com.google.protobuf.ByteString data) static GenericMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericMetadataparseFrom(com.google.protobuf.CodedInputStream input) static GenericMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericMetadataparseFrom(InputStream input) static GenericMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericMetadataparseFrom(ByteBuffer data) static GenericMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GenericMetadata> 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
-
DOCUMENT_FORMAT_FIELD_NUMBER
public static final int DOCUMENT_FORMAT_FIELD_NUMBER- See Also:
-
FORMAT_VERSION_FIELD_NUMBER
public static final int FORMAT_VERSION_FIELD_NUMBER- See Also:
-
DETECTED_MIME_TYPE_FIELD_NUMBER
public static final int DETECTED_MIME_TYPE_FIELD_NUMBER- See Also:
-
FILE_EXTENSION_FIELD_NUMBER
public static final int FILE_EXTENSION_FIELD_NUMBER- See Also:
-
CREATING_APPLICATION_FIELD_NUMBER
public static final int CREATING_APPLICATION_FIELD_NUMBER- See Also:
-
APPLICATION_VERSION_FIELD_NUMBER
public static final int APPLICATION_VERSION_FIELD_NUMBER- See Also:
-
CONTENT_LENGTH_FIELD_NUMBER
public static final int CONTENT_LENGTH_FIELD_NUMBER- See Also:
-
CONTENT_LANGUAGE_FIELD_NUMBER
public static final int CONTENT_LANGUAGE_FIELD_NUMBER- See Also:
-
CONTENT_ENCODING_FIELD_NUMBER
public static final int CONTENT_ENCODING_FIELD_NUMBER- See Also:
-
IS_ENCRYPTED_FIELD_NUMBER
public static final int IS_ENCRYPTED_FIELD_NUMBER- See Also:
-
HAS_EMBEDDED_CONTENT_FIELD_NUMBER
public static final int HAS_EMBEDDED_CONTENT_FIELD_NUMBER- See Also:
-
FILE_SIZE_FIELD_NUMBER
public static final int FILE_SIZE_FIELD_NUMBER- See Also:
-
COMPRESSION_METHOD_FIELD_NUMBER
public static final int COMPRESSION_METHOD_FIELD_NUMBER- See Also:
-
CONTENT_CHECKSUM_FIELD_NUMBER
public static final int CONTENT_CHECKSUM_FIELD_NUMBER- See Also:
-
CHECKSUM_ALGORITHM_FIELD_NUMBER
public static final int CHECKSUM_ALGORITHM_FIELD_NUMBER- See Also:
-
TIKA_PARSER_CLASS_FIELD_NUMBER
public static final int TIKA_PARSER_CLASS_FIELD_NUMBER- See Also:
-
PARSER_OPTIONS_FIELD_NUMBER
public static final int PARSER_OPTIONS_FIELD_NUMBER- See Also:
-
PARSE_STATUS_FIELD_NUMBER
public static final int PARSE_STATUS_FIELD_NUMBER- See Also:
-
PARSER_MESSAGES_FIELD_NUMBER
public static final int PARSER_MESSAGES_FIELD_NUMBER- See Also:
-
ALL_METADATA_FIELD_NUMBER
public static final int ALL_METADATA_FIELD_NUMBER- See Also:
-
DOCUMENT_PROPERTIES_FIELD_NUMBER
public static final int DOCUMENT_PROPERTIES_FIELD_NUMBER- See Also:
-
CUSTOM_METADATA_FIELD_NUMBER
public static final int CUSTOM_METADATA_FIELD_NUMBER- See Also:
-
TECHNICAL_PROPERTIES_FIELD_NUMBER
public static final int TECHNICAL_PROPERTIES_FIELD_NUMBER- See Also:
-
BASE_FIELDS_FIELD_NUMBER
public static final int BASE_FIELDS_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
-
hasDocumentFormat
public boolean hasDocumentFormat()Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Specified by:
hasDocumentFormatin interfaceGenericMetadataOrBuilder- Returns:
- Whether the documentFormat field is set.
-
getDocumentFormat
Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Specified by:
getDocumentFormatin interfaceGenericMetadataOrBuilder- Returns:
- The documentFormat.
-
getDocumentFormatBytes
public com.google.protobuf.ByteString getDocumentFormatBytes()Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Specified by:
getDocumentFormatBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for documentFormat.
-
hasFormatVersion
public boolean hasFormatVersion()Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Specified by:
hasFormatVersionin interfaceGenericMetadataOrBuilder- Returns:
- Whether the formatVersion field is set.
-
getFormatVersion
Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Specified by:
getFormatVersionin interfaceGenericMetadataOrBuilder- Returns:
- The formatVersion.
-
getFormatVersionBytes
public com.google.protobuf.ByteString getFormatVersionBytes()Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Specified by:
getFormatVersionBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for formatVersion.
-
hasDetectedMimeType
public boolean hasDetectedMimeType()MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Specified by:
hasDetectedMimeTypein interfaceGenericMetadataOrBuilder- Returns:
- Whether the detectedMimeType field is set.
-
getDetectedMimeType
MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Specified by:
getDetectedMimeTypein interfaceGenericMetadataOrBuilder- Returns:
- The detectedMimeType.
-
getDetectedMimeTypeBytes
public com.google.protobuf.ByteString getDetectedMimeTypeBytes()MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Specified by:
getDetectedMimeTypeBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for detectedMimeType.
-
hasFileExtension
public boolean hasFileExtension()File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Specified by:
hasFileExtensionin interfaceGenericMetadataOrBuilder- Returns:
- Whether the fileExtension field is set.
-
getFileExtension
File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Specified by:
getFileExtensionin interfaceGenericMetadataOrBuilder- Returns:
- The fileExtension.
-
getFileExtensionBytes
public com.google.protobuf.ByteString getFileExtensionBytes()File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Specified by:
getFileExtensionBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for fileExtension.
-
hasCreatingApplication
public boolean hasCreatingApplication()Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Specified by:
hasCreatingApplicationin interfaceGenericMetadataOrBuilder- Returns:
- Whether the creatingApplication field is set.
-
getCreatingApplication
Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Specified by:
getCreatingApplicationin interfaceGenericMetadataOrBuilder- Returns:
- The creatingApplication.
-
getCreatingApplicationBytes
public com.google.protobuf.ByteString getCreatingApplicationBytes()Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Specified by:
getCreatingApplicationBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for creatingApplication.
-
hasApplicationVersion
public boolean hasApplicationVersion()Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Specified by:
hasApplicationVersionin interfaceGenericMetadataOrBuilder- Returns:
- Whether the applicationVersion field is set.
-
getApplicationVersion
Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Specified by:
getApplicationVersionin interfaceGenericMetadataOrBuilder- Returns:
- The applicationVersion.
-
getApplicationVersionBytes
public com.google.protobuf.ByteString getApplicationVersionBytes()Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Specified by:
getApplicationVersionBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for applicationVersion.
-
hasContentLength
public boolean hasContentLength()Estimated content length in characters
optional int64 content_length = 7 [json_name = "contentLength"];- Specified by:
hasContentLengthin interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentLength field is set.
-
getContentLength
public long getContentLength()Estimated content length in characters
optional int64 content_length = 7 [json_name = "contentLength"];- Specified by:
getContentLengthin interfaceGenericMetadataOrBuilder- Returns:
- The contentLength.
-
hasContentLanguage
public boolean hasContentLanguage()Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Specified by:
hasContentLanguagein interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentLanguage field is set.
-
getContentLanguage
Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Specified by:
getContentLanguagein interfaceGenericMetadataOrBuilder- Returns:
- The contentLanguage.
-
getContentLanguageBytes
public com.google.protobuf.ByteString getContentLanguageBytes()Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Specified by:
getContentLanguageBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for contentLanguage.
-
hasContentEncoding
public boolean hasContentEncoding()Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Specified by:
hasContentEncodingin interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentEncoding field is set.
-
getContentEncoding
Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Specified by:
getContentEncodingin interfaceGenericMetadataOrBuilder- Returns:
- The contentEncoding.
-
getContentEncodingBytes
public com.google.protobuf.ByteString getContentEncodingBytes()Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Specified by:
getContentEncodingBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for contentEncoding.
-
hasIsEncrypted
public boolean hasIsEncrypted()Whether the document appears to be encrypted or password-protected
optional bool is_encrypted = 10 [json_name = "isEncrypted"];- Specified by:
hasIsEncryptedin interfaceGenericMetadataOrBuilder- Returns:
- Whether the isEncrypted field is set.
-
getIsEncrypted
public boolean getIsEncrypted()Whether the document appears to be encrypted or password-protected
optional bool is_encrypted = 10 [json_name = "isEncrypted"];- Specified by:
getIsEncryptedin interfaceGenericMetadataOrBuilder- Returns:
- The isEncrypted.
-
hasHasEmbeddedContent
public boolean hasHasEmbeddedContent()Whether the document contains embedded objects or attachments
optional bool has_embedded_content = 11 [json_name = "hasEmbeddedContent"];- Specified by:
hasHasEmbeddedContentin interfaceGenericMetadataOrBuilder- Returns:
- Whether the hasEmbeddedContent field is set.
-
getHasEmbeddedContent
public boolean getHasEmbeddedContent()Whether the document contains embedded objects or attachments
optional bool has_embedded_content = 11 [json_name = "hasEmbeddedContent"];- Specified by:
getHasEmbeddedContentin interfaceGenericMetadataOrBuilder- Returns:
- The hasEmbeddedContent.
-
hasFileSize
public boolean hasFileSize()File size in bytes (if available)
optional int64 file_size = 12 [json_name = "fileSize"];- Specified by:
hasFileSizein interfaceGenericMetadataOrBuilder- Returns:
- Whether the fileSize field is set.
-
getFileSize
public long getFileSize()File size in bytes (if available)
optional int64 file_size = 12 [json_name = "fileSize"];- Specified by:
getFileSizein interfaceGenericMetadataOrBuilder- Returns:
- The fileSize.
-
hasCompressionMethod
public boolean hasCompressionMethod()Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Specified by:
hasCompressionMethodin interfaceGenericMetadataOrBuilder- Returns:
- Whether the compressionMethod field is set.
-
getCompressionMethod
Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Specified by:
getCompressionMethodin interfaceGenericMetadataOrBuilder- Returns:
- The compressionMethod.
-
getCompressionMethodBytes
public com.google.protobuf.ByteString getCompressionMethodBytes()Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Specified by:
getCompressionMethodBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for compressionMethod.
-
hasContentChecksum
public boolean hasContentChecksum()Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Specified by:
hasContentChecksumin interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentChecksum field is set.
-
getContentChecksum
Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Specified by:
getContentChecksumin interfaceGenericMetadataOrBuilder- Returns:
- The contentChecksum.
-
getContentChecksumBytes
public com.google.protobuf.ByteString getContentChecksumBytes()Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Specified by:
getContentChecksumBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for contentChecksum.
-
hasChecksumAlgorithm
public boolean hasChecksumAlgorithm()Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Specified by:
hasChecksumAlgorithmin interfaceGenericMetadataOrBuilder- Returns:
- Whether the checksumAlgorithm field is set.
-
getChecksumAlgorithm
Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Specified by:
getChecksumAlgorithmin interfaceGenericMetadataOrBuilder- Returns:
- The checksumAlgorithm.
-
getChecksumAlgorithmBytes
public com.google.protobuf.ByteString getChecksumAlgorithmBytes()Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Specified by:
getChecksumAlgorithmBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for checksumAlgorithm.
-
hasTikaParserClass
public boolean hasTikaParserClass()Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Specified by:
hasTikaParserClassin interfaceGenericMetadataOrBuilder- Returns:
- Whether the tikaParserClass field is set.
-
getTikaParserClass
Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Specified by:
getTikaParserClassin interfaceGenericMetadataOrBuilder- Returns:
- The tikaParserClass.
-
getTikaParserClassBytes
public com.google.protobuf.ByteString getTikaParserClassBytes()Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Specified by:
getTikaParserClassBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for tikaParserClass.
-
getParserOptionsList
public com.google.protobuf.ProtocolStringList getParserOptionsList()Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsListin interfaceGenericMetadataOrBuilder- Returns:
- A list containing the parserOptions.
-
getParserOptionsCount
public int getParserOptionsCount()Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsCountin interfaceGenericMetadataOrBuilder- Returns:
- The count of parserOptions.
-
getParserOptions
Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parserOptions at the given index.
-
getParserOptionsBytes
public com.google.protobuf.ByteString getParserOptionsBytes(int index) Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsBytesin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parserOptions at the given index.
-
hasParseStatus
public boolean hasParseStatus()Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Specified by:
hasParseStatusin interfaceGenericMetadataOrBuilder- Returns:
- Whether the parseStatus field is set.
-
getParseStatus
Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Specified by:
getParseStatusin interfaceGenericMetadataOrBuilder- Returns:
- The parseStatus.
-
getParseStatusBytes
public com.google.protobuf.ByteString getParseStatusBytes()Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Specified by:
getParseStatusBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for parseStatus.
-
getParserMessagesList
public com.google.protobuf.ProtocolStringList getParserMessagesList()Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesListin interfaceGenericMetadataOrBuilder- Returns:
- A list containing the parserMessages.
-
getParserMessagesCount
public int getParserMessagesCount()Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesCountin interfaceGenericMetadataOrBuilder- Returns:
- The count of parserMessages.
-
getParserMessages
Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parserMessages at the given index.
-
getParserMessagesBytes
public com.google.protobuf.ByteString getParserMessagesBytes(int index) Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesBytesin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parserMessages at the given index.
-
hasAllMetadata
public boolean hasAllMetadata()All metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured here
.google.protobuf.Struct all_metadata = 20 [json_name = "allMetadata"];- Specified by:
hasAllMetadatain interfaceGenericMetadataOrBuilder- Returns:
- Whether the allMetadata field is set.
-
getAllMetadata
public com.google.protobuf.Struct getAllMetadata()All metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured here
.google.protobuf.Struct all_metadata = 20 [json_name = "allMetadata"];- Specified by:
getAllMetadatain interfaceGenericMetadataOrBuilder- Returns:
- The allMetadata.
-
getAllMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getAllMetadataOrBuilder()All metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured here
.google.protobuf.Struct all_metadata = 20 [json_name = "allMetadata"];- Specified by:
getAllMetadataOrBuilderin interfaceGenericMetadataOrBuilder
-
hasDocumentProperties
public boolean hasDocumentProperties()Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"];- Specified by:
hasDocumentPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- Whether the documentProperties field is set.
-
getDocumentProperties
public com.google.protobuf.Struct getDocumentProperties()Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"];- Specified by:
getDocumentPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- The documentProperties.
-
getDocumentPropertiesOrBuilder
public com.google.protobuf.StructOrBuilder getDocumentPropertiesOrBuilder()Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"];- Specified by:
getDocumentPropertiesOrBuilderin interfaceGenericMetadataOrBuilder
-
hasCustomMetadata
public boolean hasCustomMetadata()Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"];- Specified by:
hasCustomMetadatain interfaceGenericMetadataOrBuilder- Returns:
- Whether the customMetadata field is set.
-
getCustomMetadata
public com.google.protobuf.Struct getCustomMetadata()Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"];- Specified by:
getCustomMetadatain interfaceGenericMetadataOrBuilder- Returns:
- The customMetadata.
-
getCustomMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getCustomMetadataOrBuilder()Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"];- Specified by:
getCustomMetadataOrBuilderin interfaceGenericMetadataOrBuilder
-
hasTechnicalProperties
public boolean hasTechnicalProperties()Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"];- Specified by:
hasTechnicalPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- Whether the technicalProperties field is set.
-
getTechnicalProperties
public com.google.protobuf.Struct getTechnicalProperties()Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"];- Specified by:
getTechnicalPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- The technicalProperties.
-
getTechnicalPropertiesOrBuilder
public com.google.protobuf.StructOrBuilder getTechnicalPropertiesOrBuilder()Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"];- Specified by:
getTechnicalPropertiesOrBuilderin interfaceGenericMetadataOrBuilder
-
hasBaseFields
public boolean hasBaseFields()Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"];- Specified by:
hasBaseFieldsin interfaceGenericMetadataOrBuilder- 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 = 100 [json_name = "baseFields"];- Specified by:
getBaseFieldsin interfaceGenericMetadataOrBuilder- Returns:
- The baseFields.
-
getBaseFieldsOrBuilder
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"];- Specified by:
getBaseFieldsOrBuilderin interfaceGenericMetadataOrBuilder
-
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 GenericMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GenericMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GenericMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GenericMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GenericMetadata 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 GenericMetadata.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
-