Interface SearchRequest.QueryExpansionSpecOrBuilder (0.17.0)

public static interface SearchRequest.QueryExpansionSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract SearchRequest.QueryExpansionSpec.Condition getCondition()

The condition under which query expansion should occur. Default to Condition.DISABLED.

.google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec.Condition condition = 1;

Returns
TypeDescription
SearchRequest.QueryExpansionSpec.Condition

The condition.

getConditionValue()

public abstract int getConditionValue()

The condition under which query expansion should occur. Default to Condition.DISABLED.

.google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec.Condition condition = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for condition.