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

    if (!getLanguageCode().equals(other.getLanguageCode())) return false;
    if (!getText().equals(other.getText())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The text for the glossary term.
</pre>

<code>string text = 2;</code>

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