private void buildPartial0(
        com.google.cloud.translate.v3beta1.TranslateDocumentResponse result) {
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.documentTranslation_ =
            documentTranslationBuilder_ == null
                ? documentTranslation_
                : documentTranslationBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.glossaryDocumentTranslation_ =
            glossaryDocumentTranslationBuilder_ == null
                ? glossaryDocumentTranslation_
                : glossaryDocumentTranslationBuilder_.build();
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.model_ = model_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.glossaryConfig_ =
            glossaryConfigBuilder_ == null ? glossaryConfig_ : glossaryConfigBuilder_.build();
        to_bitField0_ |= 0x00000004;
      }
      result.bitField0_ |= to_bitField0_;
    }
<pre>
A translated document response message.
</pre>

Protobuf type {@code google.cloud.translation.v3beta1.TranslateDocumentResponse}
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentResponse.java