Package org.opensearch.protobufs
Interface SnowballAnalyzerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SnowballAnalyzer,SnowballAnalyzer.Builder
public interface SnowballAnalyzerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.SnowballLanguage language = 3 [json_name = "language"];int.SnowballLanguage language = 3 [json_name = "language"];getStopwords(int index) repeated string stopwords = 4 [json_name = "stopwords"];com.google.protobuf.ByteStringgetStopwordsBytes(int index) repeated string stopwords = 4 [json_name = "stopwords"];intrepeated string stopwords = 4 [json_name = "stopwords"];repeated string stopwords = 4 [json_name = "stopwords"];getType().SnowballAnalyzerType type = 1 [json_name = "type"];int.SnowballAnalyzerType type = 1 [json_name = "type"];optional string version = 2 [json_name = "version"];com.google.protobuf.ByteStringoptional string version = 2 [json_name = "version"];booleanoptional string version = 2 [json_name = "version"];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().SnowballAnalyzerType type = 1 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
SnowballAnalyzerType getType().SnowballAnalyzerType type = 1 [json_name = "type"];- Returns:
- The type.
-
hasVersion
boolean hasVersion()optional string version = 2 [json_name = "version"];- Returns:
- Whether the version field is set.
-
getVersion
String getVersion()optional string version = 2 [json_name = "version"];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()optional string version = 2 [json_name = "version"];- Returns:
- The bytes for version.
-
getLanguageValue
int getLanguageValue().SnowballLanguage language = 3 [json_name = "language"];- Returns:
- The enum numeric value on the wire for language.
-
getLanguage
SnowballLanguage getLanguage().SnowballLanguage language = 3 [json_name = "language"];- Returns:
- The language.
-
getStopwordsList
repeated string stopwords = 4 [json_name = "stopwords"];- Returns:
- A list containing the stopwords.
-
getStopwordsCount
int getStopwordsCount()repeated string stopwords = 4 [json_name = "stopwords"];- Returns:
- The count of stopwords.
-
getStopwords
repeated string stopwords = 4 [json_name = "stopwords"];- Parameters:
index- The index of the element to return.- Returns:
- The stopwords at the given index.
-
getStopwordsBytes
com.google.protobuf.ByteString getStopwordsBytes(int index) repeated string stopwords = 4 [json_name = "stopwords"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stopwords at the given index.
-