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

    if (!getName().equals(other.getName())) return false;
    if (!getDescription().equals(other.getDescription())) return false;
    if (!getDataCase().equals(other.getDataCase())) return false;
    switch (dataCase_) {
      case 2:
        if (!getTermsPair().equals(other.getTermsPair())) return false;
        break;
      case 3:
        if (!getTermsSet().equals(other.getTermsSet())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Describes the glossary entry.
</pre>

<code>string description = 4;</code>

@return The bytes for description.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/GlossaryEntry.java