Class GenericMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GenericMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<GenericMetadata.Builder>
ai.pipestream.parsed.data.generic.v1.GenericMetadata.Builder
- All Implemented Interfaces:
GenericMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
GenericMetadata
public static final class GenericMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GenericMetadata.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllParserMessages(Iterable<String> values) Any parser-specific warnings or messagesaddAllParserOptions(Iterable<String> values) Parser configuration or options usedaddParserMessages(String value) Any parser-specific warnings or messagesaddParserMessagesBytes(com.google.protobuf.ByteString value) Any parser-specific warnings or messagesaddParserOptions(String value) Parser configuration or options usedaddParserOptionsBytes(com.google.protobuf.ByteString value) Parser configuration or options usedbuild()clear()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 hereApplication versionBase Tika fields common to all document typesChecksum algorithm usedCompression method used (if any)Checksum or hash of the content (if computed)Content encoding (if applicable)Detected content languageEstimated content length in charactersApplication that created the document (if detectable)Custom metadata fields (user-defined or application-specific)MIME type as detected by TikaDetected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"Document properties (for formats that have property-based metadata)File extension (if available)File size in bytes (if available)Format version (if detectable) e.g., "5.1", "12.0", "2003"Whether the document contains embedded objects or attachmentsWhether the document appears to be encrypted or password-protectedAny parser-specific warnings or messagesParser configuration or options usedWhether parsing was successful or partialTechnical properties specific to the file formatSpecific Tika parser that handled this documentcom.google.protobuf.StructAll metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured herecom.google.protobuf.Struct.BuilderAll metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured herecom.google.protobuf.StructOrBuilderAll metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured hereApplication versioncom.google.protobuf.ByteStringApplication versionBase Tika fields common to all document typesBase Tika fields common to all document typesBase Tika fields common to all document typesChecksum algorithm usedcom.google.protobuf.ByteStringChecksum algorithm usedCompression method used (if any)com.google.protobuf.ByteStringCompression method used (if any)Checksum or hash of the content (if computed)com.google.protobuf.ByteStringChecksum or hash of the content (if computed)Content encoding (if applicable)com.google.protobuf.ByteStringContent encoding (if applicable)Detected content languagecom.google.protobuf.ByteStringDetected content languagelongEstimated content length in charactersApplication that created the document (if detectable)com.google.protobuf.ByteStringApplication that created the document (if detectable)com.google.protobuf.StructCustom metadata fields (user-defined or application-specific)com.google.protobuf.Struct.BuilderCustom metadata fields (user-defined or application-specific)com.google.protobuf.StructOrBuilderCustom metadata fields (user-defined or application-specific)static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMIME type as detected by Tikacom.google.protobuf.ByteStringMIME type as detected by TikaDetected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"com.google.protobuf.ByteStringDetected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"com.google.protobuf.StructDocument properties (for formats that have property-based metadata)com.google.protobuf.Struct.BuilderDocument properties (for formats that have property-based metadata)com.google.protobuf.StructOrBuilderDocument properties (for formats that have property-based metadata)File extension (if available)com.google.protobuf.ByteStringFile extension (if available)longFile size in bytes (if available)Format version (if detectable) e.g., "5.1", "12.0", "2003"com.google.protobuf.ByteStringFormat version (if detectable) e.g., "5.1", "12.0", "2003"booleanWhether the document contains embedded objects or attachmentsbooleanWhether the document appears to be encrypted or password-protectedgetParserMessages(int index) Any parser-specific warnings or messagescom.google.protobuf.ByteStringgetParserMessagesBytes(int index) Any parser-specific warnings or messagesintAny parser-specific warnings or messagescom.google.protobuf.ProtocolStringListAny parser-specific warnings or messagesgetParserOptions(int index) Parser configuration or options usedcom.google.protobuf.ByteStringgetParserOptionsBytes(int index) Parser configuration or options usedintParser configuration or options usedcom.google.protobuf.ProtocolStringListParser configuration or options usedWhether parsing was successful or partialcom.google.protobuf.ByteStringWhether parsing was successful or partialcom.google.protobuf.StructTechnical properties specific to the file formatcom.google.protobuf.Struct.BuilderTechnical properties specific to the file formatcom.google.protobuf.StructOrBuilderTechnical properties specific to the file formatSpecific Tika parser that handled this documentcom.google.protobuf.ByteStringSpecific Tika parser that handled this documentbooleanAll metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured herebooleanApplication versionbooleanBase Tika fields common to all document typesbooleanChecksum algorithm usedbooleanCompression method used (if any)booleanChecksum or hash of the content (if computed)booleanContent encoding (if applicable)booleanDetected content languagebooleanEstimated content length in charactersbooleanApplication that created the document (if detectable)booleanCustom metadata fields (user-defined or application-specific)booleanMIME type as detected by TikabooleanDetected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"booleanDocument properties (for formats that have property-based metadata)booleanFile extension (if available)booleanFile size in bytes (if available)booleanFormat version (if detectable) e.g., "5.1", "12.0", "2003"booleanWhether the document contains embedded objects or attachmentsbooleanWhether the document appears to be encrypted or password-protectedbooleanWhether parsing was successful or partialbooleanTechnical properties specific to the file formatbooleanSpecific Tika parser that handled this documentprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAllMetadata(com.google.protobuf.Struct value) 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 heremergeBaseFields(TikaBaseFields value) Base Tika fields common to all document typesmergeCustomMetadata(com.google.protobuf.Struct value) Custom metadata fields (user-defined or application-specific)mergeDocumentProperties(com.google.protobuf.Struct value) Document properties (for formats that have property-based metadata)mergeFrom(GenericMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTechnicalProperties(com.google.protobuf.Struct value) Technical properties specific to the file formatsetAllMetadata(com.google.protobuf.Struct value) 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 heresetAllMetadata(com.google.protobuf.Struct.Builder builderForValue) 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 heresetApplicationVersion(String value) Application versionsetApplicationVersionBytes(com.google.protobuf.ByteString value) Application versionsetBaseFields(TikaBaseFields value) Base Tika fields common to all document typessetBaseFields(TikaBaseFields.Builder builderForValue) Base Tika fields common to all document typessetChecksumAlgorithm(String value) Checksum algorithm usedsetChecksumAlgorithmBytes(com.google.protobuf.ByteString value) Checksum algorithm usedsetCompressionMethod(String value) Compression method used (if any)setCompressionMethodBytes(com.google.protobuf.ByteString value) Compression method used (if any)setContentChecksum(String value) Checksum or hash of the content (if computed)setContentChecksumBytes(com.google.protobuf.ByteString value) Checksum or hash of the content (if computed)setContentEncoding(String value) Content encoding (if applicable)setContentEncodingBytes(com.google.protobuf.ByteString value) Content encoding (if applicable)setContentLanguage(String value) Detected content languagesetContentLanguageBytes(com.google.protobuf.ByteString value) Detected content languagesetContentLength(long value) Estimated content length in characterssetCreatingApplication(String value) Application that created the document (if detectable)setCreatingApplicationBytes(com.google.protobuf.ByteString value) Application that created the document (if detectable)setCustomMetadata(com.google.protobuf.Struct value) Custom metadata fields (user-defined or application-specific)setCustomMetadata(com.google.protobuf.Struct.Builder builderForValue) Custom metadata fields (user-defined or application-specific)setDetectedMimeType(String value) MIME type as detected by TikasetDetectedMimeTypeBytes(com.google.protobuf.ByteString value) MIME type as detected by TikasetDocumentFormat(String value) Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"setDocumentFormatBytes(com.google.protobuf.ByteString value) Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"setDocumentProperties(com.google.protobuf.Struct value) Document properties (for formats that have property-based metadata)setDocumentProperties(com.google.protobuf.Struct.Builder builderForValue) Document properties (for formats that have property-based metadata)setFileExtension(String value) File extension (if available)setFileExtensionBytes(com.google.protobuf.ByteString value) File extension (if available)setFileSize(long value) File size in bytes (if available)setFormatVersion(String value) Format version (if detectable) e.g., "5.1", "12.0", "2003"setFormatVersionBytes(com.google.protobuf.ByteString value) Format version (if detectable) e.g., "5.1", "12.0", "2003"setHasEmbeddedContent(boolean value) Whether the document contains embedded objects or attachmentssetIsEncrypted(boolean value) Whether the document appears to be encrypted or password-protectedsetParserMessages(int index, String value) Any parser-specific warnings or messagessetParserOptions(int index, String value) Parser configuration or options usedsetParseStatus(String value) Whether parsing was successful or partialsetParseStatusBytes(com.google.protobuf.ByteString value) Whether parsing was successful or partialsetTechnicalProperties(com.google.protobuf.Struct value) Technical properties specific to the file formatsetTechnicalProperties(com.google.protobuf.Struct.Builder builderForValue) Technical properties specific to the file formatsetTikaParserClass(String value) Specific Tika parser that handled this documentsetTikaParserClassBytes(com.google.protobuf.ByteString value) Specific Tika parser that handled this documentMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<GenericMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GenericMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GenericMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenericMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GenericMetadata.Builder>
-
mergeFrom
public GenericMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenericMetadata.Builder>- Throws:
IOException
-
hasDocumentFormat
public boolean hasDocumentFormat()Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Specified by:
hasDocumentFormatin interfaceGenericMetadataOrBuilder- Returns:
- Whether the documentFormat field is set.
-
getDocumentFormat
Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Specified by:
getDocumentFormatin interfaceGenericMetadataOrBuilder- Returns:
- The documentFormat.
-
getDocumentFormatBytes
public com.google.protobuf.ByteString getDocumentFormatBytes()Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Specified by:
getDocumentFormatBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for documentFormat.
-
setDocumentFormat
Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Parameters:
value- The documentFormat to set.- Returns:
- This builder for chaining.
-
clearDocumentFormat
Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Returns:
- This builder for chaining.
-
setDocumentFormatBytes
Detected document format or type e.g., "WordPerfect Document", "Quattro Pro Spreadsheet", "PST Mail Archive"
optional string document_format = 1 [json_name = "documentFormat"];- Parameters:
value- The bytes for documentFormat to set.- Returns:
- This builder for chaining.
-
hasFormatVersion
public boolean hasFormatVersion()Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Specified by:
hasFormatVersionin interfaceGenericMetadataOrBuilder- Returns:
- Whether the formatVersion field is set.
-
getFormatVersion
Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Specified by:
getFormatVersionin interfaceGenericMetadataOrBuilder- Returns:
- The formatVersion.
-
getFormatVersionBytes
public com.google.protobuf.ByteString getFormatVersionBytes()Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Specified by:
getFormatVersionBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for formatVersion.
-
setFormatVersion
Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Parameters:
value- The formatVersion to set.- Returns:
- This builder for chaining.
-
clearFormatVersion
Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Returns:
- This builder for chaining.
-
setFormatVersionBytes
Format version (if detectable) e.g., "5.1", "12.0", "2003"
optional string format_version = 2 [json_name = "formatVersion"];- Parameters:
value- The bytes for formatVersion to set.- Returns:
- This builder for chaining.
-
hasDetectedMimeType
public boolean hasDetectedMimeType()MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Specified by:
hasDetectedMimeTypein interfaceGenericMetadataOrBuilder- Returns:
- Whether the detectedMimeType field is set.
-
getDetectedMimeType
MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Specified by:
getDetectedMimeTypein interfaceGenericMetadataOrBuilder- Returns:
- The detectedMimeType.
-
getDetectedMimeTypeBytes
public com.google.protobuf.ByteString getDetectedMimeTypeBytes()MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Specified by:
getDetectedMimeTypeBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for detectedMimeType.
-
setDetectedMimeType
MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Parameters:
value- The detectedMimeType to set.- Returns:
- This builder for chaining.
-
clearDetectedMimeType
MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Returns:
- This builder for chaining.
-
setDetectedMimeTypeBytes
MIME type as detected by Tika
optional string detected_mime_type = 3 [json_name = "detectedMimeType"];- Parameters:
value- The bytes for detectedMimeType to set.- Returns:
- This builder for chaining.
-
hasFileExtension
public boolean hasFileExtension()File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Specified by:
hasFileExtensionin interfaceGenericMetadataOrBuilder- Returns:
- Whether the fileExtension field is set.
-
getFileExtension
File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Specified by:
getFileExtensionin interfaceGenericMetadataOrBuilder- Returns:
- The fileExtension.
-
getFileExtensionBytes
public com.google.protobuf.ByteString getFileExtensionBytes()File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Specified by:
getFileExtensionBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for fileExtension.
-
setFileExtension
File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Parameters:
value- The fileExtension to set.- Returns:
- This builder for chaining.
-
clearFileExtension
File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Returns:
- This builder for chaining.
-
setFileExtensionBytes
File extension (if available)
optional string file_extension = 4 [json_name = "fileExtension"];- Parameters:
value- The bytes for fileExtension to set.- Returns:
- This builder for chaining.
-
hasCreatingApplication
public boolean hasCreatingApplication()Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Specified by:
hasCreatingApplicationin interfaceGenericMetadataOrBuilder- Returns:
- Whether the creatingApplication field is set.
-
getCreatingApplication
Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Specified by:
getCreatingApplicationin interfaceGenericMetadataOrBuilder- Returns:
- The creatingApplication.
-
getCreatingApplicationBytes
public com.google.protobuf.ByteString getCreatingApplicationBytes()Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Specified by:
getCreatingApplicationBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for creatingApplication.
-
setCreatingApplication
Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Parameters:
value- The creatingApplication to set.- Returns:
- This builder for chaining.
-
clearCreatingApplication
Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Returns:
- This builder for chaining.
-
setCreatingApplicationBytes
Application that created the document (if detectable)
optional string creating_application = 5 [json_name = "creatingApplication"];- Parameters:
value- The bytes for creatingApplication to set.- Returns:
- This builder for chaining.
-
hasApplicationVersion
public boolean hasApplicationVersion()Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Specified by:
hasApplicationVersionin interfaceGenericMetadataOrBuilder- Returns:
- Whether the applicationVersion field is set.
-
getApplicationVersion
Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Specified by:
getApplicationVersionin interfaceGenericMetadataOrBuilder- Returns:
- The applicationVersion.
-
getApplicationVersionBytes
public com.google.protobuf.ByteString getApplicationVersionBytes()Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Specified by:
getApplicationVersionBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for applicationVersion.
-
setApplicationVersion
Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Parameters:
value- The applicationVersion to set.- Returns:
- This builder for chaining.
-
clearApplicationVersion
Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Returns:
- This builder for chaining.
-
setApplicationVersionBytes
Application version
optional string application_version = 6 [json_name = "applicationVersion"];- Parameters:
value- The bytes for applicationVersion to set.- Returns:
- This builder for chaining.
-
hasContentLength
public boolean hasContentLength()Estimated content length in characters
optional int64 content_length = 7 [json_name = "contentLength"];- Specified by:
hasContentLengthin interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentLength field is set.
-
getContentLength
public long getContentLength()Estimated content length in characters
optional int64 content_length = 7 [json_name = "contentLength"];- Specified by:
getContentLengthin interfaceGenericMetadataOrBuilder- Returns:
- The contentLength.
-
setContentLength
Estimated content length in characters
optional int64 content_length = 7 [json_name = "contentLength"];- Parameters:
value- The contentLength to set.- Returns:
- This builder for chaining.
-
clearContentLength
Estimated content length in characters
optional int64 content_length = 7 [json_name = "contentLength"];- Returns:
- This builder for chaining.
-
hasContentLanguage
public boolean hasContentLanguage()Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Specified by:
hasContentLanguagein interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentLanguage field is set.
-
getContentLanguage
Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Specified by:
getContentLanguagein interfaceGenericMetadataOrBuilder- Returns:
- The contentLanguage.
-
getContentLanguageBytes
public com.google.protobuf.ByteString getContentLanguageBytes()Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Specified by:
getContentLanguageBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for contentLanguage.
-
setContentLanguage
Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Parameters:
value- The contentLanguage to set.- Returns:
- This builder for chaining.
-
clearContentLanguage
Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Returns:
- This builder for chaining.
-
setContentLanguageBytes
Detected content language
optional string content_language = 8 [json_name = "contentLanguage"];- Parameters:
value- The bytes for contentLanguage to set.- Returns:
- This builder for chaining.
-
hasContentEncoding
public boolean hasContentEncoding()Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Specified by:
hasContentEncodingin interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentEncoding field is set.
-
getContentEncoding
Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Specified by:
getContentEncodingin interfaceGenericMetadataOrBuilder- Returns:
- The contentEncoding.
-
getContentEncodingBytes
public com.google.protobuf.ByteString getContentEncodingBytes()Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Specified by:
getContentEncodingBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for contentEncoding.
-
setContentEncoding
Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Parameters:
value- The contentEncoding to set.- Returns:
- This builder for chaining.
-
clearContentEncoding
Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Returns:
- This builder for chaining.
-
setContentEncodingBytes
Content encoding (if applicable)
optional string content_encoding = 9 [json_name = "contentEncoding"];- Parameters:
value- The bytes for contentEncoding to set.- Returns:
- This builder for chaining.
-
hasIsEncrypted
public boolean hasIsEncrypted()Whether the document appears to be encrypted or password-protected
optional bool is_encrypted = 10 [json_name = "isEncrypted"];- Specified by:
hasIsEncryptedin interfaceGenericMetadataOrBuilder- Returns:
- Whether the isEncrypted field is set.
-
getIsEncrypted
public boolean getIsEncrypted()Whether the document appears to be encrypted or password-protected
optional bool is_encrypted = 10 [json_name = "isEncrypted"];- Specified by:
getIsEncryptedin interfaceGenericMetadataOrBuilder- Returns:
- The isEncrypted.
-
setIsEncrypted
Whether the document appears to be encrypted or password-protected
optional bool is_encrypted = 10 [json_name = "isEncrypted"];- Parameters:
value- The isEncrypted to set.- Returns:
- This builder for chaining.
-
clearIsEncrypted
Whether the document appears to be encrypted or password-protected
optional bool is_encrypted = 10 [json_name = "isEncrypted"];- Returns:
- This builder for chaining.
-
hasHasEmbeddedContent
public boolean hasHasEmbeddedContent()Whether the document contains embedded objects or attachments
optional bool has_embedded_content = 11 [json_name = "hasEmbeddedContent"];- Specified by:
hasHasEmbeddedContentin interfaceGenericMetadataOrBuilder- Returns:
- Whether the hasEmbeddedContent field is set.
-
getHasEmbeddedContent
public boolean getHasEmbeddedContent()Whether the document contains embedded objects or attachments
optional bool has_embedded_content = 11 [json_name = "hasEmbeddedContent"];- Specified by:
getHasEmbeddedContentin interfaceGenericMetadataOrBuilder- Returns:
- The hasEmbeddedContent.
-
setHasEmbeddedContent
Whether the document contains embedded objects or attachments
optional bool has_embedded_content = 11 [json_name = "hasEmbeddedContent"];- Parameters:
value- The hasEmbeddedContent to set.- Returns:
- This builder for chaining.
-
clearHasEmbeddedContent
Whether the document contains embedded objects or attachments
optional bool has_embedded_content = 11 [json_name = "hasEmbeddedContent"];- Returns:
- This builder for chaining.
-
hasFileSize
public boolean hasFileSize()File size in bytes (if available)
optional int64 file_size = 12 [json_name = "fileSize"];- Specified by:
hasFileSizein interfaceGenericMetadataOrBuilder- Returns:
- Whether the fileSize field is set.
-
getFileSize
public long getFileSize()File size in bytes (if available)
optional int64 file_size = 12 [json_name = "fileSize"];- Specified by:
getFileSizein interfaceGenericMetadataOrBuilder- Returns:
- The fileSize.
-
setFileSize
File size in bytes (if available)
optional int64 file_size = 12 [json_name = "fileSize"];- Parameters:
value- The fileSize to set.- Returns:
- This builder for chaining.
-
clearFileSize
File size in bytes (if available)
optional int64 file_size = 12 [json_name = "fileSize"];- Returns:
- This builder for chaining.
-
hasCompressionMethod
public boolean hasCompressionMethod()Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Specified by:
hasCompressionMethodin interfaceGenericMetadataOrBuilder- Returns:
- Whether the compressionMethod field is set.
-
getCompressionMethod
Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Specified by:
getCompressionMethodin interfaceGenericMetadataOrBuilder- Returns:
- The compressionMethod.
-
getCompressionMethodBytes
public com.google.protobuf.ByteString getCompressionMethodBytes()Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Specified by:
getCompressionMethodBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for compressionMethod.
-
setCompressionMethod
Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Parameters:
value- The compressionMethod to set.- Returns:
- This builder for chaining.
-
clearCompressionMethod
Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Returns:
- This builder for chaining.
-
setCompressionMethodBytes
Compression method used (if any)
optional string compression_method = 13 [json_name = "compressionMethod"];- Parameters:
value- The bytes for compressionMethod to set.- Returns:
- This builder for chaining.
-
hasContentChecksum
public boolean hasContentChecksum()Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Specified by:
hasContentChecksumin interfaceGenericMetadataOrBuilder- Returns:
- Whether the contentChecksum field is set.
-
getContentChecksum
Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Specified by:
getContentChecksumin interfaceGenericMetadataOrBuilder- Returns:
- The contentChecksum.
-
getContentChecksumBytes
public com.google.protobuf.ByteString getContentChecksumBytes()Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Specified by:
getContentChecksumBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for contentChecksum.
-
setContentChecksum
Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Parameters:
value- The contentChecksum to set.- Returns:
- This builder for chaining.
-
clearContentChecksum
Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Returns:
- This builder for chaining.
-
setContentChecksumBytes
Checksum or hash of the content (if computed)
optional string content_checksum = 14 [json_name = "contentChecksum"];- Parameters:
value- The bytes for contentChecksum to set.- Returns:
- This builder for chaining.
-
hasChecksumAlgorithm
public boolean hasChecksumAlgorithm()Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Specified by:
hasChecksumAlgorithmin interfaceGenericMetadataOrBuilder- Returns:
- Whether the checksumAlgorithm field is set.
-
getChecksumAlgorithm
Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Specified by:
getChecksumAlgorithmin interfaceGenericMetadataOrBuilder- Returns:
- The checksumAlgorithm.
-
getChecksumAlgorithmBytes
public com.google.protobuf.ByteString getChecksumAlgorithmBytes()Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Specified by:
getChecksumAlgorithmBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for checksumAlgorithm.
-
setChecksumAlgorithm
Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Parameters:
value- The checksumAlgorithm to set.- Returns:
- This builder for chaining.
-
clearChecksumAlgorithm
Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Returns:
- This builder for chaining.
-
setChecksumAlgorithmBytes
Checksum algorithm used
optional string checksum_algorithm = 15 [json_name = "checksumAlgorithm"];- Parameters:
value- The bytes for checksumAlgorithm to set.- Returns:
- This builder for chaining.
-
hasTikaParserClass
public boolean hasTikaParserClass()Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Specified by:
hasTikaParserClassin interfaceGenericMetadataOrBuilder- Returns:
- Whether the tikaParserClass field is set.
-
getTikaParserClass
Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Specified by:
getTikaParserClassin interfaceGenericMetadataOrBuilder- Returns:
- The tikaParserClass.
-
getTikaParserClassBytes
public com.google.protobuf.ByteString getTikaParserClassBytes()Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Specified by:
getTikaParserClassBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for tikaParserClass.
-
setTikaParserClass
Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Parameters:
value- The tikaParserClass to set.- Returns:
- This builder for chaining.
-
clearTikaParserClass
Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Returns:
- This builder for chaining.
-
setTikaParserClassBytes
Specific Tika parser that handled this document
optional string tika_parser_class = 16 [json_name = "tikaParserClass"];- Parameters:
value- The bytes for tikaParserClass to set.- Returns:
- This builder for chaining.
-
getParserOptionsList
public com.google.protobuf.ProtocolStringList getParserOptionsList()Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsListin interfaceGenericMetadataOrBuilder- Returns:
- A list containing the parserOptions.
-
getParserOptionsCount
public int getParserOptionsCount()Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsCountin interfaceGenericMetadataOrBuilder- Returns:
- The count of parserOptions.
-
getParserOptions
Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parserOptions at the given index.
-
getParserOptionsBytes
public com.google.protobuf.ByteString getParserOptionsBytes(int index) Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Specified by:
getParserOptionsBytesin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parserOptions at the given index.
-
setParserOptions
Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Parameters:
index- The index to set the value at.value- The parserOptions to set.- Returns:
- This builder for chaining.
-
addParserOptions
Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Parameters:
value- The parserOptions to add.- Returns:
- This builder for chaining.
-
addAllParserOptions
Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Parameters:
values- The parserOptions to add.- Returns:
- This builder for chaining.
-
clearParserOptions
Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Returns:
- This builder for chaining.
-
addParserOptionsBytes
Parser configuration or options used
repeated string parser_options = 17 [json_name = "parserOptions"];- Parameters:
value- The bytes of the parserOptions to add.- Returns:
- This builder for chaining.
-
hasParseStatus
public boolean hasParseStatus()Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Specified by:
hasParseStatusin interfaceGenericMetadataOrBuilder- Returns:
- Whether the parseStatus field is set.
-
getParseStatus
Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Specified by:
getParseStatusin interfaceGenericMetadataOrBuilder- Returns:
- The parseStatus.
-
getParseStatusBytes
public com.google.protobuf.ByteString getParseStatusBytes()Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Specified by:
getParseStatusBytesin interfaceGenericMetadataOrBuilder- Returns:
- The bytes for parseStatus.
-
setParseStatus
Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Parameters:
value- The parseStatus to set.- Returns:
- This builder for chaining.
-
clearParseStatus
Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Returns:
- This builder for chaining.
-
setParseStatusBytes
Whether parsing was successful or partial
optional string parse_status = 18 [json_name = "parseStatus"];- Parameters:
value- The bytes for parseStatus to set.- Returns:
- This builder for chaining.
-
getParserMessagesList
public com.google.protobuf.ProtocolStringList getParserMessagesList()Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesListin interfaceGenericMetadataOrBuilder- Returns:
- A list containing the parserMessages.
-
getParserMessagesCount
public int getParserMessagesCount()Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesCountin interfaceGenericMetadataOrBuilder- Returns:
- The count of parserMessages.
-
getParserMessages
Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parserMessages at the given index.
-
getParserMessagesBytes
public com.google.protobuf.ByteString getParserMessagesBytes(int index) Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Specified by:
getParserMessagesBytesin interfaceGenericMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parserMessages at the given index.
-
setParserMessages
Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Parameters:
index- The index to set the value at.value- The parserMessages to set.- Returns:
- This builder for chaining.
-
addParserMessages
Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Parameters:
value- The parserMessages to add.- Returns:
- This builder for chaining.
-
addAllParserMessages
Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Parameters:
values- The parserMessages to add.- Returns:
- This builder for chaining.
-
clearParserMessages
Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Returns:
- This builder for chaining.
-
addParserMessagesBytes
Any parser-specific warnings or messages
repeated string parser_messages = 19 [json_name = "parserMessages"];- Parameters:
value- The bytes of the parserMessages to add.- Returns:
- This builder for chaining.
-
hasAllMetadata
public boolean hasAllMetadata()All metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured here
.google.protobuf.Struct all_metadata = 20 [json_name = "allMetadata"];- Specified by:
hasAllMetadatain interfaceGenericMetadataOrBuilder- Returns:
- Whether the allMetadata field is set.
-
getAllMetadata
public com.google.protobuf.Struct getAllMetadata()All metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured here
.google.protobuf.Struct all_metadata = 20 [json_name = "allMetadata"];- Specified by:
getAllMetadatain interfaceGenericMetadataOrBuilder- Returns:
- The allMetadata.
-
setAllMetadata
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"]; -
setAllMetadata
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"]; -
mergeAllMetadata
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"]; -
clearAllMetadata
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"]; -
getAllMetadataBuilder
public com.google.protobuf.Struct.Builder getAllMetadataBuilder()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"]; -
getAllMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getAllMetadataOrBuilder()All metadata extracted by Tika as key-value pairs This is the primary extensibility mechanism - any metadata not covered by the strongly-typed fields above will be captured here
.google.protobuf.Struct all_metadata = 20 [json_name = "allMetadata"];- Specified by:
getAllMetadataOrBuilderin interfaceGenericMetadataOrBuilder
-
hasDocumentProperties
public boolean hasDocumentProperties()Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"];- Specified by:
hasDocumentPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- Whether the documentProperties field is set.
-
getDocumentProperties
public com.google.protobuf.Struct getDocumentProperties()Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"];- Specified by:
getDocumentPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- The documentProperties.
-
setDocumentProperties
Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"]; -
setDocumentProperties
public GenericMetadata.Builder setDocumentProperties(com.google.protobuf.Struct.Builder builderForValue) Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"]; -
mergeDocumentProperties
Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"]; -
clearDocumentProperties
Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"]; -
getDocumentPropertiesBuilder
public com.google.protobuf.Struct.Builder getDocumentPropertiesBuilder()Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"]; -
getDocumentPropertiesOrBuilder
public com.google.protobuf.StructOrBuilder getDocumentPropertiesOrBuilder()Document properties (for formats that have property-based metadata)
.google.protobuf.Struct document_properties = 21 [json_name = "documentProperties"];- Specified by:
getDocumentPropertiesOrBuilderin interfaceGenericMetadataOrBuilder
-
hasCustomMetadata
public boolean hasCustomMetadata()Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"];- Specified by:
hasCustomMetadatain interfaceGenericMetadataOrBuilder- Returns:
- Whether the customMetadata field is set.
-
getCustomMetadata
public com.google.protobuf.Struct getCustomMetadata()Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"];- Specified by:
getCustomMetadatain interfaceGenericMetadataOrBuilder- Returns:
- The customMetadata.
-
setCustomMetadata
Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"]; -
setCustomMetadata
public GenericMetadata.Builder setCustomMetadata(com.google.protobuf.Struct.Builder builderForValue) Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"]; -
mergeCustomMetadata
Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"]; -
clearCustomMetadata
Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"]; -
getCustomMetadataBuilder
public com.google.protobuf.Struct.Builder getCustomMetadataBuilder()Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"]; -
getCustomMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getCustomMetadataOrBuilder()Custom metadata fields (user-defined or application-specific)
.google.protobuf.Struct custom_metadata = 22 [json_name = "customMetadata"];- Specified by:
getCustomMetadataOrBuilderin interfaceGenericMetadataOrBuilder
-
hasTechnicalProperties
public boolean hasTechnicalProperties()Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"];- Specified by:
hasTechnicalPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- Whether the technicalProperties field is set.
-
getTechnicalProperties
public com.google.protobuf.Struct getTechnicalProperties()Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"];- Specified by:
getTechnicalPropertiesin interfaceGenericMetadataOrBuilder- Returns:
- The technicalProperties.
-
setTechnicalProperties
Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"]; -
setTechnicalProperties
public GenericMetadata.Builder setTechnicalProperties(com.google.protobuf.Struct.Builder builderForValue) Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"]; -
mergeTechnicalProperties
Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"]; -
clearTechnicalProperties
Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"]; -
getTechnicalPropertiesBuilder
public com.google.protobuf.Struct.Builder getTechnicalPropertiesBuilder()Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"]; -
getTechnicalPropertiesOrBuilder
public com.google.protobuf.StructOrBuilder getTechnicalPropertiesOrBuilder()Technical properties specific to the file format
.google.protobuf.Struct technical_properties = 23 [json_name = "technicalProperties"];- Specified by:
getTechnicalPropertiesOrBuilderin interfaceGenericMetadataOrBuilder
-
hasBaseFields
public boolean hasBaseFields()Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"];- Specified by:
hasBaseFieldsin interfaceGenericMetadataOrBuilder- Returns:
- Whether the baseFields field is set.
-
getBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"];- Specified by:
getBaseFieldsin interfaceGenericMetadataOrBuilder- Returns:
- The baseFields.
-
setBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"]; -
setBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"]; -
mergeBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"]; -
clearBaseFields
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"]; -
getBaseFieldsBuilder
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"]; -
getBaseFieldsOrBuilder
Base Tika fields common to all document types
.ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 100 [json_name = "baseFields"];- Specified by:
getBaseFieldsOrBuilderin interfaceGenericMetadataOrBuilder
-