Package org.apache.tika
Class FetchAndParseReply.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
org.apache.tika.FetchAndParseReply.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,FetchAndParseReplyOrBuilder
- Enclosing class:
- FetchAndParseReply
public static final class FetchAndParseReply.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
implements FetchAndParseReplyOrBuilder
Protobuf type
tika.FetchAndParseReply-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If there was an error, this will contain the error message.Echoes the fetch_key that was sent in the request.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The status from the message.clone()booleancontainsFields(String key) Metadata fields from the parse output.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf there was an error, this will contain the error message.com.google.protobuf.ByteStringIf there was an error, this will contain the error message.Echoes the fetch_key that was sent in the request.com.google.protobuf.ByteStringEchoes the fetch_key that was sent in the request.Deprecated.intMetadata fields from the parse output.Metadata fields from the parse output.getFieldsOrDefault(String key, String defaultValue) Metadata fields from the parse output.getFieldsOrThrow(String key) Metadata fields from the parse output.Deprecated.The status from the message.com.google.protobuf.ByteStringThe status from the message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FetchAndParseReply other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllFields(Map<String, String> values) Metadata fields from the parse output.Metadata fields from the parse output.removeFields(String key) Metadata fields from the parse output.setErrorMessage(String value) If there was an error, this will contain the error message.setErrorMessageBytes(com.google.protobuf.ByteString value) If there was an error, this will contain the error message.setFetchKey(String value) Echoes the fetch_key that was sent in the request.setFetchKeyBytes(com.google.protobuf.ByteString value) Echoes the fetch_key that was sent in the request.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The status from the message.setStatusBytes(com.google.protobuf.ByteString value) The status from the message.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.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.GeneratedMessageV3.Builder<FetchAndParseReply.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
setField
public FetchAndParseReply.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
setRepeatedField
public FetchAndParseReply.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
addRepeatedField
public FetchAndParseReply.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchAndParseReply.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
mergeFrom
public FetchAndParseReply.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<FetchAndParseReply.Builder>- Throws:
IOException
-
getFetchKey
Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Specified by:
getFetchKeyin interfaceFetchAndParseReplyOrBuilder- Returns:
- The fetchKey.
-
getFetchKeyBytes
public com.google.protobuf.ByteString getFetchKeyBytes()Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Specified by:
getFetchKeyBytesin interfaceFetchAndParseReplyOrBuilder- Returns:
- The bytes for fetchKey.
-
setFetchKey
Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Parameters:
value- The fetchKey to set.- Returns:
- This builder for chaining.
-
clearFetchKey
Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Returns:
- This builder for chaining.
-
setFetchKeyBytes
Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Parameters:
value- The bytes for fetchKey to set.- Returns:
- This builder for chaining.
-
getFieldsCount
public int getFieldsCount()Description copied from interface:FetchAndParseReplyOrBuilderMetadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
getFieldsCountin interfaceFetchAndParseReplyOrBuilder
-
containsFields
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
containsFieldsin interfaceFetchAndParseReplyOrBuilder
-
getFields
Deprecated.UsegetFieldsMap()instead.- Specified by:
getFieldsin interfaceFetchAndParseReplyOrBuilder
-
getFieldsMap
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
getFieldsMapin interfaceFetchAndParseReplyOrBuilder
-
getFieldsOrDefault
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
getFieldsOrDefaultin interfaceFetchAndParseReplyOrBuilder
-
getFieldsOrThrow
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
getFieldsOrThrowin interfaceFetchAndParseReplyOrBuilder
-
clearFields
-
removeFields
Metadata fields from the parse output.
map<string, string> fields = 2; -
getMutableFields
Deprecated.Use alternate mutation accessors instead. -
putFields
Metadata fields from the parse output.
map<string, string> fields = 2; -
putAllFields
Metadata fields from the parse output.
map<string, string> fields = 2; -
getStatus
The status from the message. See javadoc for org.apache.tika.pipes.PipesResult.STATUS for the list of status.
string status = 3;- Specified by:
getStatusin interfaceFetchAndParseReplyOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()The status from the message. See javadoc for org.apache.tika.pipes.PipesResult.STATUS for the list of status.
string status = 3;- Specified by:
getStatusBytesin interfaceFetchAndParseReplyOrBuilder- Returns:
- The bytes for status.
-
setStatus
The status from the message. See javadoc for org.apache.tika.pipes.PipesResult.STATUS for the list of status.
string status = 3;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
The status from the message. See javadoc for org.apache.tika.pipes.PipesResult.STATUS for the list of status.
string status = 3;- Returns:
- This builder for chaining.
-
setStatusBytes
The status from the message. See javadoc for org.apache.tika.pipes.PipesResult.STATUS for the list of status.
string status = 3;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
getErrorMessage
If there was an error, this will contain the error message.
string error_message = 4;- Specified by:
getErrorMessagein interfaceFetchAndParseReplyOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()If there was an error, this will contain the error message.
string error_message = 4;- Specified by:
getErrorMessageBytesin interfaceFetchAndParseReplyOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
If there was an error, this will contain the error message.
string error_message = 4;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
If there was an error, this will contain the error message.
string error_message = 4;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
If there was an error, this will contain the error message.
string error_message = 4;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FetchAndParseReply.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
mergeUnknownFields
public final FetchAndParseReply.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-