@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.webrisk.v1.SubmitUriRequest)) {
      return super.equals(obj);
    }
    com.google.webrisk.v1.SubmitUriRequest other = (com.google.webrisk.v1.SubmitUriRequest) obj;

    if (!getParent().equals(other.getParent())) return false;
    if (hasSubmission() != other.hasSubmission()) return false;
    if (hasSubmission()) {
      if (!getSubmission().equals(other.getSubmission())) return false;
    }
    if (hasThreatInfo() != other.hasThreatInfo()) return false;
    if (hasThreatInfo()) {
      if (!getThreatInfo().equals(other.getThreatInfo())) return false;
    }
    if (hasThreatDiscovery() != other.hasThreatDiscovery()) return false;
    if (hasThreatDiscovery()) {
      if (!getThreatDiscovery().equals(other.getThreatDiscovery())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Provides additional information about how the submission was discovered.
</pre>

<code>.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;</code>
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SubmitUriRequest.java