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

    if (hasType() != other.hasType()) return false;
    if (hasType()) {
      if (type_ != other.type_) return false;
    }
    if (hasCanReschedule() != other.hasCanReschedule()) return false;
    if (hasCanReschedule()) {
      if (getCanReschedule() != other.getCanReschedule()) return false;
    }
    if (hasWindowStartTime() != other.hasWindowStartTime()) return false;
    if (hasWindowStartTime()) {
      if (!getWindowStartTime().equals(other.getWindowStartTime())) return false;
    }
    if (hasWindowEndTime() != other.hasWindowEndTime()) return false;
    if (hasWindowEndTime()) {
      if (!getWindowEndTime().equals(other.getWindowEndTime())) return false;
    }
    if (hasLatestWindowStartTime() != other.hasLatestWindowStartTime()) return false;
    if (hasLatestWindowStartTime()) {
      if (!getLatestWindowStartTime().equals(other.getLatestWindowStartTime())) return false;
    }
    if (hasMaintenanceStatus() != other.hasMaintenanceStatus()) return false;
    if (hasMaintenanceStatus()) {
      if (maintenanceStatus_ != other.maintenanceStatus_) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The status of the maintenance.
</pre>

<code>
optional .google.cloud.tpu.v2alpha1.UpcomingMaintenance.MaintenanceStatus maintenance_status = 9;
</code>

@return The maintenanceStatus.
java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/UpcomingMaintenance.java