Package org.opensearch.protobufs
Interface CustomAnalyzerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomAnalyzer,CustomAnalyzer.Builder
public interface CustomAnalyzerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCharFilter(int index) repeated string char_filter = 2 [json_name = "charFilter"];com.google.protobuf.ByteStringgetCharFilterBytes(int index) repeated string char_filter = 2 [json_name = "charFilter"];intrepeated string char_filter = 2 [json_name = "charFilter"];repeated string char_filter = 2 [json_name = "charFilter"];getFilter(int index) repeated string filter = 3 [json_name = "filter"];com.google.protobuf.ByteStringgetFilterBytes(int index) repeated string filter = 3 [json_name = "filter"];intrepeated string filter = 3 [json_name = "filter"];repeated string filter = 3 [json_name = "filter"];intoptional int32 position_increment_gap = 4 [json_name = "positionIncrementGap"];intoptional int32 position_offset_gap = 5 [json_name = "positionOffsetGap"];string tokenizer = 6 [json_name = "tokenizer"];com.google.protobuf.ByteStringstring tokenizer = 6 [json_name = "tokenizer"];getType().CustomAnalyzerType type = 1 [json_name = "type"];int.CustomAnalyzerType type = 1 [json_name = "type"];booleanoptional int32 position_increment_gap = 4 [json_name = "positionIncrementGap"];booleanoptional int32 position_offset_gap = 5 [json_name = "positionOffsetGap"];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
-
getTypeValue
int getTypeValue().CustomAnalyzerType type = 1 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
CustomAnalyzerType getType().CustomAnalyzerType type = 1 [json_name = "type"];- Returns:
- The type.
-
getCharFilterList
repeated string char_filter = 2 [json_name = "charFilter"];- Returns:
- A list containing the charFilter.
-
getCharFilterCount
int getCharFilterCount()repeated string char_filter = 2 [json_name = "charFilter"];- Returns:
- The count of charFilter.
-
getCharFilter
repeated string char_filter = 2 [json_name = "charFilter"];- Parameters:
index- The index of the element to return.- Returns:
- The charFilter at the given index.
-
getCharFilterBytes
com.google.protobuf.ByteString getCharFilterBytes(int index) repeated string char_filter = 2 [json_name = "charFilter"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the charFilter at the given index.
-
getFilterList
repeated string filter = 3 [json_name = "filter"];- Returns:
- A list containing the filter.
-
getFilterCount
int getFilterCount()repeated string filter = 3 [json_name = "filter"];- Returns:
- The count of filter.
-
getFilter
repeated string filter = 3 [json_name = "filter"];- Parameters:
index- The index of the element to return.- Returns:
- The filter at the given index.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes(int index) repeated string filter = 3 [json_name = "filter"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filter at the given index.
-
hasPositionIncrementGap
boolean hasPositionIncrementGap()optional int32 position_increment_gap = 4 [json_name = "positionIncrementGap"];- Returns:
- Whether the positionIncrementGap field is set.
-
getPositionIncrementGap
int getPositionIncrementGap()optional int32 position_increment_gap = 4 [json_name = "positionIncrementGap"];- Returns:
- The positionIncrementGap.
-
hasPositionOffsetGap
boolean hasPositionOffsetGap()optional int32 position_offset_gap = 5 [json_name = "positionOffsetGap"];- Returns:
- Whether the positionOffsetGap field is set.
-
getPositionOffsetGap
int getPositionOffsetGap()optional int32 position_offset_gap = 5 [json_name = "positionOffsetGap"];- Returns:
- The positionOffsetGap.
-
getTokenizer
String getTokenizer()string tokenizer = 6 [json_name = "tokenizer"];- Returns:
- The tokenizer.
-
getTokenizerBytes
com.google.protobuf.ByteString getTokenizerBytes()string tokenizer = 6 [json_name = "tokenizer"];- Returns:
- The bytes for tokenizer.
-