@java.lang.Override
    @java.lang.Deprecated
    public float getConfidence() {
      return confidence_;
    }
<pre>
**Deprecated. Use `score` instead.**
The accuracy of the entity detection in an image.
For example, for an image in which the "Eiffel Tower" entity is detected,
this field represents the confidence that there is a tower in the query
image. Range [0, 1].
</pre>

<code>float confidence = 5 [deprecated = true];</code>

@deprecated google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See
    google/cloud/vision/v1/image_annotator.proto;l=510
@return The confidence.
java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/EntityAnnotation.java