Class TikaResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.tika.v1.TikaResponse
- All Implemented Interfaces:
TikaResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TikaResponse
extends com.google.protobuf.GeneratedMessage
implements TikaResponseOrBuilder
Flexible TikaResponse that mirrors how Tika actually stores metadata. Only populated fields are included, making it much more efficient.Protobuf type
ai.pipestream.parsed.data.tika.v1.TikaResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFlexible TikaResponse that mirrors how Tika actually stores metadata.static enumNested 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 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 TypeMethodDescriptionbooleanRaw key-value pairs for anything not captured in typed metadataboolean.ai.pipestream.parsed.data.climate.v1.ClimateForcastMetadata climate_forecast = 22 [json_name = "climateForecast"];.ai.pipestream.parsed.data.climate.v1.ClimateForcastMetadata climate_forecast = 22 [json_name = "climateForecast"];Core content (always present if extraction succeeded)Core content (always present if extraction succeeded).ai.pipestream.parsed.data.creative_commons.v1.CreativeCommonsMetadata creative_commons = 23 [json_name = "creativeCommons"];.ai.pipestream.parsed.data.creative_commons.v1.CreativeCommonsMetadata creative_commons = 23 [json_name = "creativeCommons"];.ai.pipestream.parsed.data.database.v1.DatabaseMetadata database = 18 [json_name = "database"];.ai.pipestream.parsed.data.database.v1.DatabaseMetadata database = 18 [json_name = "database"];static TikaResponsestatic final com.google.protobuf.Descriptors.DescriptorgetDocId()Document identifiercom.google.protobuf.ByteStringDocument identifierDublin Core metadata - standardized fields present in most documentsDublin Core metadata - standardized fields present in most documentsgetEmail().ai.pipestream.parsed.data.email.v1.EmailMetadata email = 9 [json_name = "email"];.ai.pipestream.parsed.data.email.v1.EmailMetadata email = 9 [json_name = "email"];getEmbeddedDocs(int index) Embedded documents if foundintEmbedded documents if foundEmbedded documents if foundgetEmbeddedDocsOrBuilder(int index) Embedded documents if foundList<? extends TikaEmbeddedDocOrBuilder> Embedded documents if foundgetEpub().ai.pipestream.parsed.data.epub.v1.EpubMetadata epub = 20 [json_name = "epub"];.ai.pipestream.parsed.data.epub.v1.EpubMetadata epub = 20 [json_name = "epub"];getFont().ai.pipestream.parsed.data.tika.font.v1.FontMetadata font = 19 [json_name = "font"];.ai.pipestream.parsed.data.tika.font.v1.FontMetadata font = 19 [json_name = "font"];.ai.pipestream.parsed.data.generic.v1.GenericMetadata generic = 24 [json_name = "generic"];.ai.pipestream.parsed.data.generic.v1.GenericMetadata generic = 24 [json_name = "generic"];getHtml().ai.pipestream.parsed.data.html.v1.HtmlMetadata html = 11 [json_name = "html"];.ai.pipestream.parsed.data.html.v1.HtmlMetadata html = 11 [json_name = "html"];getImage().ai.pipestream.parsed.data.image.v1.ImageMetadata image = 8 [json_name = "image"];.ai.pipestream.parsed.data.image.v1.ImageMetadata image = 8 [json_name = "image"];getMedia().ai.pipestream.parsed.data.media.v1.MediaMetadata media = 10 [json_name = "media"];.ai.pipestream.parsed.data.media.v1.MediaMetadata media = 10 [json_name = "media"];getMetadata(int index) Additional metadata as typed entries (for less common fields)intAdditional metadata as typed entries (for less common fields)Additional metadata as typed entries (for less common fields)getMetadataOrBuilder(int index) Additional metadata as typed entries (for less common fields)List<? extends TikaMetadataEntryOrBuilder> Additional metadata as typed entries (for less common fields).ai.pipestream.parsed.data.office.v1.OfficeMetadata office = 5 [json_name = "office"];.ai.pipestream.parsed.data.office.v1.OfficeMetadata office = 5 [json_name = "office"];com.google.protobuf.Timestamp.google.protobuf.Timestamp parsed_at = 16 [json_name = "parsedAt"];com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp parsed_at = 16 [json_name = "parsedAt"];string parse_id = 2 [json_name = "parseId"];com.google.protobuf.ByteStringstring parse_id = 2 [json_name = "parseId"];com.google.protobuf.Parser<TikaResponse> getPdf().ai.pipestream.parsed.data.pdf.v1.PdfMetadata pdf = 7 [json_name = "pdf"];.ai.pipestream.parsed.data.pdf.v1.PdfMetadata pdf = 7 [json_name = "pdf"];Deprecated.intRaw key-value pairs for anything not captured in typed metadataRaw key-value pairs for anything not captured in typed metadatagetRawPropertiesOrDefault(String key, String defaultValue) Raw key-value pairs for anything not captured in typed metadataRaw key-value pairs for anything not captured in typed metadatagetRtf().ai.pipestream.parsed.data.rtf.v1.RtfMetadata rtf = 17 [json_name = "rtf"];.ai.pipestream.parsed.data.rtf.v1.RtfMetadata rtf = 17 [json_name = "rtf"];intParse status and statisticsParse status and statisticsgetWarc().ai.pipestream.parsed.data.warc.v1.WarcMetadata warc = 21 [json_name = "warc"];.ai.pipestream.parsed.data.warc.v1.WarcMetadata warc = 21 [json_name = "warc"];boolean.ai.pipestream.parsed.data.climate.v1.ClimateForcastMetadata climate_forecast = 22 [json_name = "climateForecast"];booleanCore content (always present if extraction succeeded)boolean.ai.pipestream.parsed.data.creative_commons.v1.CreativeCommonsMetadata creative_commons = 23 [json_name = "creativeCommons"];boolean.ai.pipestream.parsed.data.database.v1.DatabaseMetadata database = 18 [json_name = "database"];booleanDublin Core metadata - standardized fields present in most documentsbooleanhasEmail().ai.pipestream.parsed.data.email.v1.EmailMetadata email = 9 [json_name = "email"];booleanhasEpub().ai.pipestream.parsed.data.epub.v1.EpubMetadata epub = 20 [json_name = "epub"];booleanhasFont().ai.pipestream.parsed.data.tika.font.v1.FontMetadata font = 19 [json_name = "font"];boolean.ai.pipestream.parsed.data.generic.v1.GenericMetadata generic = 24 [json_name = "generic"];inthashCode()booleanhasHtml().ai.pipestream.parsed.data.html.v1.HtmlMetadata html = 11 [json_name = "html"];booleanhasImage().ai.pipestream.parsed.data.image.v1.ImageMetadata image = 8 [json_name = "image"];booleanhasMedia().ai.pipestream.parsed.data.media.v1.MediaMetadata media = 10 [json_name = "media"];boolean.ai.pipestream.parsed.data.office.v1.OfficeMetadata office = 5 [json_name = "office"];boolean.google.protobuf.Timestamp parsed_at = 16 [json_name = "parsedAt"];booleanhasPdf().ai.pipestream.parsed.data.pdf.v1.PdfMetadata pdf = 7 [json_name = "pdf"];booleanhasRtf().ai.pipestream.parsed.data.rtf.v1.RtfMetadata rtf = 17 [json_name = "rtf"];booleanParse status and statisticsbooleanhasWarc().ai.pipestream.parsed.data.warc.v1.WarcMetadata warc = 21 [json_name = "warc"];protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic TikaResponse.Builderstatic TikaResponse.BuildernewBuilder(TikaResponse prototype) protected TikaResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TikaResponseparseDelimitedFrom(InputStream input) static TikaResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TikaResponseparseFrom(byte[] data) static TikaResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TikaResponseparseFrom(com.google.protobuf.ByteString data) static TikaResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TikaResponseparseFrom(com.google.protobuf.CodedInputStream input) static TikaResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TikaResponseparseFrom(InputStream input) static TikaResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TikaResponseparseFrom(ByteBuffer data) static TikaResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TikaResponse> 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, 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
-
DOC_ID_FIELD_NUMBER
public static final int DOC_ID_FIELD_NUMBER- See Also:
-
PARSE_ID_FIELD_NUMBER
public static final int PARSE_ID_FIELD_NUMBER- See Also:
-
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER- See Also:
-
DUBLIN_CORE_FIELD_NUMBER
public static final int DUBLIN_CORE_FIELD_NUMBER- See Also:
-
OFFICE_FIELD_NUMBER
public static final int OFFICE_FIELD_NUMBER- See Also:
-
PDF_FIELD_NUMBER
public static final int PDF_FIELD_NUMBER- See Also:
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER- See Also:
-
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER- See Also:
-
MEDIA_FIELD_NUMBER
public static final int MEDIA_FIELD_NUMBER- See Also:
-
HTML_FIELD_NUMBER
public static final int HTML_FIELD_NUMBER- See Also:
-
RTF_FIELD_NUMBER
public static final int RTF_FIELD_NUMBER- See Also:
-
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER- See Also:
-
FONT_FIELD_NUMBER
public static final int FONT_FIELD_NUMBER- See Also:
-
EPUB_FIELD_NUMBER
public static final int EPUB_FIELD_NUMBER- See Also:
-
WARC_FIELD_NUMBER
public static final int WARC_FIELD_NUMBER- See Also:
-
CLIMATE_FORECAST_FIELD_NUMBER
public static final int CLIMATE_FORECAST_FIELD_NUMBER- See Also:
-
CREATIVE_COMMONS_FIELD_NUMBER
public static final int CREATIVE_COMMONS_FIELD_NUMBER- See Also:
-
GENERIC_FIELD_NUMBER
public static final int GENERIC_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
RAW_PROPERTIES_FIELD_NUMBER
public static final int RAW_PROPERTIES_FIELD_NUMBER- See Also:
-
EMBEDDED_DOCS_FIELD_NUMBER
public static final int EMBEDDED_DOCS_FIELD_NUMBER- See Also:
-
PARSED_AT_FIELD_NUMBER
public static final int PARSED_AT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDocumentMetadataCase
- Specified by:
getDocumentMetadataCasein interfaceTikaResponseOrBuilder
-
getDocId
Document identifier
string doc_id = 1 [json_name = "docId"];- Specified by:
getDocIdin interfaceTikaResponseOrBuilder- Returns:
- The docId.
-
getDocIdBytes
public com.google.protobuf.ByteString getDocIdBytes()Document identifier
string doc_id = 1 [json_name = "docId"];- Specified by:
getDocIdBytesin interfaceTikaResponseOrBuilder- Returns:
- The bytes for docId.
-
getParseId
string parse_id = 2 [json_name = "parseId"];- Specified by:
getParseIdin interfaceTikaResponseOrBuilder- Returns:
- The parseId.
-
getParseIdBytes
public com.google.protobuf.ByteString getParseIdBytes()string parse_id = 2 [json_name = "parseId"];- Specified by:
getParseIdBytesin interfaceTikaResponseOrBuilder- Returns:
- The bytes for parseId.
-
hasContent
public boolean hasContent()Core content (always present if extraction succeeded)
.ai.pipestream.parsed.data.tika.v1.TikaContent content = 3 [json_name = "content"];- Specified by:
hasContentin interfaceTikaResponseOrBuilder- Returns:
- Whether the content field is set.
-
getContent
Core content (always present if extraction succeeded)
.ai.pipestream.parsed.data.tika.v1.TikaContent content = 3 [json_name = "content"];- Specified by:
getContentin interfaceTikaResponseOrBuilder- Returns:
- The content.
-
getContentOrBuilder
Core content (always present if extraction succeeded)
.ai.pipestream.parsed.data.tika.v1.TikaContent content = 3 [json_name = "content"];- Specified by:
getContentOrBuilderin interfaceTikaResponseOrBuilder
-
hasDublinCore
public boolean hasDublinCore()Dublin Core metadata - standardized fields present in most documents
.ai.pipestream.parsed.data.dublin.v1.DublinCoreMetadata dublin_core = 4 [json_name = "dublinCore"];- Specified by:
hasDublinCorein interfaceTikaResponseOrBuilder- Returns:
- Whether the dublinCore field is set.
-
getDublinCore
Dublin Core metadata - standardized fields present in most documents
.ai.pipestream.parsed.data.dublin.v1.DublinCoreMetadata dublin_core = 4 [json_name = "dublinCore"];- Specified by:
getDublinCorein interfaceTikaResponseOrBuilder- Returns:
- The dublinCore.
-
getDublinCoreOrBuilder
Dublin Core metadata - standardized fields present in most documents
.ai.pipestream.parsed.data.dublin.v1.DublinCoreMetadata dublin_core = 4 [json_name = "dublinCore"];- Specified by:
getDublinCoreOrBuilderin interfaceTikaResponseOrBuilder
-
hasOffice
public boolean hasOffice().ai.pipestream.parsed.data.office.v1.OfficeMetadata office = 5 [json_name = "office"];- Specified by:
hasOfficein interfaceTikaResponseOrBuilder- Returns:
- Whether the office field is set.
-
getOffice
.ai.pipestream.parsed.data.office.v1.OfficeMetadata office = 5 [json_name = "office"];- Specified by:
getOfficein interfaceTikaResponseOrBuilder- Returns:
- The office.
-
getOfficeOrBuilder
.ai.pipestream.parsed.data.office.v1.OfficeMetadata office = 5 [json_name = "office"];- Specified by:
getOfficeOrBuilderin interfaceTikaResponseOrBuilder
-
hasPdf
public boolean hasPdf().ai.pipestream.parsed.data.pdf.v1.PdfMetadata pdf = 7 [json_name = "pdf"];- Specified by:
hasPdfin interfaceTikaResponseOrBuilder- Returns:
- Whether the pdf field is set.
-
getPdf
.ai.pipestream.parsed.data.pdf.v1.PdfMetadata pdf = 7 [json_name = "pdf"];- Specified by:
getPdfin interfaceTikaResponseOrBuilder- Returns:
- The pdf.
-
getPdfOrBuilder
.ai.pipestream.parsed.data.pdf.v1.PdfMetadata pdf = 7 [json_name = "pdf"];- Specified by:
getPdfOrBuilderin interfaceTikaResponseOrBuilder
-
hasImage
public boolean hasImage().ai.pipestream.parsed.data.image.v1.ImageMetadata image = 8 [json_name = "image"];- Specified by:
hasImagein interfaceTikaResponseOrBuilder- Returns:
- Whether the image field is set.
-
getImage
.ai.pipestream.parsed.data.image.v1.ImageMetadata image = 8 [json_name = "image"];- Specified by:
getImagein interfaceTikaResponseOrBuilder- Returns:
- The image.
-
getImageOrBuilder
.ai.pipestream.parsed.data.image.v1.ImageMetadata image = 8 [json_name = "image"];- Specified by:
getImageOrBuilderin interfaceTikaResponseOrBuilder
-
hasEmail
public boolean hasEmail().ai.pipestream.parsed.data.email.v1.EmailMetadata email = 9 [json_name = "email"];- Specified by:
hasEmailin interfaceTikaResponseOrBuilder- Returns:
- Whether the email field is set.
-
getEmail
.ai.pipestream.parsed.data.email.v1.EmailMetadata email = 9 [json_name = "email"];- Specified by:
getEmailin interfaceTikaResponseOrBuilder- Returns:
- The email.
-
getEmailOrBuilder
.ai.pipestream.parsed.data.email.v1.EmailMetadata email = 9 [json_name = "email"];- Specified by:
getEmailOrBuilderin interfaceTikaResponseOrBuilder
-
hasMedia
public boolean hasMedia().ai.pipestream.parsed.data.media.v1.MediaMetadata media = 10 [json_name = "media"];- Specified by:
hasMediain interfaceTikaResponseOrBuilder- Returns:
- Whether the media field is set.
-
getMedia
.ai.pipestream.parsed.data.media.v1.MediaMetadata media = 10 [json_name = "media"];- Specified by:
getMediain interfaceTikaResponseOrBuilder- Returns:
- The media.
-
getMediaOrBuilder
.ai.pipestream.parsed.data.media.v1.MediaMetadata media = 10 [json_name = "media"];- Specified by:
getMediaOrBuilderin interfaceTikaResponseOrBuilder
-
hasHtml
public boolean hasHtml().ai.pipestream.parsed.data.html.v1.HtmlMetadata html = 11 [json_name = "html"];- Specified by:
hasHtmlin interfaceTikaResponseOrBuilder- Returns:
- Whether the html field is set.
-
getHtml
.ai.pipestream.parsed.data.html.v1.HtmlMetadata html = 11 [json_name = "html"];- Specified by:
getHtmlin interfaceTikaResponseOrBuilder- Returns:
- The html.
-
getHtmlOrBuilder
.ai.pipestream.parsed.data.html.v1.HtmlMetadata html = 11 [json_name = "html"];- Specified by:
getHtmlOrBuilderin interfaceTikaResponseOrBuilder
-
hasRtf
public boolean hasRtf().ai.pipestream.parsed.data.rtf.v1.RtfMetadata rtf = 17 [json_name = "rtf"];- Specified by:
hasRtfin interfaceTikaResponseOrBuilder- Returns:
- Whether the rtf field is set.
-
getRtf
.ai.pipestream.parsed.data.rtf.v1.RtfMetadata rtf = 17 [json_name = "rtf"];- Specified by:
getRtfin interfaceTikaResponseOrBuilder- Returns:
- The rtf.
-
getRtfOrBuilder
.ai.pipestream.parsed.data.rtf.v1.RtfMetadata rtf = 17 [json_name = "rtf"];- Specified by:
getRtfOrBuilderin interfaceTikaResponseOrBuilder
-
hasDatabase
public boolean hasDatabase().ai.pipestream.parsed.data.database.v1.DatabaseMetadata database = 18 [json_name = "database"];- Specified by:
hasDatabasein interfaceTikaResponseOrBuilder- Returns:
- Whether the database field is set.
-
getDatabase
.ai.pipestream.parsed.data.database.v1.DatabaseMetadata database = 18 [json_name = "database"];- Specified by:
getDatabasein interfaceTikaResponseOrBuilder- Returns:
- The database.
-
getDatabaseOrBuilder
.ai.pipestream.parsed.data.database.v1.DatabaseMetadata database = 18 [json_name = "database"];- Specified by:
getDatabaseOrBuilderin interfaceTikaResponseOrBuilder
-
hasFont
public boolean hasFont().ai.pipestream.parsed.data.tika.font.v1.FontMetadata font = 19 [json_name = "font"];- Specified by:
hasFontin interfaceTikaResponseOrBuilder- Returns:
- Whether the font field is set.
-
getFont
.ai.pipestream.parsed.data.tika.font.v1.FontMetadata font = 19 [json_name = "font"];- Specified by:
getFontin interfaceTikaResponseOrBuilder- Returns:
- The font.
-
getFontOrBuilder
.ai.pipestream.parsed.data.tika.font.v1.FontMetadata font = 19 [json_name = "font"];- Specified by:
getFontOrBuilderin interfaceTikaResponseOrBuilder
-
hasEpub
public boolean hasEpub().ai.pipestream.parsed.data.epub.v1.EpubMetadata epub = 20 [json_name = "epub"];- Specified by:
hasEpubin interfaceTikaResponseOrBuilder- Returns:
- Whether the epub field is set.
-
getEpub
.ai.pipestream.parsed.data.epub.v1.EpubMetadata epub = 20 [json_name = "epub"];- Specified by:
getEpubin interfaceTikaResponseOrBuilder- Returns:
- The epub.
-
getEpubOrBuilder
.ai.pipestream.parsed.data.epub.v1.EpubMetadata epub = 20 [json_name = "epub"];- Specified by:
getEpubOrBuilderin interfaceTikaResponseOrBuilder
-
hasWarc
public boolean hasWarc().ai.pipestream.parsed.data.warc.v1.WarcMetadata warc = 21 [json_name = "warc"];- Specified by:
hasWarcin interfaceTikaResponseOrBuilder- Returns:
- Whether the warc field is set.
-
getWarc
.ai.pipestream.parsed.data.warc.v1.WarcMetadata warc = 21 [json_name = "warc"];- Specified by:
getWarcin interfaceTikaResponseOrBuilder- Returns:
- The warc.
-
getWarcOrBuilder
.ai.pipestream.parsed.data.warc.v1.WarcMetadata warc = 21 [json_name = "warc"];- Specified by:
getWarcOrBuilderin interfaceTikaResponseOrBuilder
-
hasClimateForecast
public boolean hasClimateForecast().ai.pipestream.parsed.data.climate.v1.ClimateForcastMetadata climate_forecast = 22 [json_name = "climateForecast"];- Specified by:
hasClimateForecastin interfaceTikaResponseOrBuilder- Returns:
- Whether the climateForecast field is set.
-
getClimateForecast
.ai.pipestream.parsed.data.climate.v1.ClimateForcastMetadata climate_forecast = 22 [json_name = "climateForecast"];- Specified by:
getClimateForecastin interfaceTikaResponseOrBuilder- Returns:
- The climateForecast.
-
getClimateForecastOrBuilder
.ai.pipestream.parsed.data.climate.v1.ClimateForcastMetadata climate_forecast = 22 [json_name = "climateForecast"];- Specified by:
getClimateForecastOrBuilderin interfaceTikaResponseOrBuilder
-
hasCreativeCommons
public boolean hasCreativeCommons().ai.pipestream.parsed.data.creative_commons.v1.CreativeCommonsMetadata creative_commons = 23 [json_name = "creativeCommons"];- Specified by:
hasCreativeCommonsin interfaceTikaResponseOrBuilder- Returns:
- Whether the creativeCommons field is set.
-
getCreativeCommons
.ai.pipestream.parsed.data.creative_commons.v1.CreativeCommonsMetadata creative_commons = 23 [json_name = "creativeCommons"];- Specified by:
getCreativeCommonsin interfaceTikaResponseOrBuilder- Returns:
- The creativeCommons.
-
getCreativeCommonsOrBuilder
.ai.pipestream.parsed.data.creative_commons.v1.CreativeCommonsMetadata creative_commons = 23 [json_name = "creativeCommons"];- Specified by:
getCreativeCommonsOrBuilderin interfaceTikaResponseOrBuilder
-
hasGeneric
public boolean hasGeneric().ai.pipestream.parsed.data.generic.v1.GenericMetadata generic = 24 [json_name = "generic"];- Specified by:
hasGenericin interfaceTikaResponseOrBuilder- Returns:
- Whether the generic field is set.
-
getGeneric
.ai.pipestream.parsed.data.generic.v1.GenericMetadata generic = 24 [json_name = "generic"];- Specified by:
getGenericin interfaceTikaResponseOrBuilder- Returns:
- The generic.
-
getGenericOrBuilder
.ai.pipestream.parsed.data.generic.v1.GenericMetadata generic = 24 [json_name = "generic"];- Specified by:
getGenericOrBuilderin interfaceTikaResponseOrBuilder
-
getMetadataList
Additional metadata as typed entries (for less common fields)
repeated .ai.pipestream.parsed.data.tika.v1.TikaMetadataEntry metadata = 12 [json_name = "metadata"];- Specified by:
getMetadataListin interfaceTikaResponseOrBuilder
-
getMetadataOrBuilderList
Additional metadata as typed entries (for less common fields)
repeated .ai.pipestream.parsed.data.tika.v1.TikaMetadataEntry metadata = 12 [json_name = "metadata"];- Specified by:
getMetadataOrBuilderListin interfaceTikaResponseOrBuilder
-
getMetadataCount
public int getMetadataCount()Additional metadata as typed entries (for less common fields)
repeated .ai.pipestream.parsed.data.tika.v1.TikaMetadataEntry metadata = 12 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceTikaResponseOrBuilder
-
getMetadata
Additional metadata as typed entries (for less common fields)
repeated .ai.pipestream.parsed.data.tika.v1.TikaMetadataEntry metadata = 12 [json_name = "metadata"];- Specified by:
getMetadatain interfaceTikaResponseOrBuilder
-
getMetadataOrBuilder
Additional metadata as typed entries (for less common fields)
repeated .ai.pipestream.parsed.data.tika.v1.TikaMetadataEntry metadata = 12 [json_name = "metadata"];- Specified by:
getMetadataOrBuilderin interfaceTikaResponseOrBuilder
-
hasStatus
public boolean hasStatus()Parse status and statistics
.ai.pipestream.parsed.data.tika.v1.TikaParseStatus status = 13 [json_name = "status"];- Specified by:
hasStatusin interfaceTikaResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Parse status and statistics
.ai.pipestream.parsed.data.tika.v1.TikaParseStatus status = 13 [json_name = "status"];- Specified by:
getStatusin interfaceTikaResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
Parse status and statistics
.ai.pipestream.parsed.data.tika.v1.TikaParseStatus status = 13 [json_name = "status"];- Specified by:
getStatusOrBuilderin interfaceTikaResponseOrBuilder
-
getRawPropertiesCount
public int getRawPropertiesCount()Description copied from interface:TikaResponseOrBuilderRaw key-value pairs for anything not captured in typed metadata
map<string, string> raw_properties = 14 [json_name = "rawProperties"];- Specified by:
getRawPropertiesCountin interfaceTikaResponseOrBuilder
-
containsRawProperties
Raw key-value pairs for anything not captured in typed metadata
map<string, string> raw_properties = 14 [json_name = "rawProperties"];- Specified by:
containsRawPropertiesin interfaceTikaResponseOrBuilder
-
getRawProperties
Deprecated.UsegetRawPropertiesMap()instead.- Specified by:
getRawPropertiesin interfaceTikaResponseOrBuilder
-
getRawPropertiesMap
Raw key-value pairs for anything not captured in typed metadata
map<string, string> raw_properties = 14 [json_name = "rawProperties"];- Specified by:
getRawPropertiesMapin interfaceTikaResponseOrBuilder
-
getRawPropertiesOrDefault
Raw key-value pairs for anything not captured in typed metadata
map<string, string> raw_properties = 14 [json_name = "rawProperties"];- Specified by:
getRawPropertiesOrDefaultin interfaceTikaResponseOrBuilder
-
getRawPropertiesOrThrow
Raw key-value pairs for anything not captured in typed metadata
map<string, string> raw_properties = 14 [json_name = "rawProperties"];- Specified by:
getRawPropertiesOrThrowin interfaceTikaResponseOrBuilder
-
getEmbeddedDocsList
Embedded documents if found
repeated .ai.pipestream.parsed.data.tika.v1.TikaEmbeddedDoc embedded_docs = 15 [json_name = "embeddedDocs"];- Specified by:
getEmbeddedDocsListin interfaceTikaResponseOrBuilder
-
getEmbeddedDocsOrBuilderList
Embedded documents if found
repeated .ai.pipestream.parsed.data.tika.v1.TikaEmbeddedDoc embedded_docs = 15 [json_name = "embeddedDocs"];- Specified by:
getEmbeddedDocsOrBuilderListin interfaceTikaResponseOrBuilder
-
getEmbeddedDocsCount
public int getEmbeddedDocsCount()Embedded documents if found
repeated .ai.pipestream.parsed.data.tika.v1.TikaEmbeddedDoc embedded_docs = 15 [json_name = "embeddedDocs"];- Specified by:
getEmbeddedDocsCountin interfaceTikaResponseOrBuilder
-
getEmbeddedDocs
Embedded documents if found
repeated .ai.pipestream.parsed.data.tika.v1.TikaEmbeddedDoc embedded_docs = 15 [json_name = "embeddedDocs"];- Specified by:
getEmbeddedDocsin interfaceTikaResponseOrBuilder
-
getEmbeddedDocsOrBuilder
Embedded documents if found
repeated .ai.pipestream.parsed.data.tika.v1.TikaEmbeddedDoc embedded_docs = 15 [json_name = "embeddedDocs"];- Specified by:
getEmbeddedDocsOrBuilderin interfaceTikaResponseOrBuilder
-
hasParsedAt
public boolean hasParsedAt().google.protobuf.Timestamp parsed_at = 16 [json_name = "parsedAt"];- Specified by:
hasParsedAtin interfaceTikaResponseOrBuilder- Returns:
- Whether the parsedAt field is set.
-
getParsedAt
public com.google.protobuf.Timestamp getParsedAt().google.protobuf.Timestamp parsed_at = 16 [json_name = "parsedAt"];- Specified by:
getParsedAtin interfaceTikaResponseOrBuilder- Returns:
- The parsedAt.
-
getParsedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getParsedAtOrBuilder().google.protobuf.Timestamp parsed_at = 16 [json_name = "parsedAt"];- Specified by:
getParsedAtOrBuilderin interfaceTikaResponseOrBuilder
-
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 TikaResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TikaResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TikaResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TikaResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TikaResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TikaResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TikaResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TikaResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TikaResponse 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 TikaResponse.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
-