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 Summary
Modifier and TypeMethodDescriptiongetClassifiedIntents(int index) The classified intents from the input query.com.google.protobuf.ByteStringgetClassifiedIntentsBytes(int index) The classified intents from the input query.intThe classified intents from the input query.The classified intents from the input query.The filters that were extracted from the input query.com.google.protobuf.ByteStringThe filters that were extracted from the input query.Rewritten input query minus the extracted filters.com.google.protobuf.ByteStringRewritten input query minus the extracted filters.The filters that were extracted from the input query represented in a structured form.The filters that were extracted from the input query represented in a structured form.booleanThe filters that were extracted from the input query represented in a structured form.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
-
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
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
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
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter 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
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilterOrBuilder 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;
-