public static enum SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior extends Enum<SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior> implements com.google.protobuf.ProtocolMessageEnum
Enum describing how extracted filters are applied to the search.Protobuf enum
google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior| Enum Constant and Description |
|---|
EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED
`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior
for extracted filters.
|
HARD_FILTER
Applies all extracted filters as hard filters on the results.
|
SOFT_BOOST
Applies all extracted filters as soft boosts.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED_VALUE
`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior
for extracted filters.
|
static int |
HARD_FILTER_VALUE
Applies all extracted filters as hard filters on the results.
|
static int |
SOFT_BOOST_VALUE
Applies all extracted filters as soft boosts.
|
public static final SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED
`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for extracted filters. For single datastore search, the default is to apply as hard filters. For multi-datastore search, the default is to apply as soft boosts.
EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED = 0;public static final SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior HARD_FILTER
Applies all extracted filters as hard filters on the results. Results that do not pass the extracted filters will not be returned in the result set.
HARD_FILTER = 1;public static final SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior SOFT_BOOST
Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set.
SOFT_BOOST = 2;public static final SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior UNRECOGNIZED
public static final int EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED_VALUE
`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for extracted filters. For single datastore search, the default is to apply as hard filters. For multi-datastore search, the default is to apply as soft boosts.
EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED = 0;public static final int HARD_FILTER_VALUE
Applies all extracted filters as hard filters on the results. Results that do not pass the extracted filters will not be returned in the result set.
HARD_FILTER = 1;public static final int SOFT_BOOST_VALUE
Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set.
SOFT_BOOST = 2;public static SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior[] values()
for (SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior c : SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior.values()) System.out.println(c);
public static SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.