Package org.apache.tika
Class FetchAndParseRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
- org.apache.tika.FetchAndParseRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,FetchAndParseRequestOrBuilder
- Enclosing class:
- FetchAndParseRequest
public static final class FetchAndParseRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder> implements FetchAndParseRequestOrBuilder
Protobuf typetika.FetchAndParseRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FetchAndParseRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FetchAndParseRequestbuild()FetchAndParseRequestbuildPartial()FetchAndParseRequest.Builderclear()FetchAndParseRequest.BuilderclearAdditionalFetchConfigJson()You can supply additional fetch configuration using this.FetchAndParseRequest.BuilderclearFetcherId()The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.FetchAndParseRequest.BuilderclearFetchKey()The "Fetch Key" of the item that will be fetched.FetchAndParseRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FetchAndParseRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FetchAndParseRequest.Builderclone()StringgetAdditionalFetchConfigJson()You can supply additional fetch configuration using this.com.google.protobuf.ByteStringgetAdditionalFetchConfigJsonBytes()You can supply additional fetch configuration using this.FetchAndParseRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFetcherId()The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.com.google.protobuf.ByteStringgetFetcherIdBytes()The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.StringgetFetchKey()The "Fetch Key" of the item that will be fetched.com.google.protobuf.ByteStringgetFetchKeyBytes()The "Fetch Key" of the item that will be fetched.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FetchAndParseRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FetchAndParseRequest.BuildermergeFrom(com.google.protobuf.Message other)FetchAndParseRequest.BuildermergeFrom(FetchAndParseRequest other)FetchAndParseRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FetchAndParseRequest.BuildersetAdditionalFetchConfigJson(String value)You can supply additional fetch configuration using this.FetchAndParseRequest.BuildersetAdditionalFetchConfigJsonBytes(com.google.protobuf.ByteString value)You can supply additional fetch configuration using this.FetchAndParseRequest.BuildersetFetcherId(String value)The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.FetchAndParseRequest.BuildersetFetcherIdBytes(com.google.protobuf.ByteString value)The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.FetchAndParseRequest.BuildersetFetchKey(String value)The "Fetch Key" of the item that will be fetched.FetchAndParseRequest.BuildersetFetchKeyBytes(com.google.protobuf.ByteString value)The "Fetch Key" of the item that will be fetched.FetchAndParseRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FetchAndParseRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FetchAndParseRequest.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
clear
public FetchAndParseRequest.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<FetchAndParseRequest.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<FetchAndParseRequest.Builder>
-
getDefaultInstanceForType
public FetchAndParseRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FetchAndParseRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FetchAndParseRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FetchAndParseRequest.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<FetchAndParseRequest.Builder>
-
setField
public FetchAndParseRequest.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<FetchAndParseRequest.Builder>
-
clearField
public FetchAndParseRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
clearOneof
public FetchAndParseRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
setRepeatedField
public FetchAndParseRequest.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<FetchAndParseRequest.Builder>
-
addRepeatedField
public FetchAndParseRequest.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<FetchAndParseRequest.Builder>
-
mergeFrom
public FetchAndParseRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchAndParseRequest.Builder>
-
mergeFrom
public FetchAndParseRequest.Builder mergeFrom(FetchAndParseRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
mergeFrom
public FetchAndParseRequest.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<FetchAndParseRequest.Builder>- Throws:
IOException
-
getFetcherId
public String getFetcherId()
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.
string fetcher_id = 1;- Specified by:
getFetcherIdin interfaceFetchAndParseRequestOrBuilder- Returns:
- The fetcherId.
-
getFetcherIdBytes
public 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;- Specified by:
getFetcherIdBytesin interfaceFetchAndParseRequestOrBuilder- Returns:
- The bytes for fetcherId.
-
setFetcherId
public FetchAndParseRequest.Builder setFetcherId(String value)
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.
string fetcher_id = 1;- Parameters:
value- The fetcherId to set.- Returns:
- This builder for chaining.
-
clearFetcherId
public FetchAndParseRequest.Builder clearFetcherId()
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.
string fetcher_id = 1;- Returns:
- This builder for chaining.
-
setFetcherIdBytes
public FetchAndParseRequest.Builder setFetcherIdBytes(com.google.protobuf.ByteString value)
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.
string fetcher_id = 1;- Parameters:
value- The bytes for fetcherId to set.- Returns:
- This builder for chaining.
-
getFetchKey
public String getFetchKey()
The "Fetch Key" of the item that will be fetched.
string fetch_key = 2;- Specified by:
getFetchKeyin interfaceFetchAndParseRequestOrBuilder- Returns:
- The fetchKey.
-
getFetchKeyBytes
public com.google.protobuf.ByteString getFetchKeyBytes()
The "Fetch Key" of the item that will be fetched.
string fetch_key = 2;- Specified by:
getFetchKeyBytesin interfaceFetchAndParseRequestOrBuilder- Returns:
- The bytes for fetchKey.
-
setFetchKey
public FetchAndParseRequest.Builder setFetchKey(String value)
The "Fetch Key" of the item that will be fetched.
string fetch_key = 2;- Parameters:
value- The fetchKey to set.- Returns:
- This builder for chaining.
-
clearFetchKey
public FetchAndParseRequest.Builder clearFetchKey()
The "Fetch Key" of the item that will be fetched.
string fetch_key = 2;- Returns:
- This builder for chaining.
-
setFetchKeyBytes
public FetchAndParseRequest.Builder setFetchKeyBytes(com.google.protobuf.ByteString value)
The "Fetch Key" of the item that will be fetched.
string fetch_key = 2;- Parameters:
value- The bytes for fetchKey to set.- Returns:
- This builder for chaining.
-
getAdditionalFetchConfigJson
public 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;- Specified by:
getAdditionalFetchConfigJsonin interfaceFetchAndParseRequestOrBuilder- Returns:
- The additionalFetchConfigJson.
-
getAdditionalFetchConfigJsonBytes
public 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;- Specified by:
getAdditionalFetchConfigJsonBytesin interfaceFetchAndParseRequestOrBuilder- Returns:
- The bytes for additionalFetchConfigJson.
-
setAdditionalFetchConfigJson
public FetchAndParseRequest.Builder setAdditionalFetchConfigJson(String value)
You can supply additional fetch configuration using this. Follows same fetch configuration json schema as the fetcher configuration.
string additional_fetch_config_json = 3;- Parameters:
value- The additionalFetchConfigJson to set.- Returns:
- This builder for chaining.
-
clearAdditionalFetchConfigJson
public FetchAndParseRequest.Builder clearAdditionalFetchConfigJson()
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:
- This builder for chaining.
-
setAdditionalFetchConfigJsonBytes
public FetchAndParseRequest.Builder setAdditionalFetchConfigJsonBytes(com.google.protobuf.ByteString value)
You can supply additional fetch configuration using this. Follows same fetch configuration json schema as the fetcher configuration.
string additional_fetch_config_json = 3;- Parameters:
value- The bytes for additionalFetchConfigJson to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FetchAndParseRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
mergeUnknownFields
public final FetchAndParseRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
-