@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.translate.v3.CreateModelRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.translate.v3.CreateModelRequest other =
        (com.google.cloud.translate.v3.CreateModelRequest) obj;

    if (!getParent().equals(other.getParent())) return false;
    if (hasModel() != other.hasModel()) return false;
    if (hasModel()) {
      if (!getModel().equals(other.getModel())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The Model to create.
</pre>

<code>.google.cloud.translation.v3.Model model = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/CreateModelRequest.java