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 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

       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

      List<String> 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

      String getGeoSearchQueryDetectionFieldNames(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 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.