Interface SuggestionDedupingConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SuggestionDedupingConfig, SuggestionDedupingConfig.Builder

@Generated public interface SuggestionDedupingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    float
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEnableDeduping

      boolean getEnableDeduping()
       Optional. Whether to enable suggestion deduping.
       
      bool enable_deduping = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableDeduping.
    • getSimilarityThreshold

      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:
      The similarityThreshold.