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

    if (!getParent().equals(other.getParent())) return false;
    if (!getSourceLanguageCode().equals(other.getSourceLanguageCode())) return false;
    if (!getTargetLanguageCode().equals(other.getTargetLanguageCode())) return false;
    if (hasDocumentInputConfig() != other.hasDocumentInputConfig()) return false;
    if (hasDocumentInputConfig()) {
      if (!getDocumentInputConfig().equals(other.getDocumentInputConfig())) return false;
    }
    if (hasDocumentOutputConfig() != other.hasDocumentOutputConfig()) return false;
    if (hasDocumentOutputConfig()) {
      if (!getDocumentOutputConfig().equals(other.getDocumentOutputConfig())) return false;
    }
    if (!getModel().equals(other.getModel())) return false;
    if (hasGlossaryConfig() != other.hasGlossaryConfig()) return false;
    if (hasGlossaryConfig()) {
      if (!getGlossaryConfig().equals(other.getGlossaryConfig())) return false;
    }
    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
    if (!getCustomizedAttribution().equals(other.getCustomizedAttribution())) return false;
    if (getIsTranslateNativePdfOnly() != other.getIsTranslateNativePdfOnly()) 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 = 13 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The enableRotationCorrection.
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateDocumentRequest.java