@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceLanguageCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceLanguageCode_);
    }
    for (int i = 0; i < targetLanguageCodes_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetLanguageCodes_.getRaw(i));
    }
    for (int i = 0; i < inputConfigs_.size(); i++) {
      output.writeMessage(4, inputConfigs_.get(i));
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(5, getOutputConfig());
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetModels(), ModelsDefaultEntryHolder.defaultEntry, 6);
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetGlossaries(), GlossariesDefaultEntryHolder.defaultEntry, 7);
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output,
        internalGetFormatConversions(),
        FormatConversionsDefaultEntryHolder.defaultEntry,
        8);
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customizedAttribution_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, customizedAttribution_);
    }
    if (enableShadowRemovalNativePdf_ != false) {
      output.writeBool(11, enableShadowRemovalNativePdf_);
    }
    if (enableRotationCorrection_ != false) {
      output.writeBool(12, enableRotationCorrection_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. If true, enable auto rotation correction in DVS.
</pre>

<code>bool enable_rotation_correction = 12 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The enableRotationCorrection.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchTranslateDocumentRequest.java