@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequest other =
        (com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequest) obj;

    if (!getParent().equals(other.getParent())) return false;
    if (!getSourceLanguageCode().equals(other.getSourceLanguageCode())) return false;
    if (!getTargetLanguageCodesList().equals(other.getTargetLanguageCodesList())) return false;
    if (!getInputConfigsList().equals(other.getInputConfigsList())) return false;
    if (hasOutputConfig() != other.hasOutputConfig()) return false;
    if (hasOutputConfig()) {
      if (!getOutputConfig().equals(other.getOutputConfig())) return false;
    }
    if (!internalGetModels().equals(other.internalGetModels())) return false;
    if (!internalGetGlossaries().equals(other.internalGetGlossaries())) return false;
    if (!internalGetFormatConversions().equals(other.internalGetFormatConversions())) return false;
    if (!getCustomizedAttribution().equals(other.getCustomizedAttribution())) return false;
    if (getEnableShadowRemovalNativePdf() != other.getEnableShadowRemovalNativePdf()) return false;
    if (getEnableRotationCorrection() != other.getEnableRotationCorrection()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/BatchTranslateDocumentRequest.java