public Builder setThreshold(float value) {

          threshold_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
<pre>
Required. The threshold.
</pre>

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

@param value The threshold to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/DataSchemaDetails.java