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 typetika.FetchAndParseReply
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FetchAndParseReply.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FetchAndParseReplybuild()FetchAndParseReplybuildPartial()FetchAndParseReply.Builderclear()FetchAndParseReply.BuilderclearErrorMessage()If there was an error, this will contain the error message.FetchAndParseReply.BuilderclearFetchKey()Echoes the fetch_key that was sent in the request.FetchAndParseReply.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FetchAndParseReply.BuilderclearFields()FetchAndParseReply.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FetchAndParseReply.BuilderclearStatus()The status from the message.FetchAndParseReply.Builderclone()booleancontainsFields(String key)Metadata fields from the parse output.FetchAndParseReplygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetErrorMessage()If there was an error, this will contain the error message.com.google.protobuf.ByteStringgetErrorMessageBytes()If there was an error, this will contain the error message.StringgetFetchKey()Echoes the fetch_key that was sent in the request.com.google.protobuf.ByteStringgetFetchKeyBytes()Echoes the fetch_key that was sent in the request.Map<String,String>getFields()Deprecated.intgetFieldsCount()Metadata fields from the parse output.Map<String,String>getFieldsMap()Metadata fields from the parse output.StringgetFieldsOrDefault(String key, String defaultValue)Metadata fields from the parse output.StringgetFieldsOrThrow(String key)Metadata fields from the parse output.Map<String,String>getMutableFields()Deprecated.StringgetStatus()The status from the message.com.google.protobuf.ByteStringgetStatusBytes()The status from the message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()FetchAndParseReply.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FetchAndParseReply.BuildermergeFrom(com.google.protobuf.Message other)FetchAndParseReply.BuildermergeFrom(FetchAndParseReply other)FetchAndParseReply.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FetchAndParseReply.BuilderputAllFields(Map<String,String> values)Metadata fields from the parse output.FetchAndParseReply.BuilderputFields(String key, String value)Metadata fields from the parse output.FetchAndParseReply.BuilderremoveFields(String key)Metadata fields from the parse output.FetchAndParseReply.BuildersetErrorMessage(String value)If there was an error, this will contain the error message.FetchAndParseReply.BuildersetErrorMessageBytes(com.google.protobuf.ByteString value)If there was an error, this will contain the error message.FetchAndParseReply.BuildersetFetchKey(String value)Echoes the fetch_key that was sent in the request.FetchAndParseReply.BuildersetFetchKeyBytes(com.google.protobuf.ByteString value)Echoes the fetch_key that was sent in the request.FetchAndParseReply.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FetchAndParseReply.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FetchAndParseReply.BuildersetStatus(String value)The status from the message.FetchAndParseReply.BuildersetStatusBytes(com.google.protobuf.ByteString value)The status from the message.FetchAndParseReply.BuildersetUnknownFields(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public FetchAndParseReply getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FetchAndParseReply build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FetchAndParseReply buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FetchAndParseReply.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
public FetchAndParseReply.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseReply.Builder>
-
clearOneof
public FetchAndParseReply.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public FetchAndParseReply.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchAndParseReply.Builder>
-
mergeFrom
public FetchAndParseReply.Builder mergeFrom(FetchAndParseReply other)
-
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
public String 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
public FetchAndParseReply.Builder setFetchKey(String value)
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
public FetchAndParseReply.Builder clearFetchKey()
Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Returns:
- This builder for chaining.
-
setFetchKeyBytes
public FetchAndParseReply.Builder setFetchKeyBytes(com.google.protobuf.ByteString value)
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
public boolean containsFields(String key)
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
containsFieldsin interfaceFetchAndParseReplyOrBuilder
-
getFields
@Deprecated public Map<String,String> getFields()
Deprecated.UsegetFieldsMap()instead.- Specified by:
getFieldsin interfaceFetchAndParseReplyOrBuilder
-
getFieldsMap
public Map<String,String> getFieldsMap()
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
getFieldsMapin interfaceFetchAndParseReplyOrBuilder
-
getFieldsOrDefault
public String getFieldsOrDefault(String key, String defaultValue)
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
getFieldsOrDefaultin interfaceFetchAndParseReplyOrBuilder
-
getFieldsOrThrow
public String getFieldsOrThrow(String key)
Metadata fields from the parse output.
map<string, string> fields = 2;- Specified by:
getFieldsOrThrowin interfaceFetchAndParseReplyOrBuilder
-
clearFields
public FetchAndParseReply.Builder clearFields()
-
removeFields
public FetchAndParseReply.Builder removeFields(String key)
Metadata fields from the parse output.
map<string, string> fields = 2;
-
getMutableFields
@Deprecated public Map<String,String> getMutableFields()
Deprecated.Use alternate mutation accessors instead.
-
putFields
public FetchAndParseReply.Builder putFields(String key, String value)
Metadata fields from the parse output.
map<string, string> fields = 2;
-
putAllFields
public FetchAndParseReply.Builder putAllFields(Map<String,String> values)
Metadata fields from the parse output.
map<string, string> fields = 2;
-
getStatus
public String 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
public FetchAndParseReply.Builder setStatus(String value)
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
public FetchAndParseReply.Builder 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
public FetchAndParseReply.Builder setStatusBytes(com.google.protobuf.ByteString value)
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
public String 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
public FetchAndParseReply.Builder setErrorMessage(String value)
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
public FetchAndParseReply.Builder clearErrorMessage()
If there was an error, this will contain the error message.
string error_message = 4;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
public FetchAndParseReply.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
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>
-
-