Interface SearchRequest.SpellCorrectionSpecOrBuilder (0.39.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
Type Description
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
Type Description
int

The enum numeric value on the wire for mode.