@java.lang.Override
      public float getConfidence() {
        return confidence_;
      }
<pre>
Confidence of detected language. Range [0, 1].
</pre>

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

@return The confidence.
java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotation.java