Interface SuggestionDedupingConfigOrBuilder (4.100.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface SuggestionDedupingConfigOrBuilder extends MessageOrBuilder
Methods
getEnableDeduping()
public abstract boolean getEnableDeduping()
Optional. Whether to enable suggestion deduping.
bool enable_deduping = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enableDeduping.
|
getSimilarityThreshold()
public abstract float getSimilarityThreshold()
Optional. The threshold for similarity between two suggestions.
Acceptable value is [0.0, 1.0], default to 0.8
float similarity_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
float |
The similarityThreshold.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]