public static com.google.webrisk.v1.ThreatInfo.Confidence parseFrom(java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
<pre>
Enum representation of confidence.
</pre>

<code>.google.cloud.webrisk.v1.ThreatInfo.Confidence.ConfidenceLevel level = 2;</code>

@return The level.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatInfo.java