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 MatchBoolPrefixQuery
See Also:
  • Field Details

    • FIELD_FIELD_NUMBER

      public static final int FIELD_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_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:
    • 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:
    • QUERY_FIELD_NUMBER

      public static final int QUERY_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.
    • hasBoost

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

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

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

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

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

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

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

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

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

      public FuzzinessOrBuilder getFuzzinessOrBuilder()
      .Fuzziness fuzziness = 5 [json_name = "fuzziness"];
      Specified by:
      getFuzzinessOrBuilder in interface MatchBoolPrefixQueryOrBuilder
    • getFuzzyRewriteValue

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

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

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

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

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

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

      public MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()
      .MinimumShouldMatch minimum_should_match = 9 [json_name = "minimumShouldMatch"];
      Specified by:
      getMinimumShouldMatchOrBuilder in interface MatchBoolPrefixQueryOrBuilder
    • getOperatorValue

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

      public Operator getOperator()
      .Operator operator = 10 [json_name = "operator"];
      Specified by:
      getOperator in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The operator.
    • getPrefixLength

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

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

      public com.google.protobuf.ByteString getQueryBytes()
      string query = 12 [json_name = "query"];
      Specified by:
      getQueryBytes in interface MatchBoolPrefixQueryOrBuilder
      Returns:
      The bytes for query.
    • 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