Interface SearchResponse.NaturalLanguageQueryUnderstandingInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchResponse.NaturalLanguageQueryUnderstandingInfo, SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder
Enclosing class:
SearchResponse

public static interface SearchResponse.NaturalLanguageQueryUnderstandingInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getExtractedFilters

      String getExtractedFilters()
       The filters that were extracted from the input query.
       
      string extracted_filters = 1;
      Returns:
      The extractedFilters.
    • getExtractedFiltersBytes

      com.google.protobuf.ByteString getExtractedFiltersBytes()
       The filters that were extracted from the input query.
       
      string extracted_filters = 1;
      Returns:
      The bytes for extractedFilters.
    • getRewrittenQuery

      String getRewrittenQuery()
       Rewritten input query minus the extracted filters.
       
      string rewritten_query = 2;
      Returns:
      The rewrittenQuery.
    • getRewrittenQueryBytes

      com.google.protobuf.ByteString getRewrittenQueryBytes()
       Rewritten input query minus the extracted filters.
       
      string rewritten_query = 2;
      Returns:
      The bytes for rewrittenQuery.
    • getClassifiedIntentsList

      List<String> getClassifiedIntentsList()
       The classified intents from the input query.
       
      repeated string classified_intents = 5;
      Returns:
      A list containing the classifiedIntents.
    • getClassifiedIntentsCount

      int getClassifiedIntentsCount()
       The classified intents from the input query.
       
      repeated string classified_intents = 5;
      Returns:
      The count of classifiedIntents.
    • getClassifiedIntents

      String getClassifiedIntents(int index)
       The classified intents from the input query.
       
      repeated string classified_intents = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The classifiedIntents at the given index.
    • getClassifiedIntentsBytes

      com.google.protobuf.ByteString getClassifiedIntentsBytes(int index)
       The classified intents from the input query.
       
      repeated string classified_intents = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the classifiedIntents at the given index.
    • hasStructuredExtractedFilter

      boolean hasStructuredExtractedFilter()
       The filters that were extracted from the input query represented in a
       structured form.
       
      .google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
      Returns:
      Whether the structuredExtractedFilter field is set.
    • getStructuredExtractedFilter

       The filters that were extracted from the input query represented in a
       structured form.
       
      .google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
      Returns:
      The structuredExtractedFilter.
    • getStructuredExtractedFilterOrBuilder

       The filters that were extracted from the input query represented in a
       structured form.
       
      .google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;