Interface SearchRequest.SpellCorrectionSpecOrBuilder (2.49.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.retail.v2beta.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.retail.v2beta.SearchRequest.SpellCorrectionSpec.Mode mode = 1;

Returns
Type Description
int

The enum numeric value on the wire for mode.