@java.lang.Override
  public boolean hasTermsPair() {
    return dataCase_ == 2;
  }
<pre>
Used for an unidirectional glossary.
</pre>

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

@return Whether the termsPair field is set.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/GlossaryEntry.java