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

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

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