Interface SearchRequest.SpellCorrectionSpecOrBuilder (0.28.0)

public static interface SearchRequest.SpellCorrectionSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMode()

public abstract SearchRequest.SpellCorrectionSpec.Mode getMode()

The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.

.google.cloud.discoveryengine.v1alpha.SearchRequest.SpellCorrectionSpec.Mode mode = 1;

Returns
TypeDescription
SearchRequest.SpellCorrectionSpec.Mode

The mode.

getModeValue()

public abstract int getModeValue()

The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.

.google.cloud.discoveryengine.v1alpha.SearchRequest.SpellCorrectionSpec.Mode mode = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for mode.