@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (valueCase_ == 1) {
        output.writeFloat(1, (float) ((java.lang.Float) value_));
      }
      if (valueCase_ == 2) {
        output.writeEnum(2, ((java.lang.Integer) value_));
      }
      getUnknownFields().writeTo(output);
    }
<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