Interface SearchRequest.SpellCorrectionSpecOrBuilder (0.50.0)

public static interface SearchRequest.SpellCorrectionSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMode()

public abstract SearchRequest.SpellCorrectionSpec.Mode getMode()

The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.

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

Returns
Type Description
SearchRequest.SpellCorrectionSpec.Mode

The mode.

getModeValue()

public abstract int getModeValue()

The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.

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

Returns
Type Description
int

The enum numeric value on the wire for mode.