Package org.apache.tika
Interface FetchAndParseReplyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchAndParseReply,FetchAndParseReply.Builder
public interface FetchAndParseReplyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsFields(String key) Metadata fields from the parse output.If 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.The status from the message.com.google.protobuf.ByteStringThe status from the message.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFetchKey
String getFetchKey()Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Returns:
- The fetchKey.
-
getFetchKeyBytes
com.google.protobuf.ByteString getFetchKeyBytes()Echoes the fetch_key that was sent in the request.
string fetch_key = 1;- Returns:
- The bytes for fetchKey.
-
getFieldsCount
int getFieldsCount()Metadata fields from the parse output.
map<string, string> fields = 2; -
containsFields
Metadata fields from the parse output.
map<string, string> fields = 2; -
getFields
Deprecated.UsegetFieldsMap()instead. -
getFieldsMap
Metadata fields from the parse output.
map<string, string> fields = 2; -
getFieldsOrDefault
Metadata fields from the parse output.
map<string, string> fields = 2; -
getFieldsOrThrow
Metadata fields from the parse output.
map<string, string> fields = 2; -
getStatus
String getStatus()The status from the message. See javadoc for org.apache.tika.pipes.PipesResult.STATUS for the list of status.
string status = 3;- Returns:
- The status.
-
getStatusBytes
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;- Returns:
- The bytes for status.
-
getErrorMessage
String getErrorMessage()If there was an error, this will contain the error message.
string error_message = 4;- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()If there was an error, this will contain the error message.
string error_message = 4;- Returns:
- The bytes for errorMessage.
-