Package org.apache.tika
Interface FetchAndParseRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchAndParseRequest,FetchAndParseRequest.Builder
public interface FetchAndParseRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionYou can supply additional fetch configuration using this.com.google.protobuf.ByteStringYou can supply additional fetch configuration using this.The ID of the emitter to use (optional).com.google.protobuf.ByteStringThe ID of the emitter to use (optional).The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.com.google.protobuf.ByteStringThe ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.The "Fetch Key" of the item that will be fetched.com.google.protobuf.ByteStringThe "Fetch Key" of the item that will be fetched.Optional JSON object to configure the ParseContext for this request, overriding server defaults.com.google.protobuf.ByteStringOptional JSON object to configure the ParseContext for this request, overriding server defaults.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
-
getFetcherId
String getFetcherId()The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.
string fetcher_id = 1;- Returns:
- The fetcherId.
-
getFetcherIdBytes
com.google.protobuf.ByteString getFetcherIdBytes()The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.
string fetcher_id = 1;- Returns:
- The bytes for fetcherId.
-
getFetchKey
String getFetchKey()The "Fetch Key" of the item that will be fetched.
string fetch_key = 2;- Returns:
- The fetchKey.
-
getFetchKeyBytes
com.google.protobuf.ByteString getFetchKeyBytes()The "Fetch Key" of the item that will be fetched.
string fetch_key = 2;- Returns:
- The bytes for fetchKey.
-
getAdditionalFetchConfigJson
String getAdditionalFetchConfigJson()You can supply additional fetch configuration using this. Follows same fetch configuration json schema as the fetcher configuration.
string additional_fetch_config_json = 3;- Returns:
- The additionalFetchConfigJson.
-
getAdditionalFetchConfigJsonBytes
com.google.protobuf.ByteString getAdditionalFetchConfigJsonBytes()You can supply additional fetch configuration using this. Follows same fetch configuration json schema as the fetcher configuration.
string additional_fetch_config_json = 3;- Returns:
- The bytes for additionalFetchConfigJson.
-
getEmitterId
String getEmitterId()The ID of the emitter to use (optional). If not provided, no emitter will be used.
string emitter_id = 4;- Returns:
- The emitterId.
-
getEmitterIdBytes
com.google.protobuf.ByteString getEmitterIdBytes()The ID of the emitter to use (optional). If not provided, no emitter will be used.
string emitter_id = 4;- Returns:
- The bytes for emitterId.
-
getParseContextJson
String getParseContextJson()Optional JSON object to configure the ParseContext for this request, overriding server defaults. Keys are parse-context component names; values are their JSON configs. Example: {"basic-content-handler-factory": {"type": "HTML"}, "timeout-limits": {"progressTimeoutMillis": 30000}} See the parse-context.idx component registry for available component names.string parse_context_json = 5;- Returns:
- The parseContextJson.
-
getParseContextJsonBytes
com.google.protobuf.ByteString getParseContextJsonBytes()Optional JSON object to configure the ParseContext for this request, overriding server defaults. Keys are parse-context component names; values are their JSON configs. Example: {"basic-content-handler-factory": {"type": "HTML"}, "timeout-limits": {"progressTimeoutMillis": 30000}} See the parse-context.idx component registry for available component names.string parse_context_json = 5;- Returns:
- The bytes for parseContextJson.
-