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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsFields(String key)
Metadata fields from the parse output.String
getErrorMessage()
If there was an error, this will contain the error message.com.google.protobuf.ByteString
getErrorMessageBytes()
If there was an error, this will contain the error message.String
getFetchKey()
Echoes the fetch_key that was sent in the request.com.google.protobuf.ByteString
getFetchKeyBytes()
Echoes the fetch_key that was sent in the request.Map<String,String>
getFields()
Deprecated.int
getFieldsCount()
Metadata fields from the parse output.Map<String,String>
getFieldsMap()
Metadata fields from the parse output.String
getFieldsOrDefault(String key, String defaultValue)
Metadata fields from the parse output.String
getFieldsOrThrow(String key)
Metadata fields from the parse output.String
getStatus()
The status from the message.com.google.protobuf.ByteString
getStatusBytes()
The status from the message.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean containsFields(String key)
Metadata fields from the parse output.
map<string, string> fields = 2;
-
getFields
@Deprecated Map<String,String> getFields()
Deprecated.UsegetFieldsMap()
instead.
-
getFieldsMap
Map<String,String> getFieldsMap()
Metadata fields from the parse output.
map<string, string> fields = 2;
-
getFieldsOrDefault
String getFieldsOrDefault(String key, String defaultValue)
Metadata fields from the parse output.
map<string, string> fields = 2;
-
getFieldsOrThrow
String getFieldsOrThrow(String key)
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.
-
-