public Builder setGlossaryDocumentTranslation(
        com.google.cloud.translate.v3beta1.DocumentTranslation value) {
      if (glossaryDocumentTranslationBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        glossaryDocumentTranslation_ = value;
      } else {
        glossaryDocumentTranslationBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
The document's translation output if a glossary is provided in the request.
This can be the same as [TranslateDocumentResponse.document_translation]
if no glossary terms apply.
</pre>

<code>
.google.cloud.translation.v3beta1.DocumentTranslation glossary_document_translation = 2;
</code>
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentResponse.java