@java.lang.Override
  public com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair getTermsPair() {
    if (dataCase_ == 2) {
      return (com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair) data_;
    }
    return com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair.getDefaultInstance();
  }
<pre>
Used for an unidirectional glossary.
</pre>

<code>.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;</code>

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