Interface SearchRequest.NaturalLanguageQueryUnderstandingSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchRequest.NaturalLanguageQueryUnderstandingSpec,SearchRequest.NaturalLanguageQueryUnderstandingSpec.Builder
- Enclosing class:
- SearchRequest
public static interface SearchRequest.NaturalLanguageQueryUnderstandingSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe condition under which filter extraction should occur.intThe condition under which filter extraction should occur.getGeoSearchQueryDetectionFieldNames(int index) Field names used for location-based filtering, where geolocation filters are detected in natural language search queries.com.google.protobuf.ByteStringgetGeoSearchQueryDetectionFieldNamesBytes(int index) Field names used for location-based filtering, where geolocation filters are detected in natural language search queries.intField names used for location-based filtering, where geolocation filters are detected in natural language search queries.Field names used for location-based filtering, where geolocation filters are detected in natural language search queries.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFilterExtractionConditionValue
int getFilterExtractionConditionValue()The condition under which filter extraction should occur. Default to [Condition.DISABLED][].
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition filter_extraction_condition = 1;- Returns:
- The enum numeric value on the wire for filterExtractionCondition.
-
getFilterExtractionCondition
SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition getFilterExtractionCondition()The condition under which filter extraction should occur. Default to [Condition.DISABLED][].
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition filter_extraction_condition = 1;- Returns:
- The filterExtractionCondition.
-
getGeoSearchQueryDetectionFieldNamesList
Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in [ServingConfig.geo_search_query_detection_field_names][google.cloud.discoveryengine.v1beta.ServingConfig.geo_search_query_detection_field_names].
repeated string geo_search_query_detection_field_names = 2;- Returns:
- A list containing the geoSearchQueryDetectionFieldNames.
-
getGeoSearchQueryDetectionFieldNamesCount
int getGeoSearchQueryDetectionFieldNamesCount()Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in [ServingConfig.geo_search_query_detection_field_names][google.cloud.discoveryengine.v1beta.ServingConfig.geo_search_query_detection_field_names].
repeated string geo_search_query_detection_field_names = 2;- Returns:
- The count of geoSearchQueryDetectionFieldNames.
-
getGeoSearchQueryDetectionFieldNames
Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in [ServingConfig.geo_search_query_detection_field_names][google.cloud.discoveryengine.v1beta.ServingConfig.geo_search_query_detection_field_names].
repeated string geo_search_query_detection_field_names = 2;- Parameters:
index- The index of the element to return.- Returns:
- The geoSearchQueryDetectionFieldNames at the given index.
-
getGeoSearchQueryDetectionFieldNamesBytes
com.google.protobuf.ByteString getGeoSearchQueryDetectionFieldNamesBytes(int index) Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in [ServingConfig.geo_search_query_detection_field_names][google.cloud.discoveryengine.v1beta.ServingConfig.geo_search_query_detection_field_names].
repeated string geo_search_query_detection_field_names = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the geoSearchQueryDetectionFieldNames at the given index.
-