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

    if (!getVersion().equals(other.getVersion())) return false;
    if (state_ != other.state_) return false;
    if (hasError() != other.hasError()) return false;
    if (hasError()) {
      if (!getError().equals(other.getError())) return false;
    }
    if (hasStartTime() != other.hasStartTime()) return false;
    if (hasStartTime()) {
      if (!getStartTime().equals(other.getStartTime())) return false;
    }
    if (!getPreviousVersion().equals(other.getPreviousVersion())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The version from which we upgraded.
</pre>

<code>string previous_version = 5;</code>

@return The bytes for previousVersion.
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java