@java.lang.Override
      public boolean hasLevel() {
        return valueCase_ == 2;
      }
<pre>
Enum representation of confidence.
</pre>

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

@return Whether the level field is set.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatInfo.java