public static interface SearchRequest.SpellCorrectionSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SearchRequest.SpellCorrectionSpec.Mode |
getMode()
The mode under which spell correction should take effect to
replace the original search query.
|
int |
getModeValue()
The mode under which spell correction should take effect to
replace the original search query.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getModeValue()
The mode under which spell correction should take effect to replace the original search query. Default to [Mode.AUTO][google.cloud.retail.v2.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
.google.cloud.retail.v2.SearchRequest.SpellCorrectionSpec.Mode mode = 1;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.v2.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
.google.cloud.retail.v2.SearchRequest.SpellCorrectionSpec.Mode mode = 1;Copyright © 2024 Google LLC. All rights reserved.