Package org.apache.tika
Class SaveFetcherRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SaveFetcherRequest.Builder>
-
- org.apache.tika.SaveFetcherRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,SaveFetcherRequestOrBuilder
- Enclosing class:
- SaveFetcherRequest
public static final class SaveFetcherRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SaveFetcherRequest.Builder> implements SaveFetcherRequestOrBuilder
Protobuf typetika.SaveFetcherRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SaveFetcherRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SaveFetcherRequest
build()
SaveFetcherRequest
buildPartial()
SaveFetcherRequest.Builder
clear()
SaveFetcherRequest.Builder
clearFetcherClass()
The full java class name of the fetcher class.SaveFetcherRequest.Builder
clearFetcherConfigJson()
JSON string of the fetcher config object.SaveFetcherRequest.Builder
clearFetcherId()
A unique identifier for each fetcher.SaveFetcherRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SaveFetcherRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SaveFetcherRequest.Builder
clone()
SaveFetcherRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFetcherClass()
The full java class name of the fetcher class.com.google.protobuf.ByteString
getFetcherClassBytes()
The full java class name of the fetcher class.String
getFetcherConfigJson()
JSON string of the fetcher config object.com.google.protobuf.ByteString
getFetcherConfigJsonBytes()
JSON string of the fetcher config object.String
getFetcherId()
A unique identifier for each fetcher.com.google.protobuf.ByteString
getFetcherIdBytes()
A unique identifier for each fetcher.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SaveFetcherRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SaveFetcherRequest.Builder
mergeFrom(com.google.protobuf.Message other)
SaveFetcherRequest.Builder
mergeFrom(SaveFetcherRequest other)
SaveFetcherRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SaveFetcherRequest.Builder
setFetcherClass(String value)
The full java class name of the fetcher class.SaveFetcherRequest.Builder
setFetcherClassBytes(com.google.protobuf.ByteString value)
The full java class name of the fetcher class.SaveFetcherRequest.Builder
setFetcherConfigJson(String value)
JSON string of the fetcher config object.SaveFetcherRequest.Builder
setFetcherConfigJsonBytes(com.google.protobuf.ByteString value)
JSON string of the fetcher config object.SaveFetcherRequest.Builder
setFetcherId(String value)
A unique identifier for each fetcher.SaveFetcherRequest.Builder
setFetcherIdBytes(com.google.protobuf.ByteString value)
A unique identifier for each fetcher.SaveFetcherRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SaveFetcherRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
clear
public SaveFetcherRequest.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<SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
getDefaultInstanceForType
public SaveFetcherRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SaveFetcherRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SaveFetcherRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
setField
public SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
clearField
public SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
clearOneof
public SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
setRepeatedField
public SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
addRepeatedField
public SaveFetcherRequest.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<SaveFetcherRequest.Builder>
-
mergeFrom
public SaveFetcherRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SaveFetcherRequest.Builder>
-
mergeFrom
public SaveFetcherRequest.Builder mergeFrom(SaveFetcherRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFetcherRequest.Builder>
-
mergeFrom
public SaveFetcherRequest.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<SaveFetcherRequest.Builder>
- Throws:
IOException
-
getFetcherId
public String getFetcherId()
A unique identifier for each fetcher. If this already exists, operation will overwrite existing.
string fetcher_id = 1;
- Specified by:
getFetcherId
in interfaceSaveFetcherRequestOrBuilder
- Returns:
- The fetcherId.
-
getFetcherIdBytes
public com.google.protobuf.ByteString getFetcherIdBytes()
A unique identifier for each fetcher. If this already exists, operation will overwrite existing.
string fetcher_id = 1;
- Specified by:
getFetcherIdBytes
in interfaceSaveFetcherRequestOrBuilder
- Returns:
- The bytes for fetcherId.
-
setFetcherId
public SaveFetcherRequest.Builder setFetcherId(String value)
A unique identifier for each fetcher. If this already exists, operation will overwrite existing.
string fetcher_id = 1;
- Parameters:
value
- The fetcherId to set.- Returns:
- This builder for chaining.
-
clearFetcherId
public SaveFetcherRequest.Builder clearFetcherId()
A unique identifier for each fetcher. If this already exists, operation will overwrite existing.
string fetcher_id = 1;
- Returns:
- This builder for chaining.
-
setFetcherIdBytes
public SaveFetcherRequest.Builder setFetcherIdBytes(com.google.protobuf.ByteString value)
A unique identifier for each fetcher. If this already exists, operation will overwrite existing.
string fetcher_id = 1;
- Parameters:
value
- The bytes for fetcherId to set.- Returns:
- This builder for chaining.
-
getFetcherClass
public String getFetcherClass()
The full java class name of the fetcher class. List of fetcher classes is found here: https://cwiki.apache.org/confluence/display/TIKA/tika-pipes
string fetcher_class = 2;
- Specified by:
getFetcherClass
in interfaceSaveFetcherRequestOrBuilder
- Returns:
- The fetcherClass.
-
getFetcherClassBytes
public com.google.protobuf.ByteString getFetcherClassBytes()
The full java class name of the fetcher class. List of fetcher classes is found here: https://cwiki.apache.org/confluence/display/TIKA/tika-pipes
string fetcher_class = 2;
- Specified by:
getFetcherClassBytes
in interfaceSaveFetcherRequestOrBuilder
- Returns:
- The bytes for fetcherClass.
-
setFetcherClass
public SaveFetcherRequest.Builder setFetcherClass(String value)
The full java class name of the fetcher class. List of fetcher classes is found here: https://cwiki.apache.org/confluence/display/TIKA/tika-pipes
string fetcher_class = 2;
- Parameters:
value
- The fetcherClass to set.- Returns:
- This builder for chaining.
-
clearFetcherClass
public SaveFetcherRequest.Builder clearFetcherClass()
The full java class name of the fetcher class. List of fetcher classes is found here: https://cwiki.apache.org/confluence/display/TIKA/tika-pipes
string fetcher_class = 2;
- Returns:
- This builder for chaining.
-
setFetcherClassBytes
public SaveFetcherRequest.Builder setFetcherClassBytes(com.google.protobuf.ByteString value)
The full java class name of the fetcher class. List of fetcher classes is found here: https://cwiki.apache.org/confluence/display/TIKA/tika-pipes
string fetcher_class = 2;
- Parameters:
value
- The bytes for fetcherClass to set.- Returns:
- This builder for chaining.
-
getFetcherConfigJson
public String getFetcherConfigJson()
JSON string of the fetcher config object. To see the json schema from which to build this json, use the GetFetcherConfigJsonSchema rpc method.
string fetcher_config_json = 3;
- Specified by:
getFetcherConfigJson
in interfaceSaveFetcherRequestOrBuilder
- Returns:
- The fetcherConfigJson.
-
getFetcherConfigJsonBytes
public com.google.protobuf.ByteString getFetcherConfigJsonBytes()
JSON string of the fetcher config object. To see the json schema from which to build this json, use the GetFetcherConfigJsonSchema rpc method.
string fetcher_config_json = 3;
- Specified by:
getFetcherConfigJsonBytes
in interfaceSaveFetcherRequestOrBuilder
- Returns:
- The bytes for fetcherConfigJson.
-
setFetcherConfigJson
public SaveFetcherRequest.Builder setFetcherConfigJson(String value)
JSON string of the fetcher config object. To see the json schema from which to build this json, use the GetFetcherConfigJsonSchema rpc method.
string fetcher_config_json = 3;
- Parameters:
value
- The fetcherConfigJson to set.- Returns:
- This builder for chaining.
-
clearFetcherConfigJson
public SaveFetcherRequest.Builder clearFetcherConfigJson()
JSON string of the fetcher config object. To see the json schema from which to build this json, use the GetFetcherConfigJsonSchema rpc method.
string fetcher_config_json = 3;
- Returns:
- This builder for chaining.
-
setFetcherConfigJsonBytes
public SaveFetcherRequest.Builder setFetcherConfigJsonBytes(com.google.protobuf.ByteString value)
JSON string of the fetcher config object. To see the json schema from which to build this json, use the GetFetcherConfigJsonSchema rpc method.
string fetcher_config_json = 3;
- Parameters:
value
- The bytes for fetcherConfigJson to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SaveFetcherRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFetcherRequest.Builder>
-
mergeUnknownFields
public final SaveFetcherRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SaveFetcherRequest.Builder>
-
-