public Builder mergeFrom(com.google.cloud.translate.v3.TranslateDocumentRequest other) {
      if (other == com.google.cloud.translate.v3.TranslateDocumentRequest.getDefaultInstance())
        return this;
      if (!other.getParent().isEmpty()) {
        parent_ = other.parent_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getSourceLanguageCode().isEmpty()) {
        sourceLanguageCode_ = other.sourceLanguageCode_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.getTargetLanguageCode().isEmpty()) {
        targetLanguageCode_ = other.targetLanguageCode_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (other.hasDocumentInputConfig()) {
        mergeDocumentInputConfig(other.getDocumentInputConfig());
      }
      if (other.hasDocumentOutputConfig()) {
        mergeDocumentOutputConfig(other.getDocumentOutputConfig());
      }
      if (!other.getModel().isEmpty()) {
        model_ = other.model_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (other.hasGlossaryConfig()) {
        mergeGlossaryConfig(other.getGlossaryConfig());
      }
      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
      bitField0_ |= 0x00000080;
      if (!other.getCustomizedAttribution().isEmpty()) {
        customizedAttribution_ = other.customizedAttribution_;
        bitField0_ |= 0x00000100;
        onChanged();
      }
      if (other.getIsTranslateNativePdfOnly() != false) {
        setIsTranslateNativePdfOnly(other.getIsTranslateNativePdfOnly());
      }
      if (other.getEnableShadowRemovalNativePdf() != false) {
        setEnableShadowRemovalNativePdf(other.getEnableShadowRemovalNativePdf());
      }
      if (other.getEnableRotationCorrection() != false) {
        setEnableRotationCorrection(other.getEnableRotationCorrection());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
A document translation request.
</pre>

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