Interface StandardAnalyzerOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StandardAnalyzer, StandardAnalyzer.Builder

public interface StandardAnalyzerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    optional int32 max_token_length = 2 [json_name = "maxTokenLength"];
    getStopwords(int index)
    repeated string stopwords = 3 [json_name = "stopwords"];
    com.google.protobuf.ByteString
    getStopwordsBytes(int index)
    repeated string stopwords = 3 [json_name = "stopwords"];
    int
    repeated string stopwords = 3 [json_name = "stopwords"];
    repeated string stopwords = 3 [json_name = "stopwords"];
    .StandardAnalyzerType type = 1 [json_name = "type"];
    int
    .StandardAnalyzerType type = 1 [json_name = "type"];
    boolean
    optional int32 max_token_length = 2 [json_name = "maxTokenLength"];

    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()
      .StandardAnalyzerType type = 1 [json_name = "type"];
      Returns:
      The enum numeric value on the wire for type.
    • getType

      .StandardAnalyzerType type = 1 [json_name = "type"];
      Returns:
      The type.
    • hasMaxTokenLength

      boolean hasMaxTokenLength()
      optional int32 max_token_length = 2 [json_name = "maxTokenLength"];
      Returns:
      Whether the maxTokenLength field is set.
    • getMaxTokenLength

      int getMaxTokenLength()
      optional int32 max_token_length = 2 [json_name = "maxTokenLength"];
      Returns:
      The maxTokenLength.
    • getStopwordsList

      List<String> getStopwordsList()
      repeated string stopwords = 3 [json_name = "stopwords"];
      Returns:
      A list containing the stopwords.
    • getStopwordsCount

      int getStopwordsCount()
      repeated string stopwords = 3 [json_name = "stopwords"];
      Returns:
      The count of stopwords.
    • getStopwords

      String getStopwords(int index)
      repeated string stopwords = 3 [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 = 3 [json_name = "stopwords"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stopwords at the given index.