public com.google.webrisk.v1.ThreatInfo.Confidence getThreatConfidence() {
      if (threatConfidenceBuilder_ == null) {
        return threatConfidence_ == null
            ? com.google.webrisk.v1.ThreatInfo.Confidence.getDefaultInstance()
            : threatConfidence_;
      } else {
        return threatConfidenceBuilder_.getMessage();
      }
    }
<pre>
Confidence that the URI is unsafe.
</pre>

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

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