Interface SearchRequest.SpellCorrectionSpecOrBuilder (0.32.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.v1beta.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.v1beta.SearchRequest.SpellCorrectionSpec.Mode mode = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for mode.