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

    if (hasDocumentTranslation() != other.hasDocumentTranslation()) return false;
    if (hasDocumentTranslation()) {
      if (!getDocumentTranslation().equals(other.getDocumentTranslation())) return false;
    }
    if (hasGlossaryDocumentTranslation() != other.hasGlossaryDocumentTranslation()) return false;
    if (hasGlossaryDocumentTranslation()) {
      if (!getGlossaryDocumentTranslation().equals(other.getGlossaryDocumentTranslation()))
        return false;
    }
    if (!getModel().equals(other.getModel())) 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>
The `glossary_config` used for this translation.
</pre>

<code>.google.cloud.translation.v3.TranslateTextGlossaryConfig glossary_config = 4;</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslateDocumentResponse.java