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

    if (!getTranslationsList().equals(other.getTranslationsList())) return false;
    if (!getGlossaryTranslationsList().equals(other.getGlossaryTranslationsList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Text translation responses if a glossary is provided in the request.
This can be the same as
[`translations`][google.cloud.translation.v3.TranslateTextResponse.translations]
if no terms apply. This field has the same length as
[`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
</pre>

<code>repeated .google.cloud.translation.v3.Translation glossary_translations = 3;</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslateTextResponse.java