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 Type
    Method
    Description
    getCharFilter(int index)
    repeated string char_filter = 2 [json_name = "charFilter"];
    com.google.protobuf.ByteString
    getCharFilterBytes(int index)
    repeated string char_filter = 2 [json_name = "charFilter"];
    int
    repeated 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.ByteString
    getFilterBytes(int index)
    repeated string filter = 3 [json_name = "filter"];
    int
    repeated string filter = 3 [json_name = "filter"];
    repeated string filter = 3 [json_name = "filter"];
    int
    optional int32 position_increment_gap = 4 [json_name = "positionIncrementGap"];
    int
    optional int32 position_offset_gap = 5 [json_name = "positionOffsetGap"];
    string tokenizer = 6 [json_name = "tokenizer"];
    com.google.protobuf.ByteString
    string tokenizer = 6 [json_name = "tokenizer"];
    .CustomAnalyzerType type = 1 [json_name = "type"];
    int
    .CustomAnalyzerType type = 1 [json_name = "type"];
    boolean
    optional int32 position_increment_gap = 4 [json_name = "positionIncrementGap"];
    boolean
    optional int32 position_offset_gap = 5 [json_name = "positionOffsetGap"];

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

      .CustomAnalyzerType type = 1 [json_name = "type"];
      Returns:
      The type.
    • getCharFilterList

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

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

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

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