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

    if (!getParent().equals(other.getParent())) return false;
    if (hasAdaptiveMtDataset() != other.hasAdaptiveMtDataset()) return false;
    if (hasAdaptiveMtDataset()) {
      if (!getAdaptiveMtDataset().equals(other.getAdaptiveMtDataset())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The AdaptiveMtDataset to be created.
</pre>

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