Class TikaContent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TikaContent.Builder>
com.google.protobuf.GeneratedMessage.Builder<TikaContent.Builder>
ai.pipestream.parsed.data.tika.v1.TikaContent.Builder
- All Implemented Interfaces:
TikaContentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
TikaContent
public static final class TikaContent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TikaContent.Builder>
implements TikaContentOrBuilder
Core content - the actual text extractedProtobuf type
ai.pipestream.parsed.data.tika.v1.TikaContent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()string body = 1 [json_name = "body"];int64 content_length = 5 [json_name = "contentLength"];optional string description = 3 [json_name = "description"];optional string keywords = 4 [json_name = "keywords"];optional string title = 2 [json_name = "title"];getBody()string body = 1 [json_name = "body"];com.google.protobuf.ByteStringstring body = 1 [json_name = "body"];longint64 content_length = 5 [json_name = "contentLength"];optional string description = 3 [json_name = "description"];com.google.protobuf.ByteStringoptional string description = 3 [json_name = "description"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional string keywords = 4 [json_name = "keywords"];com.google.protobuf.ByteStringoptional string keywords = 4 [json_name = "keywords"];getTitle()optional string title = 2 [json_name = "title"];com.google.protobuf.ByteStringoptional string title = 2 [json_name = "title"];booleanoptional string description = 3 [json_name = "description"];booleanoptional string keywords = 4 [json_name = "keywords"];booleanhasTitle()optional string title = 2 [json_name = "title"];protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TikaContent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) string body = 1 [json_name = "body"];setBodyBytes(com.google.protobuf.ByteString value) string body = 1 [json_name = "body"];setContentLength(long value) int64 content_length = 5 [json_name = "contentLength"];setDescription(String value) optional string description = 3 [json_name = "description"];setDescriptionBytes(com.google.protobuf.ByteString value) optional string description = 3 [json_name = "description"];setKeywords(String value) optional string keywords = 4 [json_name = "keywords"];setKeywordsBytes(com.google.protobuf.ByteString value) optional string keywords = 4 [json_name = "keywords"];optional string title = 2 [json_name = "title"];setTitleBytes(com.google.protobuf.ByteString value) optional string title = 2 [json_name = "title"];Methods 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<TikaContent.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<TikaContent.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<TikaContent.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<TikaContent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TikaContent.Builder>
-
mergeFrom
public TikaContent.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<TikaContent.Builder>- Throws:
IOException
-
getBody
string body = 1 [json_name = "body"];- Specified by:
getBodyin interfaceTikaContentOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()string body = 1 [json_name = "body"];- Specified by:
getBodyBytesin interfaceTikaContentOrBuilder- Returns:
- The bytes for body.
-
setBody
string body = 1 [json_name = "body"];- Parameters:
value- The body to set.- Returns:
- This builder for chaining.
-
clearBody
string body = 1 [json_name = "body"];- Returns:
- This builder for chaining.
-
setBodyBytes
string body = 1 [json_name = "body"];- Parameters:
value- The bytes for body to set.- Returns:
- This builder for chaining.
-
hasTitle
public boolean hasTitle()optional string title = 2 [json_name = "title"];- Specified by:
hasTitlein interfaceTikaContentOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
optional string title = 2 [json_name = "title"];- Specified by:
getTitlein interfaceTikaContentOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()optional string title = 2 [json_name = "title"];- Specified by:
getTitleBytesin interfaceTikaContentOrBuilder- Returns:
- The bytes for title.
-
setTitle
optional string title = 2 [json_name = "title"];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
optional string title = 2 [json_name = "title"];- Returns:
- This builder for chaining.
-
setTitleBytes
optional string title = 2 [json_name = "title"];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()optional string description = 3 [json_name = "description"];- Specified by:
hasDescriptionin interfaceTikaContentOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 3 [json_name = "description"];- Specified by:
getDescriptionin interfaceTikaContentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 3 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceTikaContentOrBuilder- Returns:
- The bytes for description.
-
setDescription
optional string description = 3 [json_name = "description"];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
optional string description = 3 [json_name = "description"];- Returns:
- This builder for chaining.
-
setDescriptionBytes
optional string description = 3 [json_name = "description"];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasKeywords
public boolean hasKeywords()optional string keywords = 4 [json_name = "keywords"];- Specified by:
hasKeywordsin interfaceTikaContentOrBuilder- Returns:
- Whether the keywords field is set.
-
getKeywords
optional string keywords = 4 [json_name = "keywords"];- Specified by:
getKeywordsin interfaceTikaContentOrBuilder- Returns:
- The keywords.
-
getKeywordsBytes
public com.google.protobuf.ByteString getKeywordsBytes()optional string keywords = 4 [json_name = "keywords"];- Specified by:
getKeywordsBytesin interfaceTikaContentOrBuilder- Returns:
- The bytes for keywords.
-
setKeywords
optional string keywords = 4 [json_name = "keywords"];- Parameters:
value- The keywords to set.- Returns:
- This builder for chaining.
-
clearKeywords
optional string keywords = 4 [json_name = "keywords"];- Returns:
- This builder for chaining.
-
setKeywordsBytes
optional string keywords = 4 [json_name = "keywords"];- Parameters:
value- The bytes for keywords to set.- Returns:
- This builder for chaining.
-
getContentLength
public long getContentLength()int64 content_length = 5 [json_name = "contentLength"];- Specified by:
getContentLengthin interfaceTikaContentOrBuilder- Returns:
- The contentLength.
-
setContentLength
int64 content_length = 5 [json_name = "contentLength"];- Parameters:
value- The contentLength to set.- Returns:
- This builder for chaining.
-
clearContentLength
int64 content_length = 5 [json_name = "contentLength"];- Returns:
- This builder for chaining.
-