private void buildPartial0(
        com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequest result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.parent_ = parent_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.sourceLanguageCode_ = sourceLanguageCode_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        targetLanguageCodes_.makeImmutable();
        result.targetLanguageCodes_ = targetLanguageCodes_;
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.outputConfig_ =
            outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.models_ = internalGetModels();
        result.models_.makeImmutable();
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.glossaries_ =
            internalGetGlossaries().build(GlossariesDefaultEntryHolder.defaultEntry);
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.formatConversions_ = internalGetFormatConversions();
        result.formatConversions_.makeImmutable();
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.customizedAttribution_ = customizedAttribution_;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.enableShadowRemovalNativePdf_ = enableShadowRemovalNativePdf_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.enableRotationCorrection_ = enableRotationCorrection_;
      }
      result.bitField0_ |= to_bitField0_;
    }
<pre>
The BatchTranslateDocument request.
</pre>

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