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

    if (hasIdleDuration() != other.hasIdleDuration()) return false;
    if (hasIdleDuration()) {
      if (!getIdleDuration().equals(other.getIdleDuration())) return false;
    }
    if (getSkipOsAdaptation() != other.getSkipOsAdaptation()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
A flag to indicate whether to skip OS adaptation during the replication
sync. OS adaptation is a process where the VM's operating system undergoes
changes and adaptations to fully function on Compute Engine.
</pre>

<code>bool skip_os_adaptation = 2;</code>

@return The skipOsAdaptation.
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java