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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FetchAndParseRequest
build()
FetchAndParseRequest
buildPartial()
FetchAndParseRequest.Builder
clear()
FetchAndParseRequest.Builder
clearAdditionalFetchConfigJson()
You can supply additional fetch configuration using this.FetchAndParseRequest.Builder
clearFetcherId()
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.FetchAndParseRequest.Builder
clearFetchKey()
The "Fetch Key" of the item that will be fetched.FetchAndParseRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FetchAndParseRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FetchAndParseRequest.Builder
clone()
String
getAdditionalFetchConfigJson()
You can supply additional fetch configuration using this.com.google.protobuf.ByteString
getAdditionalFetchConfigJsonBytes()
You can supply additional fetch configuration using this.FetchAndParseRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFetcherId()
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.com.google.protobuf.ByteString
getFetcherIdBytes()
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.String
getFetchKey()
The "Fetch Key" of the item that will be fetched.com.google.protobuf.ByteString
getFetchKeyBytes()
The "Fetch Key" of the item that will be fetched.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FetchAndParseRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FetchAndParseRequest.Builder
mergeFrom(com.google.protobuf.Message other)
FetchAndParseRequest.Builder
mergeFrom(FetchAndParseRequest other)
FetchAndParseRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FetchAndParseRequest.Builder
setAdditionalFetchConfigJson(String value)
You can supply additional fetch configuration using this.FetchAndParseRequest.Builder
setAdditionalFetchConfigJsonBytes(com.google.protobuf.ByteString value)
You can supply additional fetch configuration using this.FetchAndParseRequest.Builder
setFetcherId(String value)
The ID of the fetcher in the fetcher store (previously saved by SaveFetcher) to use for the fetch.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.FetchAndParseRequest.Builder
setFetchKey(String value)
The "Fetch Key" of the item that will be fetched.FetchAndParseRequest.Builder
setFetchKeyBytes(com.google.protobuf.ByteString value)
The "Fetch Key" of the item that will be fetched.FetchAndParseRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FetchAndParseRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FetchAndParseRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
clear
public FetchAndParseRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
getDefaultInstanceForType
public FetchAndParseRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FetchAndParseRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FetchAndParseRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FetchAndParseRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
setField
public FetchAndParseRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
clearField
public FetchAndParseRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
clearOneof
public FetchAndParseRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
setRepeatedField
public FetchAndParseRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
addRepeatedField
public FetchAndParseRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
mergeFrom
public FetchAndParseRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FetchAndParseRequest.Builder>
-
mergeFrom
public FetchAndParseRequest.Builder mergeFrom(FetchAndParseRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getFetcherId
in 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:
getFetcherIdBytes
in 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:
getFetchKey
in 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:
getFetchKeyBytes
in 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:
getAdditionalFetchConfigJson
in 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:
getAdditionalFetchConfigJsonBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
mergeUnknownFields
public final FetchAndParseRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchAndParseRequest.Builder>
-
-