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

    if (!getParent().equals(other.getParent())) return false;
    if (hasSubmission() != other.hasSubmission()) return false;
    if (hasSubmission()) {
      if (!getSubmission().equals(other.getSubmission())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The submission that contains the content of the phishing report.
</pre>

<code>
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/CreateSubmissionRequest.java