Class MatchBoolPrefixQuery

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

public final class MatchBoolPrefixQuery extends com.google.protobuf.GeneratedMessageV3 implements MatchBoolPrefixQueryOrBuilder
Protobuf type org.opensearch.protobufs.MatchBoolPrefixQuery
See Also:
  • Field Details

    • FIELD_FIELD_NUMBER

      public static final int FIELD_FIELD_NUMBER
      See Also:
    • QUERY_FIELD_NUMBER

      public static final int QUERY_FIELD_NUMBER
      See Also:
    • 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:
    • FUZZINESS_FIELD_NUMBER

      public static final int FUZZINESS_FIELD_NUMBER
      See Also:
    • FUZZY_REWRITE_DEPRECATED_FIELD_NUMBER

      public static final int FUZZY_REWRITE_DEPRECATED_FIELD_NUMBER
      See Also:
    • FUZZY_TRANSPOSITIONS_FIELD_NUMBER

      public static final int FUZZY_TRANSPOSITIONS_FIELD_NUMBER
      See Also:
    • MAX_EXPANSIONS_FIELD_NUMBER

      public static final int MAX_EXPANSIONS_FIELD_NUMBER
      See Also:
    • MINIMUM_SHOULD_MATCH_FIELD_NUMBER

      public static final int MINIMUM_SHOULD_MATCH_FIELD_NUMBER
      See Also:
    • OPERATOR_FIELD_NUMBER

      public static final int OPERATOR_FIELD_NUMBER
      See Also:
    • PREFIX_LENGTH_FIELD_NUMBER

      public static final int PREFIX_LENGTH_FIELD_NUMBER
      See Also:
    • FUZZY_REWRITE_FIELD_NUMBER

      public static final int FUZZY_REWRITE_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
    • getField

      public String getField()
      string field = 1 [json_name = "field"];
      Specified by:
      getField in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The field.
    • getFieldBytes

      public com.google.protobuf.ByteString getFieldBytes()
      string field = 1 [json_name = "field"];
      Specified by:
      getFieldBytes in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The bytes for field.
    • getQuery

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

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

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

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

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

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

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

      public boolean hasAnalyzer()
      optional string analyzer = 5 [json_name = "analyzer"];
      Specified by:
      hasAnalyzer in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the analyzer field is set.
    • getAnalyzer

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

      public com.google.protobuf.ByteString getAnalyzerBytes()
      optional string analyzer = 5 [json_name = "analyzer"];
      Specified by:
      getAnalyzerBytes in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The bytes for analyzer.
    • hasFuzziness

      public boolean hasFuzziness()
      optional .org.opensearch.protobufs.Fuzziness fuzziness = 6 [json_name = "fuzziness"];
      Specified by:
      hasFuzziness in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the fuzziness field is set.
    • getFuzziness

      public Fuzziness getFuzziness()
      optional .org.opensearch.protobufs.Fuzziness fuzziness = 6 [json_name = "fuzziness"];
      Specified by:
      getFuzziness in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The fuzziness.
    • getFuzzinessOrBuilder

      public FuzzinessOrBuilder getFuzzinessOrBuilder()
      optional .org.opensearch.protobufs.Fuzziness fuzziness = 6 [json_name = "fuzziness"];
      Specified by:
      getFuzzinessOrBuilder in interface MatchBoolPrefixQueryOrBuilder
    • hasFuzzyRewriteDeprecated

      @Deprecated public boolean hasFuzzyRewriteDeprecated()
      Deprecated.
      org.opensearch.protobufs.MatchBoolPrefixQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0
      optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 7 [json_name = "fuzzyRewriteDeprecated", deprecated = true];
      Specified by:
      hasFuzzyRewriteDeprecated in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the fuzzyRewriteDeprecated field is set.
    • getFuzzyRewriteDeprecatedValue

      @Deprecated public int getFuzzyRewriteDeprecatedValue()
      Deprecated.
      org.opensearch.protobufs.MatchBoolPrefixQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0
      optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 7 [json_name = "fuzzyRewriteDeprecated", deprecated = true];
      Specified by:
      getFuzzyRewriteDeprecatedValue in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The enum numeric value on the wire for fuzzyRewriteDeprecated.
    • getFuzzyRewriteDeprecated

      @Deprecated public MultiTermQueryRewrite getFuzzyRewriteDeprecated()
      Deprecated.
      org.opensearch.protobufs.MatchBoolPrefixQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0
      optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 7 [json_name = "fuzzyRewriteDeprecated", deprecated = true];
      Specified by:
      getFuzzyRewriteDeprecated in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The fuzzyRewriteDeprecated.
    • hasFuzzyTranspositions

      public boolean hasFuzzyTranspositions()
      optional bool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];
      Specified by:
      hasFuzzyTranspositions in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the fuzzyTranspositions field is set.
    • getFuzzyTranspositions

      public boolean getFuzzyTranspositions()
      optional bool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];
      Specified by:
      getFuzzyTranspositions in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The fuzzyTranspositions.
    • hasMaxExpansions

      public boolean hasMaxExpansions()
      optional int32 max_expansions = 9 [json_name = "maxExpansions"];
      Specified by:
      hasMaxExpansions in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the maxExpansions field is set.
    • getMaxExpansions

      public int getMaxExpansions()
      optional int32 max_expansions = 9 [json_name = "maxExpansions"];
      Specified by:
      getMaxExpansions in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The maxExpansions.
    • hasMinimumShouldMatch

      public boolean hasMinimumShouldMatch()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 10 [json_name = "minimumShouldMatch"];
      Specified by:
      hasMinimumShouldMatch in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the minimumShouldMatch field is set.
    • getMinimumShouldMatch

      public MinimumShouldMatch getMinimumShouldMatch()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 10 [json_name = "minimumShouldMatch"];
      Specified by:
      getMinimumShouldMatch in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The minimumShouldMatch.
    • getMinimumShouldMatchOrBuilder

      public MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 10 [json_name = "minimumShouldMatch"];
      Specified by:
      getMinimumShouldMatchOrBuilder in interface MatchBoolPrefixQueryOrBuilder
    • hasOperator

      public boolean hasOperator()
      optional .org.opensearch.protobufs.Operator operator = 11 [json_name = "operator"];
      Specified by:
      hasOperator in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the operator field is set.
    • getOperatorValue

      public int getOperatorValue()
      optional .org.opensearch.protobufs.Operator operator = 11 [json_name = "operator"];
      Specified by:
      getOperatorValue in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The enum numeric value on the wire for operator.
    • getOperator

      public Operator getOperator()
      optional .org.opensearch.protobufs.Operator operator = 11 [json_name = "operator"];
      Specified by:
      getOperator in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The operator.
    • hasPrefixLength

      public boolean hasPrefixLength()
      optional int32 prefix_length = 12 [json_name = "prefixLength"];
      Specified by:
      hasPrefixLength in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the prefixLength field is set.
    • getPrefixLength

      public int getPrefixLength()
      optional int32 prefix_length = 12 [json_name = "prefixLength"];
      Specified by:
      getPrefixLength in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The prefixLength.
    • hasFuzzyRewrite

      public boolean hasFuzzyRewrite()
      optional string fuzzy_rewrite = 13 [json_name = "fuzzyRewrite"];
      Specified by:
      hasFuzzyRewrite in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      Whether the fuzzyRewrite field is set.
    • getFuzzyRewrite

      public String getFuzzyRewrite()
      optional string fuzzy_rewrite = 13 [json_name = "fuzzyRewrite"];
      Specified by:
      getFuzzyRewrite in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The fuzzyRewrite.
    • getFuzzyRewriteBytes

      public com.google.protobuf.ByteString getFuzzyRewriteBytes()
      optional string fuzzy_rewrite = 13 [json_name = "fuzzyRewrite"];
      Specified by:
      getFuzzyRewriteBytes in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The bytes for fuzzyRewrite.
    • 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 MatchBoolPrefixQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static MatchBoolPrefixQuery.Builder newBuilder()
    • newBuilder

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

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

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

      public static MatchBoolPrefixQuery getDefaultInstance()
    • parser

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

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