public Builder mergeTermsPair(
        com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair value) {
      if (termsPairBuilder_ == null) {
        if (dataCase_ == 2
            && data_
                != com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair
                    .getDefaultInstance()) {
          data_ =
              com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair.newBuilder(
                      (com.google.cloud.translate.v3.GlossaryEntry.GlossaryTermsPair) data_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          data_ = value;
        }
        onChanged();
      } else {
        if (dataCase_ == 2) {
          termsPairBuilder_.mergeFrom(value);
        } 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