Package ai.pipestream.data.v1
Class ParsedMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.ParsedMetadata
- All Implemented Interfaces:
ParsedMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ParsedMetadata
extends com.google.protobuf.GeneratedMessage
implements ParsedMetadataOrBuilder
Wrapper for parser output metadata. Contains metadata about a parser's execution and the actual parsed data. The data field uses google.protobuf.Any to support any parser-specific protobuf type.Protobuf type
ai.pipestream.data.v1.ParsedMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWrapper for parser output metadata.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 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.AnygetData()Parser-specific output data.com.google.protobuf.AnyOrBuilderParser-specific output data.static ParsedMetadatastatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTimestamp when parsing occurred.com.google.protobuf.TimestampOrBuilderTimestamp when parsing occurred.com.google.protobuf.Parser<ParsedMetadata> Name of the parser that produced this data (e.g., "tika", "docling").com.google.protobuf.ByteStringName of the parser that produced this data (e.g., "tika", "docling").Version of the parser (e.g., "4.0.0", "1.2.3").com.google.protobuf.ByteStringVersion of the parser (e.g., "4.0.0", "1.2.3").intbooleanhasData()Parser-specific output data.inthashCode()booleanTimestamp when parsing occurred.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ParsedMetadata.Builderstatic ParsedMetadata.BuildernewBuilder(ParsedMetadata prototype) protected ParsedMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ParsedMetadataparseDelimitedFrom(InputStream input) static ParsedMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ParsedMetadataparseFrom(byte[] data) static ParsedMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ParsedMetadataparseFrom(com.google.protobuf.ByteString data) static ParsedMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ParsedMetadataparseFrom(com.google.protobuf.CodedInputStream input) static ParsedMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ParsedMetadataparseFrom(InputStream input) static ParsedMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ParsedMetadataparseFrom(ByteBuffer data) static ParsedMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ParsedMetadata> 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
-
PARSER_NAME_FIELD_NUMBER
public static final int PARSER_NAME_FIELD_NUMBER- See Also:
-
PARSER_VERSION_FIELD_NUMBER
public static final int PARSER_VERSION_FIELD_NUMBER- See Also:
-
PARSED_AT_FIELD_NUMBER
public static final int PARSED_AT_FIELD_NUMBER- See Also:
-
DATA_FIELD_NUMBER
public static final int DATA_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
-
getParserName
Name of the parser that produced this data (e.g., "tika", "docling").
string parser_name = 1;- Specified by:
getParserNamein interfaceParsedMetadataOrBuilder- Returns:
- The parserName.
-
getParserNameBytes
public com.google.protobuf.ByteString getParserNameBytes()Name of the parser that produced this data (e.g., "tika", "docling").
string parser_name = 1;- Specified by:
getParserNameBytesin interfaceParsedMetadataOrBuilder- Returns:
- The bytes for parserName.
-
getParserVersion
Version of the parser (e.g., "4.0.0", "1.2.3").
string parser_version = 2;- Specified by:
getParserVersionin interfaceParsedMetadataOrBuilder- Returns:
- The parserVersion.
-
getParserVersionBytes
public com.google.protobuf.ByteString getParserVersionBytes()Version of the parser (e.g., "4.0.0", "1.2.3").
string parser_version = 2;- Specified by:
getParserVersionBytesin interfaceParsedMetadataOrBuilder- Returns:
- The bytes for parserVersion.
-
hasParsedAt
public boolean hasParsedAt()Timestamp when parsing occurred.
.google.protobuf.Timestamp parsed_at = 3;- Specified by:
hasParsedAtin interfaceParsedMetadataOrBuilder- Returns:
- Whether the parsedAt field is set.
-
getParsedAt
public com.google.protobuf.Timestamp getParsedAt()Timestamp when parsing occurred.
.google.protobuf.Timestamp parsed_at = 3;- Specified by:
getParsedAtin interfaceParsedMetadataOrBuilder- Returns:
- The parsedAt.
-
getParsedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getParsedAtOrBuilder()Timestamp when parsing occurred.
.google.protobuf.Timestamp parsed_at = 3;- Specified by:
getParsedAtOrBuilderin interfaceParsedMetadataOrBuilder
-
hasData
public boolean hasData()Parser-specific output data. Contains parser-specific protobuf messages such as TikaResponse, DoclingResponse, etc. Types registered in the schema registry will deserialize to their actual type.
.google.protobuf.Any data = 4;- Specified by:
hasDatain interfaceParsedMetadataOrBuilder- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Any getData()Parser-specific output data. Contains parser-specific protobuf messages such as TikaResponse, DoclingResponse, etc. Types registered in the schema registry will deserialize to their actual type.
.google.protobuf.Any data = 4;- Specified by:
getDatain interfaceParsedMetadataOrBuilder- Returns:
- The data.
-
getDataOrBuilder
public com.google.protobuf.AnyOrBuilder getDataOrBuilder()Parser-specific output data. Contains parser-specific protobuf messages such as TikaResponse, DoclingResponse, etc. Types registered in the schema registry will deserialize to their actual type.
.google.protobuf.Any data = 4;- Specified by:
getDataOrBuilderin interfaceParsedMetadataOrBuilder
-
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 ParsedMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParsedMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParsedMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParsedMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParsedMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParsedMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ParsedMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ParsedMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ParsedMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ParsedMetadata 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 ParsedMetadata.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
-