public Builder setTermsPair(
        com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair value) {
      if (termsPairBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        data_ = value;
        onChanged();
      } else {
        termsPairBuilder_.setMessage(value);
      }
      dataCase_ = 2;
      return this;
    }
<pre>
Used for an unidirectional glossary.
</pre>

<code>.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/GlossaryEntry.java