public Builder clearConfidence() {
      bitField0_ = (bitField0_ & ~0x00000002);
      confidence_ = 0F;
      onChanged();
      return this;
    }
<pre>
The confidence of the detection result for this language.
</pre>

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

@return This builder for chaining.
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectedLanguage.java