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 Type
    Method
    Description
    .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.ByteString
    getStopwordsBytes(int index)
    repeated string stopwords = 4 [json_name = "stopwords"];
    int
    repeated string stopwords = 4 [json_name = "stopwords"];
    repeated string stopwords = 4 [json_name = "stopwords"];
    .SnowballAnalyzerType type = 1 [json_name = "type"];
    int
    .SnowballAnalyzerType type = 1 [json_name = "type"];
    optional string version = 2 [json_name = "version"];
    com.google.protobuf.ByteString
    optional string version = 2 [json_name = "version"];
    boolean
    optional string version = 2 [json_name = "version"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 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

      List<String> 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

      String getStopwords(int index)
      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.