public boolean hasGlossaryDocumentTranslation() {
      return ((bitField0_ & 0x00000002) != 0);
    }
<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>

@return Whether the glossaryDocumentTranslation field is set.
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentResponse.java