Class QueryStringQuery

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.QueryStringQuery
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, QueryStringQueryOrBuilder

public final class QueryStringQuery extends com.google.protobuf.GeneratedMessageV3 implements QueryStringQueryOrBuilder
Protobuf type QueryStringQuery
See Also:
  • Field Details

    • BOOST_FIELD_NUMBER

      public static final int BOOST_FIELD_NUMBER
      See Also:
    • X_NAME_FIELD_NUMBER

      public static final int X_NAME_FIELD_NUMBER
      See Also:
    • ALLOW_LEADING_WILDCARD_FIELD_NUMBER

      public static final int ALLOW_LEADING_WILDCARD_FIELD_NUMBER
      See Also:
    • ANALYZER_FIELD_NUMBER

      public static final int ANALYZER_FIELD_NUMBER
      See Also:
    • ANALYZE_WILDCARD_FIELD_NUMBER

      public static final int ANALYZE_WILDCARD_FIELD_NUMBER
      See Also:
    • AUTO_GENERATE_SYNONYMS_PHRASE_QUERY_FIELD_NUMBER

      public static final int AUTO_GENERATE_SYNONYMS_PHRASE_QUERY_FIELD_NUMBER
      See Also:
    • DEFAULT_FIELD_FIELD_NUMBER

      public static final int DEFAULT_FIELD_FIELD_NUMBER
      See Also:
    • DEFAULT_OPERATOR_FIELD_NUMBER

      public static final int DEFAULT_OPERATOR_FIELD_NUMBER
      See Also:
    • ENABLE_POSITION_INCREMENTS_FIELD_NUMBER

      public static final int ENABLE_POSITION_INCREMENTS_FIELD_NUMBER
      See Also:
    • ESCAPE_FIELD_NUMBER

      public static final int ESCAPE_FIELD_NUMBER
      See Also:
    • FIELDS_FIELD_NUMBER

      public static final int FIELDS_FIELD_NUMBER
      See Also:
    • FUZZINESS_FIELD_NUMBER

      public static final int FUZZINESS_FIELD_NUMBER
      See Also:
    • FUZZY_MAX_EXPANSIONS_FIELD_NUMBER

      public static final int FUZZY_MAX_EXPANSIONS_FIELD_NUMBER
      See Also:
    • FUZZY_PREFIX_LENGTH_FIELD_NUMBER

      public static final int FUZZY_PREFIX_LENGTH_FIELD_NUMBER
      See Also:
    • FUZZY_REWRITE_FIELD_NUMBER

      public static final int FUZZY_REWRITE_FIELD_NUMBER
      See Also:
    • FUZZY_TRANSPOSITIONS_FIELD_NUMBER

      public static final int FUZZY_TRANSPOSITIONS_FIELD_NUMBER
      See Also:
    • LENIENT_FIELD_NUMBER

      public static final int LENIENT_FIELD_NUMBER
      See Also:
    • MAX_DETERMINIZED_STATES_FIELD_NUMBER

      public static final int MAX_DETERMINIZED_STATES_FIELD_NUMBER
      See Also:
    • MINIMUM_SHOULD_MATCH_FIELD_NUMBER

      public static final int MINIMUM_SHOULD_MATCH_FIELD_NUMBER
      See Also:
    • PHRASE_SLOP_FIELD_NUMBER

      public static final int PHRASE_SLOP_FIELD_NUMBER
      See Also:
    • QUERY_FIELD_NUMBER

      public static final int QUERY_FIELD_NUMBER
      See Also:
    • QUOTE_ANALYZER_FIELD_NUMBER

      public static final int QUOTE_ANALYZER_FIELD_NUMBER
      See Also:
    • QUOTE_FIELD_SUFFIX_FIELD_NUMBER

      public static final int QUOTE_FIELD_SUFFIX_FIELD_NUMBER
      See Also:
    • REWRITE_FIELD_NUMBER

      public static final int REWRITE_FIELD_NUMBER
      See Also:
    • TIE_BREAKER_FIELD_NUMBER

      public static final int TIE_BREAKER_FIELD_NUMBER
      See Also:
    • TIME_ZONE_FIELD_NUMBER

      public static final int TIME_ZONE_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasBoost

      public boolean hasBoost()
      optional float boost = 1 [json_name = "boost"];
      Specified by:
      hasBoost in interface QueryStringQueryOrBuilder
      Returns:
      Whether the boost field is set.
    • getBoost

      public float getBoost()
      optional float boost = 1 [json_name = "boost"];
      Specified by:
      getBoost in interface QueryStringQueryOrBuilder
      Returns:
      The boost.
    • hasXName

      public boolean hasXName()
      optional string x_name = 2 [json_name = "xName"];
      Specified by:
      hasXName in interface QueryStringQueryOrBuilder
      Returns:
      Whether the xName field is set.
    • getXName

      public String getXName()
      optional string x_name = 2 [json_name = "xName"];
      Specified by:
      getXName in interface QueryStringQueryOrBuilder
      Returns:
      The xName.
    • getXNameBytes

      public com.google.protobuf.ByteString getXNameBytes()
      optional string x_name = 2 [json_name = "xName"];
      Specified by:
      getXNameBytes in interface QueryStringQueryOrBuilder
      Returns:
      The bytes for xName.
    • getAllowLeadingWildcard

      public boolean getAllowLeadingWildcard()
      bool allow_leading_wildcard = 3 [json_name = "allowLeadingWildcard"];
      Specified by:
      getAllowLeadingWildcard in interface QueryStringQueryOrBuilder
      Returns:
      The allowLeadingWildcard.
    • getAnalyzer

      public String getAnalyzer()
      string analyzer = 4 [json_name = "analyzer"];
      Specified by:
      getAnalyzer in interface QueryStringQueryOrBuilder
      Returns:
      The analyzer.
    • getAnalyzerBytes

      public com.google.protobuf.ByteString getAnalyzerBytes()
      string analyzer = 4 [json_name = "analyzer"];
      Specified by:
      getAnalyzerBytes in interface QueryStringQueryOrBuilder
      Returns:
      The bytes for analyzer.
    • getAnalyzeWildcard

      public boolean getAnalyzeWildcard()
      bool analyze_wildcard = 5 [json_name = "analyzeWildcard"];
      Specified by:
      getAnalyzeWildcard in interface QueryStringQueryOrBuilder
      Returns:
      The analyzeWildcard.
    • getAutoGenerateSynonymsPhraseQuery

      public boolean getAutoGenerateSynonymsPhraseQuery()
      bool auto_generate_synonyms_phrase_query = 6 [json_name = "autoGenerateSynonymsPhraseQuery"];
      Specified by:
      getAutoGenerateSynonymsPhraseQuery in interface QueryStringQueryOrBuilder
      Returns:
      The autoGenerateSynonymsPhraseQuery.
    • getDefaultField

      public String getDefaultField()
      string default_field = 7 [json_name = "defaultField"];
      Specified by:
      getDefaultField in interface QueryStringQueryOrBuilder
      Returns:
      The defaultField.
    • getDefaultFieldBytes

      public com.google.protobuf.ByteString getDefaultFieldBytes()
      string default_field = 7 [json_name = "defaultField"];
      Specified by:
      getDefaultFieldBytes in interface QueryStringQueryOrBuilder
      Returns:
      The bytes for defaultField.
    • getDefaultOperatorValue

      public int getDefaultOperatorValue()
      .Operator default_operator = 8 [json_name = "defaultOperator"];
      Specified by:
      getDefaultOperatorValue in interface QueryStringQueryOrBuilder
      Returns:
      The enum numeric value on the wire for defaultOperator.
    • getDefaultOperator

      public Operator getDefaultOperator()
      .Operator default_operator = 8 [json_name = "defaultOperator"];
      Specified by:
      getDefaultOperator in interface QueryStringQueryOrBuilder
      Returns:
      The defaultOperator.
    • getEnablePositionIncrements

      public boolean getEnablePositionIncrements()
      bool enable_position_increments = 9 [json_name = "enablePositionIncrements"];
      Specified by:
      getEnablePositionIncrements in interface QueryStringQueryOrBuilder
      Returns:
      The enablePositionIncrements.
    • getEscape

      public boolean getEscape()
      bool escape = 10 [json_name = "escape"];
      Specified by:
      getEscape in interface QueryStringQueryOrBuilder
      Returns:
      The escape.
    • getFieldsList

      public com.google.protobuf.ProtocolStringList getFieldsList()
      repeated string fields = 11 [json_name = "fields"];
      Specified by:
      getFieldsList in interface QueryStringQueryOrBuilder
      Returns:
      A list containing the fields.
    • getFieldsCount

      public int getFieldsCount()
      repeated string fields = 11 [json_name = "fields"];
      Specified by:
      getFieldsCount in interface QueryStringQueryOrBuilder
      Returns:
      The count of fields.
    • getFields

      public String getFields(int index)
      repeated string fields = 11 [json_name = "fields"];
      Specified by:
      getFields in interface QueryStringQueryOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fields at the given index.
    • getFieldsBytes

      public com.google.protobuf.ByteString getFieldsBytes(int index)
      repeated string fields = 11 [json_name = "fields"];
      Specified by:
      getFieldsBytes in interface QueryStringQueryOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fields at the given index.
    • hasFuzziness

      public boolean hasFuzziness()
      .Fuzziness fuzziness = 12 [json_name = "fuzziness"];
      Specified by:
      hasFuzziness in interface QueryStringQueryOrBuilder
      Returns:
      Whether the fuzziness field is set.
    • getFuzziness

      public Fuzziness getFuzziness()
      .Fuzziness fuzziness = 12 [json_name = "fuzziness"];
      Specified by:
      getFuzziness in interface QueryStringQueryOrBuilder
      Returns:
      The fuzziness.
    • getFuzzinessOrBuilder

      public FuzzinessOrBuilder getFuzzinessOrBuilder()
      .Fuzziness fuzziness = 12 [json_name = "fuzziness"];
      Specified by:
      getFuzzinessOrBuilder in interface QueryStringQueryOrBuilder
    • getFuzzyMaxExpansions

      public int getFuzzyMaxExpansions()
      int32 fuzzy_max_expansions = 13 [json_name = "fuzzyMaxExpansions"];
      Specified by:
      getFuzzyMaxExpansions in interface QueryStringQueryOrBuilder
      Returns:
      The fuzzyMaxExpansions.
    • getFuzzyPrefixLength

      public int getFuzzyPrefixLength()
      int32 fuzzy_prefix_length = 14 [json_name = "fuzzyPrefixLength"];
      Specified by:
      getFuzzyPrefixLength in interface QueryStringQueryOrBuilder
      Returns:
      The fuzzyPrefixLength.
    • getFuzzyRewriteValue

      public int getFuzzyRewriteValue()
      .MultiTermQueryRewrite fuzzy_rewrite = 15 [json_name = "fuzzyRewrite"];
      Specified by:
      getFuzzyRewriteValue in interface QueryStringQueryOrBuilder
      Returns:
      The enum numeric value on the wire for fuzzyRewrite.
    • getFuzzyRewrite

      public MultiTermQueryRewrite getFuzzyRewrite()
      .MultiTermQueryRewrite fuzzy_rewrite = 15 [json_name = "fuzzyRewrite"];
      Specified by:
      getFuzzyRewrite in interface QueryStringQueryOrBuilder
      Returns:
      The fuzzyRewrite.
    • getFuzzyTranspositions

      public boolean getFuzzyTranspositions()
      bool fuzzy_transpositions = 16 [json_name = "fuzzyTranspositions"];
      Specified by:
      getFuzzyTranspositions in interface QueryStringQueryOrBuilder
      Returns:
      The fuzzyTranspositions.
    • getLenient

      public boolean getLenient()
      bool lenient = 17 [json_name = "lenient"];
      Specified by:
      getLenient in interface QueryStringQueryOrBuilder
      Returns:
      The lenient.
    • getMaxDeterminizedStates

      public int getMaxDeterminizedStates()
      int32 max_determinized_states = 18 [json_name = "maxDeterminizedStates"];
      Specified by:
      getMaxDeterminizedStates in interface QueryStringQueryOrBuilder
      Returns:
      The maxDeterminizedStates.
    • hasMinimumShouldMatch

      public boolean hasMinimumShouldMatch()
      .MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"];
      Specified by:
      hasMinimumShouldMatch in interface QueryStringQueryOrBuilder
      Returns:
      Whether the minimumShouldMatch field is set.
    • getMinimumShouldMatch

      public MinimumShouldMatch getMinimumShouldMatch()
      .MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"];
      Specified by:
      getMinimumShouldMatch in interface QueryStringQueryOrBuilder
      Returns:
      The minimumShouldMatch.
    • getMinimumShouldMatchOrBuilder

      public MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()
      .MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"];
      Specified by:
      getMinimumShouldMatchOrBuilder in interface QueryStringQueryOrBuilder
    • getPhraseSlop

      public int getPhraseSlop()
      int32 phrase_slop = 20 [json_name = "phraseSlop"];
      Specified by:
      getPhraseSlop in interface QueryStringQueryOrBuilder
      Returns:
      The phraseSlop.
    • getQuery

      public String getQuery()
      string query = 21 [json_name = "query"];
      Specified by:
      getQuery in interface QueryStringQueryOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
      string query = 21 [json_name = "query"];
      Specified by:
      getQueryBytes in interface QueryStringQueryOrBuilder
      Returns:
      The bytes for query.
    • getQuoteAnalyzer

      public String getQuoteAnalyzer()
      string quote_analyzer = 22 [json_name = "quoteAnalyzer"];
      Specified by:
      getQuoteAnalyzer in interface QueryStringQueryOrBuilder
      Returns:
      The quoteAnalyzer.
    • getQuoteAnalyzerBytes

      public com.google.protobuf.ByteString getQuoteAnalyzerBytes()
      string quote_analyzer = 22 [json_name = "quoteAnalyzer"];
      Specified by:
      getQuoteAnalyzerBytes in interface QueryStringQueryOrBuilder
      Returns:
      The bytes for quoteAnalyzer.
    • getQuoteFieldSuffix

      public String getQuoteFieldSuffix()
      string quote_field_suffix = 23 [json_name = "quoteFieldSuffix"];
      Specified by:
      getQuoteFieldSuffix in interface QueryStringQueryOrBuilder
      Returns:
      The quoteFieldSuffix.
    • getQuoteFieldSuffixBytes

      public com.google.protobuf.ByteString getQuoteFieldSuffixBytes()
      string quote_field_suffix = 23 [json_name = "quoteFieldSuffix"];
      Specified by:
      getQuoteFieldSuffixBytes in interface QueryStringQueryOrBuilder
      Returns:
      The bytes for quoteFieldSuffix.
    • getRewriteValue

      public int getRewriteValue()
      .MultiTermQueryRewrite rewrite = 24 [json_name = "rewrite"];
      Specified by:
      getRewriteValue in interface QueryStringQueryOrBuilder
      Returns:
      The enum numeric value on the wire for rewrite.
    • getRewrite

      public MultiTermQueryRewrite getRewrite()
      .MultiTermQueryRewrite rewrite = 24 [json_name = "rewrite"];
      Specified by:
      getRewrite in interface QueryStringQueryOrBuilder
      Returns:
      The rewrite.
    • getTieBreaker

      public float getTieBreaker()
      float tie_breaker = 25 [json_name = "tieBreaker"];
      Specified by:
      getTieBreaker in interface QueryStringQueryOrBuilder
      Returns:
      The tieBreaker.
    • getTimeZone

      public String getTimeZone()
      string time_zone = 26 [json_name = "timeZone"];
      Specified by:
      getTimeZone in interface QueryStringQueryOrBuilder
      Returns:
      The timeZone.
    • getTimeZoneBytes

      public com.google.protobuf.ByteString getTimeZoneBytes()
      string time_zone = 26 [json_name = "timeZone"];
      Specified by:
      getTimeZoneBytes in interface QueryStringQueryOrBuilder
      Returns:
      The bytes for timeZone.
    • getTypeValue

      public int getTypeValue()
      .TextQueryType type = 27 [json_name = "type"];
      Specified by:
      getTypeValue in interface QueryStringQueryOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public TextQueryType getType()
      .TextQueryType type = 27 [json_name = "type"];
      Specified by:
      getType in interface QueryStringQueryOrBuilder
      Returns:
      The type.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static QueryStringQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryStringQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryStringQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryStringQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryStringQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryStringQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryStringQuery parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryStringQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QueryStringQuery parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QueryStringQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryStringQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryStringQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public QueryStringQuery.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static QueryStringQuery.Builder newBuilder()
    • newBuilder

      public static QueryStringQuery.Builder newBuilder(QueryStringQuery prototype)
    • toBuilder

      public QueryStringQuery.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected QueryStringQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static QueryStringQuery getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<QueryStringQuery> parser()
    • getParserForType

      public com.google.protobuf.Parser<QueryStringQuery> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public QueryStringQuery getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder