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

    if (!getParent().equals(other.getParent())) return false;
    if (!getDataset().equals(other.getDataset())) return false;
    if (!getContentList().equals(other.getContentList())) return false;
    if (hasReferenceSentenceConfig() != other.hasReferenceSentenceConfig()) return false;
    if (hasReferenceSentenceConfig()) {
      if (!getReferenceSentenceConfig().equals(other.getReferenceSentenceConfig())) return false;
    }
    if (hasGlossaryConfig() != other.hasGlossaryConfig()) return false;
    if (hasGlossaryConfig()) {
      if (!getGlossaryConfig().equals(other.getGlossaryConfig())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. Glossary to be applied. The glossary must be
within the same region (have the same location-id) as the model, otherwise
an INVALID_ARGUMENT (400) error is returned.
</pre>

<code>
optional .google.cloud.translation.v3.AdaptiveMtTranslateRequest.GlossaryConfig glossary_config = 7 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/AdaptiveMtTranslateRequest.java