public static com.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy
              .ConfidenceScoreIndexConfig
          parseFrom(java.nio.ByteBuffer data)
              throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
<pre>
Required. The threshold.
</pre>

<code>float threshold = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@return The threshold.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/DataSchemaDetails.java