@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(retailEndpoint_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, retailEndpoint_);
    }
    if (java.lang.Float.floatToRawIntBits(recognitionConfidenceThreshold_) != 0) {
      size +=
          com.google.protobuf.CodedOutputStream.computeFloatSize(
              2, recognitionConfidenceThreshold_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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