Package org.apache.tika
Class GetFetcherReply.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder>
-
- org.apache.tika.GetFetcherReply.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GetFetcherReplyOrBuilder
- Enclosing class:
- GetFetcherReply
public static final class GetFetcherReply.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder> implements GetFetcherReplyOrBuilder
Protobuf typetika.GetFetcherReply
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GetFetcherReply.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetFetcherReply
build()
GetFetcherReply
buildPartial()
GetFetcherReply.Builder
clear()
GetFetcherReply.Builder
clearFetcherClass()
The full Java class name of the Fetcher.GetFetcherReply.Builder
clearFetcherId()
Echoes the ID of the fetcher being returned.GetFetcherReply.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetFetcherReply.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetFetcherReply.Builder
clearParams()
GetFetcherReply.Builder
clone()
boolean
containsParams(String key)
The configuration parameters.GetFetcherReply
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFetcherClass()
The full Java class name of the Fetcher.com.google.protobuf.ByteString
getFetcherClassBytes()
The full Java class name of the Fetcher.String
getFetcherId()
Echoes the ID of the fetcher being returned.com.google.protobuf.ByteString
getFetcherIdBytes()
Echoes the ID of the fetcher being returned.Map<String,String>
getMutableParams()
Deprecated.Map<String,String>
getParams()
Deprecated.int
getParamsCount()
The configuration parameters.Map<String,String>
getParamsMap()
The configuration parameters.String
getParamsOrDefault(String key, String defaultValue)
The configuration parameters.String
getParamsOrThrow(String key)
The configuration parameters.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
boolean
isInitialized()
GetFetcherReply.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetFetcherReply.Builder
mergeFrom(com.google.protobuf.Message other)
GetFetcherReply.Builder
mergeFrom(GetFetcherReply other)
GetFetcherReply.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetFetcherReply.Builder
putAllParams(Map<String,String> values)
The configuration parameters.GetFetcherReply.Builder
putParams(String key, String value)
The configuration parameters.GetFetcherReply.Builder
removeParams(String key)
The configuration parameters.GetFetcherReply.Builder
setFetcherClass(String value)
The full Java class name of the Fetcher.GetFetcherReply.Builder
setFetcherClassBytes(com.google.protobuf.ByteString value)
The full Java class name of the Fetcher.GetFetcherReply.Builder
setFetcherId(String value)
Echoes the ID of the fetcher being returned.GetFetcherReply.Builder
setFetcherIdBytes(com.google.protobuf.ByteString value)
Echoes the ID of the fetcher being returned.GetFetcherReply.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetFetcherReply.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GetFetcherReply.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, internalGetMutableMapField, 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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder>
-
clear
public GetFetcherReply.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<GetFetcherReply.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<GetFetcherReply.Builder>
-
getDefaultInstanceForType
public GetFetcherReply getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetFetcherReply build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetFetcherReply buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetFetcherReply.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<GetFetcherReply.Builder>
-
setField
public GetFetcherReply.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<GetFetcherReply.Builder>
-
clearField
public GetFetcherReply.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<GetFetcherReply.Builder>
-
clearOneof
public GetFetcherReply.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<GetFetcherReply.Builder>
-
setRepeatedField
public GetFetcherReply.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<GetFetcherReply.Builder>
-
addRepeatedField
public GetFetcherReply.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<GetFetcherReply.Builder>
-
mergeFrom
public GetFetcherReply.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetFetcherReply.Builder>
-
mergeFrom
public GetFetcherReply.Builder mergeFrom(GetFetcherReply other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder>
-
mergeFrom
public GetFetcherReply.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<GetFetcherReply.Builder>
- Throws:
IOException
-
getFetcherId
public String getFetcherId()
Echoes the ID of the fetcher being returned.
string fetcher_id = 1;
- Specified by:
getFetcherId
in interfaceGetFetcherReplyOrBuilder
- Returns:
- The fetcherId.
-
getFetcherIdBytes
public com.google.protobuf.ByteString getFetcherIdBytes()
Echoes the ID of the fetcher being returned.
string fetcher_id = 1;
- Specified by:
getFetcherIdBytes
in interfaceGetFetcherReplyOrBuilder
- Returns:
- The bytes for fetcherId.
-
setFetcherId
public GetFetcherReply.Builder setFetcherId(String value)
Echoes the ID of the fetcher being returned.
string fetcher_id = 1;
- Parameters:
value
- The fetcherId to set.- Returns:
- This builder for chaining.
-
clearFetcherId
public GetFetcherReply.Builder clearFetcherId()
Echoes the ID of the fetcher being returned.
string fetcher_id = 1;
- Returns:
- This builder for chaining.
-
setFetcherIdBytes
public GetFetcherReply.Builder setFetcherIdBytes(com.google.protobuf.ByteString value)
Echoes the ID of the fetcher being returned.
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.
string fetcher_class = 2;
- Specified by:
getFetcherClass
in interfaceGetFetcherReplyOrBuilder
- Returns:
- The fetcherClass.
-
getFetcherClassBytes
public com.google.protobuf.ByteString getFetcherClassBytes()
The full Java class name of the Fetcher.
string fetcher_class = 2;
- Specified by:
getFetcherClassBytes
in interfaceGetFetcherReplyOrBuilder
- Returns:
- The bytes for fetcherClass.
-
setFetcherClass
public GetFetcherReply.Builder setFetcherClass(String value)
The full Java class name of the Fetcher.
string fetcher_class = 2;
- Parameters:
value
- The fetcherClass to set.- Returns:
- This builder for chaining.
-
clearFetcherClass
public GetFetcherReply.Builder clearFetcherClass()
The full Java class name of the Fetcher.
string fetcher_class = 2;
- Returns:
- This builder for chaining.
-
setFetcherClassBytes
public GetFetcherReply.Builder setFetcherClassBytes(com.google.protobuf.ByteString value)
The full Java class name of the Fetcher.
string fetcher_class = 2;
- Parameters:
value
- The bytes for fetcherClass to set.- Returns:
- This builder for chaining.
-
getParamsCount
public int getParamsCount()
Description copied from interface:GetFetcherReplyOrBuilder
The configuration parameters.
map<string, string> params = 3;
- Specified by:
getParamsCount
in interfaceGetFetcherReplyOrBuilder
-
containsParams
public boolean containsParams(String key)
The configuration parameters.
map<string, string> params = 3;
- Specified by:
containsParams
in interfaceGetFetcherReplyOrBuilder
-
getParams
@Deprecated public Map<String,String> getParams()
Deprecated.UsegetParamsMap()
instead.- Specified by:
getParams
in interfaceGetFetcherReplyOrBuilder
-
getParamsMap
public Map<String,String> getParamsMap()
The configuration parameters.
map<string, string> params = 3;
- Specified by:
getParamsMap
in interfaceGetFetcherReplyOrBuilder
-
getParamsOrDefault
public String getParamsOrDefault(String key, String defaultValue)
The configuration parameters.
map<string, string> params = 3;
- Specified by:
getParamsOrDefault
in interfaceGetFetcherReplyOrBuilder
-
getParamsOrThrow
public String getParamsOrThrow(String key)
The configuration parameters.
map<string, string> params = 3;
- Specified by:
getParamsOrThrow
in interfaceGetFetcherReplyOrBuilder
-
clearParams
public GetFetcherReply.Builder clearParams()
-
removeParams
public GetFetcherReply.Builder removeParams(String key)
The configuration parameters.
map<string, string> params = 3;
-
getMutableParams
@Deprecated public Map<String,String> getMutableParams()
Deprecated.Use alternate mutation accessors instead.
-
putParams
public GetFetcherReply.Builder putParams(String key, String value)
The configuration parameters.
map<string, string> params = 3;
-
putAllParams
public GetFetcherReply.Builder putAllParams(Map<String,String> values)
The configuration parameters.
map<string, string> params = 3;
-
setUnknownFields
public final GetFetcherReply.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder>
-
mergeUnknownFields
public final GetFetcherReply.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetFetcherReply.Builder>
-
-