Class BoolQuery.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BoolQuery.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
org.opensearch.protobufs.BoolQuery.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, BoolQueryOrBuilder
Enclosing class:
BoolQuery

public static final class BoolQuery.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder> implements BoolQueryOrBuilder
Protobuf type org.opensearch.protobufs.BoolQuery
  • Method Details

    • 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.Builder<BoolQuery.Builder>
    • clear

      public BoolQuery.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • getDefaultInstanceForType

      public BoolQuery getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BoolQuery build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BoolQuery buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public BoolQuery.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • setField

      public BoolQuery.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • clearField

      public BoolQuery.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • clearOneof

      public BoolQuery.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • setRepeatedField

      public BoolQuery.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • addRepeatedField

      public BoolQuery.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • mergeFrom

      public BoolQuery.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BoolQuery.Builder>
    • mergeFrom

      public BoolQuery.Builder mergeFrom(BoolQuery other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • mergeFrom

      public BoolQuery.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BoolQuery.Builder>
      Throws:
      IOException
    • hasBoost

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

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

      public BoolQuery.Builder setBoost(float value)
      optional float boost = 1 [json_name = "boost"];
      Parameters:
      value - The boost to set.
      Returns:
      This builder for chaining.
    • clearBoost

      public BoolQuery.Builder clearBoost()
      optional float boost = 1 [json_name = "boost"];
      Returns:
      This builder for chaining.
    • hasXName

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

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

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

      public BoolQuery.Builder setXName(String value)
      optional string x_name = 2 [json_name = "xName"];
      Parameters:
      value - The xName to set.
      Returns:
      This builder for chaining.
    • clearXName

      public BoolQuery.Builder clearXName()
      optional string x_name = 2 [json_name = "xName"];
      Returns:
      This builder for chaining.
    • setXNameBytes

      public BoolQuery.Builder setXNameBytes(com.google.protobuf.ByteString value)
      optional string x_name = 2 [json_name = "xName"];
      Parameters:
      value - The bytes for xName to set.
      Returns:
      This builder for chaining.
    • getFilterList

      public List<QueryContainer> getFilterList()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
      Specified by:
      getFilterList in interface BoolQueryOrBuilder
    • getFilterCount

      public int getFilterCount()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
      Specified by:
      getFilterCount in interface BoolQueryOrBuilder
    • getFilter

      public QueryContainer getFilter(int index)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
      Specified by:
      getFilter in interface BoolQueryOrBuilder
    • setFilter

      public BoolQuery.Builder setFilter(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • setFilter

      public BoolQuery.Builder setFilter(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • addFilter

      public BoolQuery.Builder addFilter(QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • addFilter

      public BoolQuery.Builder addFilter(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • addFilter

      public BoolQuery.Builder addFilter(QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • addFilter

      public BoolQuery.Builder addFilter(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • addAllFilter

      public BoolQuery.Builder addAllFilter(Iterable<? extends QueryContainer> values)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • clearFilter

      public BoolQuery.Builder clearFilter()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • removeFilter

      public BoolQuery.Builder removeFilter(int index)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • getFilterBuilder

      public QueryContainer.Builder getFilterBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • getFilterOrBuilder

      public QueryContainerOrBuilder getFilterOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
      Specified by:
      getFilterOrBuilder in interface BoolQueryOrBuilder
    • getFilterOrBuilderList

      public List<? extends QueryContainerOrBuilder> getFilterOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
      Specified by:
      getFilterOrBuilderList in interface BoolQueryOrBuilder
    • addFilterBuilder

      public QueryContainer.Builder addFilterBuilder()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • addFilterBuilder

      public QueryContainer.Builder addFilterBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • getFilterBuilderList

      public List<QueryContainer.Builder> getFilterBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];
    • hasMinimumShouldMatch

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

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

      public BoolQuery.Builder setMinimumShouldMatch(MinimumShouldMatch value)
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
    • setMinimumShouldMatch

      public BoolQuery.Builder setMinimumShouldMatch(MinimumShouldMatch.Builder builderForValue)
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
    • mergeMinimumShouldMatch

      public BoolQuery.Builder mergeMinimumShouldMatch(MinimumShouldMatch value)
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
    • clearMinimumShouldMatch

      public BoolQuery.Builder clearMinimumShouldMatch()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
    • getMinimumShouldMatchBuilder

      public MinimumShouldMatch.Builder getMinimumShouldMatchBuilder()
      optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];
    • getMinimumShouldMatchOrBuilder

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

      public List<QueryContainer> getMustList()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
      Specified by:
      getMustList in interface BoolQueryOrBuilder
    • getMustCount

      public int getMustCount()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
      Specified by:
      getMustCount in interface BoolQueryOrBuilder
    • getMust

      public QueryContainer getMust(int index)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
      Specified by:
      getMust in interface BoolQueryOrBuilder
    • setMust

      public BoolQuery.Builder setMust(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • setMust

      public BoolQuery.Builder setMust(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • addMust

      public BoolQuery.Builder addMust(QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • addMust

      public BoolQuery.Builder addMust(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • addMust

      public BoolQuery.Builder addMust(QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • addMust

      public BoolQuery.Builder addMust(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • addAllMust

      public BoolQuery.Builder addAllMust(Iterable<? extends QueryContainer> values)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • clearMust

      public BoolQuery.Builder clearMust()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • removeMust

      public BoolQuery.Builder removeMust(int index)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustBuilder

      public QueryContainer.Builder getMustBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustOrBuilder

      public QueryContainerOrBuilder getMustOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
      Specified by:
      getMustOrBuilder in interface BoolQueryOrBuilder
    • getMustOrBuilderList

      public List<? extends QueryContainerOrBuilder> getMustOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
      Specified by:
      getMustOrBuilderList in interface BoolQueryOrBuilder
    • addMustBuilder

      public QueryContainer.Builder addMustBuilder()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • addMustBuilder

      public QueryContainer.Builder addMustBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustBuilderList

      public List<QueryContainer.Builder> getMustBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];
    • getMustNotList

      public List<QueryContainer> getMustNotList()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
      Specified by:
      getMustNotList in interface BoolQueryOrBuilder
    • getMustNotCount

      public int getMustNotCount()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
      Specified by:
      getMustNotCount in interface BoolQueryOrBuilder
    • getMustNot

      public QueryContainer getMustNot(int index)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
      Specified by:
      getMustNot in interface BoolQueryOrBuilder
    • setMustNot

      public BoolQuery.Builder setMustNot(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • setMustNot

      public BoolQuery.Builder setMustNot(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • addMustNot

      public BoolQuery.Builder addMustNot(QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • addMustNot

      public BoolQuery.Builder addMustNot(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • addMustNot

      public BoolQuery.Builder addMustNot(QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • addMustNot

      public BoolQuery.Builder addMustNot(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • addAllMustNot

      public BoolQuery.Builder addAllMustNot(Iterable<? extends QueryContainer> values)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • clearMustNot

      public BoolQuery.Builder clearMustNot()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • removeMustNot

      public BoolQuery.Builder removeMustNot(int index)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getMustNotBuilder

      public QueryContainer.Builder getMustNotBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getMustNotOrBuilder

      public QueryContainerOrBuilder getMustNotOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
      Specified by:
      getMustNotOrBuilder in interface BoolQueryOrBuilder
    • getMustNotOrBuilderList

      public List<? extends QueryContainerOrBuilder> getMustNotOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
      Specified by:
      getMustNotOrBuilderList in interface BoolQueryOrBuilder
    • addMustNotBuilder

      public QueryContainer.Builder addMustNotBuilder()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • addMustNotBuilder

      public QueryContainer.Builder addMustNotBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getMustNotBuilderList

      public List<QueryContainer.Builder> getMustNotBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];
    • getShouldList

      public List<QueryContainer> getShouldList()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
      Specified by:
      getShouldList in interface BoolQueryOrBuilder
    • getShouldCount

      public int getShouldCount()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
      Specified by:
      getShouldCount in interface BoolQueryOrBuilder
    • getShould

      public QueryContainer getShould(int index)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
      Specified by:
      getShould in interface BoolQueryOrBuilder
    • setShould

      public BoolQuery.Builder setShould(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • setShould

      public BoolQuery.Builder setShould(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • addShould

      public BoolQuery.Builder addShould(QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • addShould

      public BoolQuery.Builder addShould(int index, QueryContainer value)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • addShould

      public BoolQuery.Builder addShould(QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • addShould

      public BoolQuery.Builder addShould(int index, QueryContainer.Builder builderForValue)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • addAllShould

      public BoolQuery.Builder addAllShould(Iterable<? extends QueryContainer> values)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • clearShould

      public BoolQuery.Builder clearShould()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • removeShould

      public BoolQuery.Builder removeShould(int index)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • getShouldBuilder

      public QueryContainer.Builder getShouldBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • getShouldOrBuilder

      public QueryContainerOrBuilder getShouldOrBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
      Specified by:
      getShouldOrBuilder in interface BoolQueryOrBuilder
    • getShouldOrBuilderList

      public List<? extends QueryContainerOrBuilder> getShouldOrBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
      Specified by:
      getShouldOrBuilderList in interface BoolQueryOrBuilder
    • addShouldBuilder

      public QueryContainer.Builder addShouldBuilder()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • addShouldBuilder

      public QueryContainer.Builder addShouldBuilder(int index)
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • getShouldBuilderList

      public List<QueryContainer.Builder> getShouldBuilderList()
      repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];
    • hasAdjustPureNegative

      public boolean hasAdjustPureNegative()
      optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];
      Specified by:
      hasAdjustPureNegative in interface BoolQueryOrBuilder
      Returns:
      Whether the adjustPureNegative field is set.
    • getAdjustPureNegative

      public boolean getAdjustPureNegative()
      optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];
      Specified by:
      getAdjustPureNegative in interface BoolQueryOrBuilder
      Returns:
      The adjustPureNegative.
    • setAdjustPureNegative

      public BoolQuery.Builder setAdjustPureNegative(boolean value)
      optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];
      Parameters:
      value - The adjustPureNegative to set.
      Returns:
      This builder for chaining.
    • clearAdjustPureNegative

      public BoolQuery.Builder clearAdjustPureNegative()
      optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final BoolQuery.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>
    • mergeUnknownFields

      public final BoolQuery.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BoolQuery.Builder>