Interface SearchResponse.NaturalLanguageQueryUnderstandingInfoOrBuilder (0.81.0)

public static interface SearchResponse.NaturalLanguageQueryUnderstandingInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClassifiedIntents(int index)

public abstract String getClassifiedIntents(int index)

The classified intents from the input query.

repeated string classified_intents = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The classifiedIntents at the given index.

getClassifiedIntentsBytes(int index)

public abstract ByteString getClassifiedIntentsBytes(int index)

The classified intents from the input query.

repeated string classified_intents = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the classifiedIntents at the given index.

getClassifiedIntentsCount()

public abstract int getClassifiedIntentsCount()

The classified intents from the input query.

repeated string classified_intents = 5;

Returns
Type Description
int

The count of classifiedIntents.

getClassifiedIntentsList()

public abstract List<String> getClassifiedIntentsList()

The classified intents from the input query.

repeated string classified_intents = 5;

Returns
Type Description
List<String>

A list containing the classifiedIntents.

getExtractedFilters()

public abstract String getExtractedFilters()

The filters that were extracted from the input query.

string extracted_filters = 1;

Returns
Type Description
String

The extractedFilters.

getExtractedFiltersBytes()

public abstract ByteString getExtractedFiltersBytes()

The filters that were extracted from the input query.

string extracted_filters = 1;

Returns
Type Description
ByteString

The bytes for extractedFilters.

getRewrittenQuery()

public abstract String getRewrittenQuery()

Rewritten input query minus the extracted filters.

string rewritten_query = 2;

Returns
Type Description
String

The rewrittenQuery.

getRewrittenQueryBytes()

public abstract ByteString getRewrittenQueryBytes()

Rewritten input query minus the extracted filters.

string rewritten_query = 2;

Returns
Type Description
ByteString

The bytes for rewrittenQuery.

getStructuredExtractedFilter()

public abstract 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
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter

The structuredExtractedFilter.

getStructuredExtractedFilterOrBuilder()

public abstract 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;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilterOrBuilder

hasStructuredExtractedFilter()

public abstract 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
Type Description
boolean

Whether the structuredExtractedFilter field is set.