Class TikaBaseFields

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields
All Implemented Interfaces:
TikaBaseFieldsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class TikaBaseFields extends com.google.protobuf.GeneratedMessage implements TikaBaseFieldsOrBuilder
 Base metadata structure for Tika parsing results.
 Contains common fields and extensibility mechanisms used across all document types.
 
Protobuf type ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Base metadata structure for Tika parsing results.

    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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Tika parser class name that processed this document
    com.google.protobuf.ByteString
    Tika parser class name that processed this document
    com.google.protobuf.Parser<TikaBaseFields>
     
    Parse timestamp
    com.google.protobuf.ByteString
    Parse timestamp
    getParseWarnings(int index)
    Any parsing warnings or errors encountered
    com.google.protobuf.ByteString
    Any parsing warnings or errors encountered
    int
    Any parsing warnings or errors encountered
    com.google.protobuf.ProtocolStringList
    Any parsing warnings or errors encountered
    com.google.protobuf.Struct
    Raw metadata map containing all key-value pairs extracted by Tika This provides complete extensibility for any metadata not covered by strongly-typed fields
    com.google.protobuf.StructOrBuilder
    Raw metadata map containing all key-value pairs extracted by Tika This provides complete extensibility for any metadata not covered by strongly-typed fields
    int
     
    Tika version used for parsing
    com.google.protobuf.ByteString
    Tika version used for parsing
    int
     
    boolean
    Tika parser class name that processed this document
    boolean
    Parse timestamp
    boolean
    Raw metadata map containing all key-value pairs extracted by Tika This provides complete extensibility for any metadata not covered by strongly-typed fields
    boolean
    Tika version used for parsing
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<TikaBaseFields>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • RAW_METADATA_FIELD_NUMBER

      public static final int RAW_METADATA_FIELD_NUMBER
      See Also:
    • PARSER_CLASS_FIELD_NUMBER

      public static final int PARSER_CLASS_FIELD_NUMBER
      See Also:
    • TIKA_VERSION_FIELD_NUMBER

      public static final int TIKA_VERSION_FIELD_NUMBER
      See Also:
    • PARSE_TIMESTAMP_FIELD_NUMBER

      public static final int PARSE_TIMESTAMP_FIELD_NUMBER
      See Also:
    • PARSE_WARNINGS_FIELD_NUMBER

      public static final int PARSE_WARNINGS_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
    • hasRawMetadata

      public boolean hasRawMetadata()
       Raw metadata map containing all key-value pairs extracted by Tika
       This provides complete extensibility for any metadata not covered by strongly-typed fields
       
      .google.protobuf.Struct raw_metadata = 1 [json_name = "rawMetadata"];
      Specified by:
      hasRawMetadata in interface TikaBaseFieldsOrBuilder
      Returns:
      Whether the rawMetadata field is set.
    • getRawMetadata

      public com.google.protobuf.Struct getRawMetadata()
       Raw metadata map containing all key-value pairs extracted by Tika
       This provides complete extensibility for any metadata not covered by strongly-typed fields
       
      .google.protobuf.Struct raw_metadata = 1 [json_name = "rawMetadata"];
      Specified by:
      getRawMetadata in interface TikaBaseFieldsOrBuilder
      Returns:
      The rawMetadata.
    • getRawMetadataOrBuilder

      public com.google.protobuf.StructOrBuilder getRawMetadataOrBuilder()
       Raw metadata map containing all key-value pairs extracted by Tika
       This provides complete extensibility for any metadata not covered by strongly-typed fields
       
      .google.protobuf.Struct raw_metadata = 1 [json_name = "rawMetadata"];
      Specified by:
      getRawMetadataOrBuilder in interface TikaBaseFieldsOrBuilder
    • hasParserClass

      public boolean hasParserClass()
       Tika parser class name that processed this document
       
      optional string parser_class = 2 [json_name = "parserClass"];
      Specified by:
      hasParserClass in interface TikaBaseFieldsOrBuilder
      Returns:
      Whether the parserClass field is set.
    • getParserClass

      public String getParserClass()
       Tika parser class name that processed this document
       
      optional string parser_class = 2 [json_name = "parserClass"];
      Specified by:
      getParserClass in interface TikaBaseFieldsOrBuilder
      Returns:
      The parserClass.
    • getParserClassBytes

      public com.google.protobuf.ByteString getParserClassBytes()
       Tika parser class name that processed this document
       
      optional string parser_class = 2 [json_name = "parserClass"];
      Specified by:
      getParserClassBytes in interface TikaBaseFieldsOrBuilder
      Returns:
      The bytes for parserClass.
    • hasTikaVersion

      public boolean hasTikaVersion()
       Tika version used for parsing
       
      optional string tika_version = 3 [json_name = "tikaVersion"];
      Specified by:
      hasTikaVersion in interface TikaBaseFieldsOrBuilder
      Returns:
      Whether the tikaVersion field is set.
    • getTikaVersion

      public String getTikaVersion()
       Tika version used for parsing
       
      optional string tika_version = 3 [json_name = "tikaVersion"];
      Specified by:
      getTikaVersion in interface TikaBaseFieldsOrBuilder
      Returns:
      The tikaVersion.
    • getTikaVersionBytes

      public com.google.protobuf.ByteString getTikaVersionBytes()
       Tika version used for parsing
       
      optional string tika_version = 3 [json_name = "tikaVersion"];
      Specified by:
      getTikaVersionBytes in interface TikaBaseFieldsOrBuilder
      Returns:
      The bytes for tikaVersion.
    • hasParseTimestamp

      public boolean hasParseTimestamp()
       Parse timestamp
       
      optional string parse_timestamp = 4 [json_name = "parseTimestamp"];
      Specified by:
      hasParseTimestamp in interface TikaBaseFieldsOrBuilder
      Returns:
      Whether the parseTimestamp field is set.
    • getParseTimestamp

      public String getParseTimestamp()
       Parse timestamp
       
      optional string parse_timestamp = 4 [json_name = "parseTimestamp"];
      Specified by:
      getParseTimestamp in interface TikaBaseFieldsOrBuilder
      Returns:
      The parseTimestamp.
    • getParseTimestampBytes

      public com.google.protobuf.ByteString getParseTimestampBytes()
       Parse timestamp
       
      optional string parse_timestamp = 4 [json_name = "parseTimestamp"];
      Specified by:
      getParseTimestampBytes in interface TikaBaseFieldsOrBuilder
      Returns:
      The bytes for parseTimestamp.
    • getParseWarningsList

      public com.google.protobuf.ProtocolStringList getParseWarningsList()
       Any parsing warnings or errors encountered
       
      repeated string parse_warnings = 5 [json_name = "parseWarnings"];
      Specified by:
      getParseWarningsList in interface TikaBaseFieldsOrBuilder
      Returns:
      A list containing the parseWarnings.
    • getParseWarningsCount

      public int getParseWarningsCount()
       Any parsing warnings or errors encountered
       
      repeated string parse_warnings = 5 [json_name = "parseWarnings"];
      Specified by:
      getParseWarningsCount in interface TikaBaseFieldsOrBuilder
      Returns:
      The count of parseWarnings.
    • getParseWarnings

      public String getParseWarnings(int index)
       Any parsing warnings or errors encountered
       
      repeated string parse_warnings = 5 [json_name = "parseWarnings"];
      Specified by:
      getParseWarnings in interface TikaBaseFieldsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The parseWarnings at the given index.
    • getParseWarningsBytes

      public com.google.protobuf.ByteString getParseWarningsBytes(int index)
       Any parsing warnings or errors encountered
       
      repeated string parse_warnings = 5 [json_name = "parseWarnings"];
      Specified by:
      getParseWarningsBytes in interface TikaBaseFieldsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the parseWarnings at the given index.
    • 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 TikaBaseFields parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TikaBaseFields parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TikaBaseFields parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TikaBaseFields parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TikaBaseFields parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TikaBaseFields parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static TikaBaseFields parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static TikaBaseFields parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TikaBaseFields parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static TikaBaseFields.Builder newBuilder()
    • newBuilder

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

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

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

      public static TikaBaseFields getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TikaBaseFields> 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 TikaBaseFields getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder