@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.visionai.v1.ProductRecognizerConfig)) {
      return super.equals(obj);
    }
    com.google.cloud.visionai.v1.ProductRecognizerConfig other =
        (com.google.cloud.visionai.v1.ProductRecognizerConfig) obj;

    if (!getRetailEndpoint().equals(other.getRetailEndpoint())) return false;
    if (java.lang.Float.floatToIntBits(getRecognitionConfidenceThreshold())
        != java.lang.Float.floatToIntBits(other.getRecognitionConfidenceThreshold())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Confidence threshold to filter detection results. If not set, a system
default value will be used.
</pre>

<code>float recognition_confidence_threshold = 2;</code>

@return The recognitionConfidenceThreshold.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ProductRecognizerConfig.java