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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      hasDocumentFormat in interface GenericMetadataOrBuilder
      Returns:
      Whether the documentFormat field is set.
    • getDocumentFormat

      public String 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:
      getDocumentFormat in interface GenericMetadataOrBuilder
      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:
      getDocumentFormatBytes in interface GenericMetadataOrBuilder
      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:
      hasFormatVersion in interface GenericMetadataOrBuilder
      Returns:
      Whether the formatVersion field is set.
    • getFormatVersion

      public String getFormatVersion()
       Format version (if detectable)
       e.g., "5.1", "12.0", "2003"
       
      optional string format_version = 2 [json_name = "formatVersion"];
      Specified by:
      getFormatVersion in interface GenericMetadataOrBuilder
      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:
      getFormatVersionBytes in interface GenericMetadataOrBuilder
      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:
      hasDetectedMimeType in interface GenericMetadataOrBuilder
      Returns:
      Whether the detectedMimeType field is set.
    • getDetectedMimeType

      public String getDetectedMimeType()
       MIME type as detected by Tika
       
      optional string detected_mime_type = 3 [json_name = "detectedMimeType"];
      Specified by:
      getDetectedMimeType in interface GenericMetadataOrBuilder
      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:
      getDetectedMimeTypeBytes in interface GenericMetadataOrBuilder
      Returns:
      The bytes for detectedMimeType.
    • hasFileExtension

      public boolean hasFileExtension()
       File extension (if available)
       
      optional string file_extension = 4 [json_name = "fileExtension"];
      Specified by:
      hasFileExtension in interface GenericMetadataOrBuilder
      Returns:
      Whether the fileExtension field is set.
    • getFileExtension

      public String getFileExtension()
       File extension (if available)
       
      optional string file_extension = 4 [json_name = "fileExtension"];
      Specified by:
      getFileExtension in interface GenericMetadataOrBuilder
      Returns:
      The fileExtension.
    • getFileExtensionBytes

      public com.google.protobuf.ByteString getFileExtensionBytes()
       File extension (if available)
       
      optional string file_extension = 4 [json_name = "fileExtension"];
      Specified by:
      getFileExtensionBytes in interface GenericMetadataOrBuilder
      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:
      hasCreatingApplication in interface GenericMetadataOrBuilder
      Returns:
      Whether the creatingApplication field is set.
    • getCreatingApplication

      public String getCreatingApplication()
       Application that created the document (if detectable)
       
      optional string creating_application = 5 [json_name = "creatingApplication"];
      Specified by:
      getCreatingApplication in interface GenericMetadataOrBuilder
      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:
      getCreatingApplicationBytes in interface GenericMetadataOrBuilder
      Returns:
      The bytes for creatingApplication.
    • hasApplicationVersion

      public boolean hasApplicationVersion()
       Application version
       
      optional string application_version = 6 [json_name = "applicationVersion"];
      Specified by:
      hasApplicationVersion in interface GenericMetadataOrBuilder
      Returns:
      Whether the applicationVersion field is set.
    • getApplicationVersion

      public String getApplicationVersion()
       Application version
       
      optional string application_version = 6 [json_name = "applicationVersion"];
      Specified by:
      getApplicationVersion in interface GenericMetadataOrBuilder
      Returns:
      The applicationVersion.
    • getApplicationVersionBytes

      public com.google.protobuf.ByteString getApplicationVersionBytes()
       Application version
       
      optional string application_version = 6 [json_name = "applicationVersion"];
      Specified by:
      getApplicationVersionBytes in interface GenericMetadataOrBuilder
      Returns:
      The bytes for applicationVersion.
    • hasContentLength

      public boolean hasContentLength()
       Estimated content length in characters
       
      optional int64 content_length = 7 [json_name = "contentLength"];
      Specified by:
      hasContentLength in interface GenericMetadataOrBuilder
      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:
      getContentLength in interface GenericMetadataOrBuilder
      Returns:
      The contentLength.
    • hasContentLanguage

      public boolean hasContentLanguage()
       Detected content language
       
      optional string content_language = 8 [json_name = "contentLanguage"];
      Specified by:
      hasContentLanguage in interface GenericMetadataOrBuilder
      Returns:
      Whether the contentLanguage field is set.
    • getContentLanguage

      public String getContentLanguage()
       Detected content language
       
      optional string content_language = 8 [json_name = "contentLanguage"];
      Specified by:
      getContentLanguage in interface GenericMetadataOrBuilder
      Returns:
      The contentLanguage.
    • getContentLanguageBytes

      public com.google.protobuf.ByteString getContentLanguageBytes()
       Detected content language
       
      optional string content_language = 8 [json_name = "contentLanguage"];
      Specified by:
      getContentLanguageBytes in interface GenericMetadataOrBuilder
      Returns:
      The bytes for contentLanguage.
    • hasContentEncoding

      public boolean hasContentEncoding()
       Content encoding (if applicable)
       
      optional string content_encoding = 9 [json_name = "contentEncoding"];
      Specified by:
      hasContentEncoding in interface GenericMetadataOrBuilder
      Returns:
      Whether the contentEncoding field is set.
    • getContentEncoding

      public String getContentEncoding()
       Content encoding (if applicable)
       
      optional string content_encoding = 9 [json_name = "contentEncoding"];
      Specified by:
      getContentEncoding in interface GenericMetadataOrBuilder
      Returns:
      The contentEncoding.
    • getContentEncodingBytes

      public com.google.protobuf.ByteString getContentEncodingBytes()
       Content encoding (if applicable)
       
      optional string content_encoding = 9 [json_name = "contentEncoding"];
      Specified by:
      getContentEncodingBytes in interface GenericMetadataOrBuilder
      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:
      hasIsEncrypted in interface GenericMetadataOrBuilder
      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:
      getIsEncrypted in interface GenericMetadataOrBuilder
      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:
      hasHasEmbeddedContent in interface GenericMetadataOrBuilder
      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:
      getHasEmbeddedContent in interface GenericMetadataOrBuilder
      Returns:
      The hasEmbeddedContent.
    • hasFileSize

      public boolean hasFileSize()
       File size in bytes (if available)
       
      optional int64 file_size = 12 [json_name = "fileSize"];
      Specified by:
      hasFileSize in interface GenericMetadataOrBuilder
      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:
      getFileSize in interface GenericMetadataOrBuilder
      Returns:
      The fileSize.
    • hasCompressionMethod

      public boolean hasCompressionMethod()
       Compression method used (if any)
       
      optional string compression_method = 13 [json_name = "compressionMethod"];
      Specified by:
      hasCompressionMethod in interface GenericMetadataOrBuilder
      Returns:
      Whether the compressionMethod field is set.
    • getCompressionMethod

      public String getCompressionMethod()
       Compression method used (if any)
       
      optional string compression_method = 13 [json_name = "compressionMethod"];
      Specified by:
      getCompressionMethod in interface GenericMetadataOrBuilder
      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:
      getCompressionMethodBytes in interface GenericMetadataOrBuilder
      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:
      hasContentChecksum in interface GenericMetadataOrBuilder
      Returns:
      Whether the contentChecksum field is set.
    • getContentChecksum

      public String getContentChecksum()
       Checksum or hash of the content (if computed)
       
      optional string content_checksum = 14 [json_name = "contentChecksum"];
      Specified by:
      getContentChecksum in interface GenericMetadataOrBuilder
      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:
      getContentChecksumBytes in interface GenericMetadataOrBuilder
      Returns:
      The bytes for contentChecksum.
    • hasChecksumAlgorithm

      public boolean hasChecksumAlgorithm()
       Checksum algorithm used
       
      optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];
      Specified by:
      hasChecksumAlgorithm in interface GenericMetadataOrBuilder
      Returns:
      Whether the checksumAlgorithm field is set.
    • getChecksumAlgorithm

      public String getChecksumAlgorithm()
       Checksum algorithm used
       
      optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];
      Specified by:
      getChecksumAlgorithm in interface GenericMetadataOrBuilder
      Returns:
      The checksumAlgorithm.
    • getChecksumAlgorithmBytes

      public com.google.protobuf.ByteString getChecksumAlgorithmBytes()
       Checksum algorithm used
       
      optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];
      Specified by:
      getChecksumAlgorithmBytes in interface GenericMetadataOrBuilder
      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:
      hasTikaParserClass in interface GenericMetadataOrBuilder
      Returns:
      Whether the tikaParserClass field is set.
    • getTikaParserClass

      public String getTikaParserClass()
       Specific Tika parser that handled this document
       
      optional string tika_parser_class = 16 [json_name = "tikaParserClass"];
      Specified by:
      getTikaParserClass in interface GenericMetadataOrBuilder
      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:
      getTikaParserClassBytes in interface GenericMetadataOrBuilder
      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:
      getParserOptionsList in interface GenericMetadataOrBuilder
      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:
      getParserOptionsCount in interface GenericMetadataOrBuilder
      Returns:
      The count of parserOptions.
    • getParserOptions

      public String getParserOptions(int index)
       Parser configuration or options used
       
      repeated string parser_options = 17 [json_name = "parserOptions"];
      Specified by:
      getParserOptions in interface GenericMetadataOrBuilder
      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:
      getParserOptionsBytes in interface GenericMetadataOrBuilder
      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:
      hasParseStatus in interface GenericMetadataOrBuilder
      Returns:
      Whether the parseStatus field is set.
    • getParseStatus

      public String getParseStatus()
       Whether parsing was successful or partial
       
      optional string parse_status = 18 [json_name = "parseStatus"];
      Specified by:
      getParseStatus in interface GenericMetadataOrBuilder
      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:
      getParseStatusBytes in interface GenericMetadataOrBuilder
      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:
      getParserMessagesList in interface GenericMetadataOrBuilder
      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:
      getParserMessagesCount in interface GenericMetadataOrBuilder
      Returns:
      The count of parserMessages.
    • getParserMessages

      public String getParserMessages(int index)
       Any parser-specific warnings or messages
       
      repeated string parser_messages = 19 [json_name = "parserMessages"];
      Specified by:
      getParserMessages in interface GenericMetadataOrBuilder
      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:
      getParserMessagesBytes in interface GenericMetadataOrBuilder
      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:
      hasAllMetadata in interface GenericMetadataOrBuilder
      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:
      getAllMetadata in interface GenericMetadataOrBuilder
      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:
      getAllMetadataOrBuilder in interface GenericMetadataOrBuilder
    • hasDocumentProperties

      public boolean hasDocumentProperties()
       Document properties (for formats that have property-based metadata)
       
      .google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"];
      Specified by:
      hasDocumentProperties in interface GenericMetadataOrBuilder
      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:
      getDocumentProperties in interface GenericMetadataOrBuilder
      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:
      getDocumentPropertiesOrBuilder in interface GenericMetadataOrBuilder
    • hasCustomMetadata

      public boolean hasCustomMetadata()
       Custom metadata fields (user-defined or application-specific)
       
      .google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"];
      Specified by:
      hasCustomMetadata in interface GenericMetadataOrBuilder
      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:
      getCustomMetadata in interface GenericMetadataOrBuilder
      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:
      getCustomMetadataOrBuilder in interface GenericMetadataOrBuilder
    • hasTechnicalProperties

      public boolean hasTechnicalProperties()
       Technical properties specific to the file format
       
      .google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"];
      Specified by:
      hasTechnicalProperties in interface GenericMetadataOrBuilder
      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:
      getTechnicalProperties in interface GenericMetadataOrBuilder
      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:
      getTechnicalPropertiesOrBuilder in interface GenericMetadataOrBuilder
    • 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:
      hasBaseFields in interface GenericMetadataOrBuilder
      Returns:
      Whether the baseFields field is set.
    • getBaseFields

      public TikaBaseFields 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:
      getBaseFields in interface GenericMetadataOrBuilder
      Returns:
      The baseFields.
    • getBaseFieldsOrBuilder

      public TikaBaseFieldsOrBuilder 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:
      getBaseFieldsOrBuilder in interface GenericMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static GenericMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenericMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenericMetadata parseDelimitedFrom(InputStream input) throws IOException
      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

      public GenericMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GenericMetadata.Builder newBuilder()
    • newBuilder

      public static GenericMetadata.Builder newBuilder(GenericMetadata prototype)
    • toBuilder

      public GenericMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GenericMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GenericMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GenericMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<GenericMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GenericMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder