@java.lang.Override
    public float getConfidence() {
      return confidence_;
    }
<pre>
Confidence that the label is accurate. Range: [0, 1].
</pre>

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

@return The confidence.
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java