Class SimpleQueryStringQuery

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

public final class SimpleQueryStringQuery extends com.google.protobuf.GeneratedMessageV3 implements SimpleQueryStringQueryOrBuilder
Protobuf type SimpleQueryStringQuery
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:
    • 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_OPERATOR_FIELD_NUMBER

      public static final int DEFAULT_OPERATOR_FIELD_NUMBER
      See Also:
    • FIELDS_FIELD_NUMBER

      public static final int FIELDS_FIELD_NUMBER
      See Also:
    • FLAGS_FIELD_NUMBER

      public static final int FLAGS_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_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:
    • MINIMUM_SHOULD_MATCH_FIELD_NUMBER

      public static final int MINIMUM_SHOULD_MATCH_FIELD_NUMBER
      See Also:
    • QUERY_FIELD_NUMBER

      public static final int QUERY_FIELD_NUMBER
      See Also:
    • QUOTE_FIELD_SUFFIX_FIELD_NUMBER

      public static final int QUOTE_FIELD_SUFFIX_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 SimpleQueryStringQueryOrBuilder
      Returns:
      Whether the boost field is set.
    • getBoost

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

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

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

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

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

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

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

      public boolean getAutoGenerateSynonymsPhraseQuery()
      bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];
      Specified by:
      getAutoGenerateSynonymsPhraseQuery in interface SimpleQueryStringQueryOrBuilder
      Returns:
      The autoGenerateSynonymsPhraseQuery.
    • getDefaultOperatorValue

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

      public Operator getDefaultOperator()
      .Operator default_operator = 6 [json_name = "defaultOperator"];
      Specified by:
      getDefaultOperator in interface SimpleQueryStringQueryOrBuilder
      Returns:
      The defaultOperator.
    • getFieldsList

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

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

      public String getFields(int index)
      repeated string fields = 7 [json_name = "fields"];
      Specified by:
      getFields in interface SimpleQueryStringQueryOrBuilder
      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 = 7 [json_name = "fields"];
      Specified by:
      getFieldsBytes in interface SimpleQueryStringQueryOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fields at the given index.
    • hasFlags

      public boolean hasFlags()
      .SimpleQueryStringFlags flags = 8 [json_name = "flags"];
      Specified by:
      hasFlags in interface SimpleQueryStringQueryOrBuilder
      Returns:
      Whether the flags field is set.
    • getFlags

      public SimpleQueryStringFlags getFlags()
      .SimpleQueryStringFlags flags = 8 [json_name = "flags"];
      Specified by:
      getFlags in interface SimpleQueryStringQueryOrBuilder
      Returns:
      The flags.
    • getFlagsOrBuilder

      public SimpleQueryStringFlagsOrBuilder getFlagsOrBuilder()
      .SimpleQueryStringFlags flags = 8 [json_name = "flags"];
      Specified by:
      getFlagsOrBuilder in interface SimpleQueryStringQueryOrBuilder
    • getFuzzyMaxExpansions

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

      public int getFuzzyPrefixLength()
      int32 fuzzy_prefix_length = 10 [json_name = "fuzzyPrefixLength"];
      Specified by:
      getFuzzyPrefixLength in interface SimpleQueryStringQueryOrBuilder
      Returns:
      The fuzzyPrefixLength.
    • getFuzzyTranspositions

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

      public boolean getLenient()
      bool lenient = 12 [json_name = "lenient"];
      Specified by:
      getLenient in interface SimpleQueryStringQueryOrBuilder
      Returns:
      The lenient.
    • hasMinimumShouldMatch

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

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

      public MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()
      .MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];
      Specified by:
      getMinimumShouldMatchOrBuilder in interface SimpleQueryStringQueryOrBuilder
    • getQuery

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

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

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

      public com.google.protobuf.ByteString getQuoteFieldSuffixBytes()
      string quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];
      Specified by:
      getQuoteFieldSuffixBytes in interface SimpleQueryStringQueryOrBuilder
      Returns:
      The bytes for quoteFieldSuffix.
    • 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 SimpleQueryStringQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SimpleQueryStringQuery.Builder newBuilder()
    • newBuilder

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

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

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

      public static SimpleQueryStringQuery getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<SimpleQueryStringQuery> 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 SimpleQueryStringQuery getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder