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

    if (!getTranslatedText().equals(other.getTranslatedText())) return false;
    if (!getModel().equals(other.getModel())) return false;
    if (!getDetectedLanguageCode().equals(other.getDetectedLanguageCode())) 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.v3beta1.TranslateTextGlossaryConfig glossary_config = 3;</code>
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/Translation.java