@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.intellij.execution.process.mediator.common.rpc.QuotaState)) {
      return super.equals(obj);
    }
    com.intellij.execution.process.mediator.common.rpc.QuotaState other = (com.intellij.execution.process.mediator.common.rpc.QuotaState) obj;

    if (hasQuotaOptions() != other.hasQuotaOptions()) return false;
    if (hasQuotaOptions()) {
      if (!getQuotaOptions()
          .equals(other.getQuotaOptions())) return false;
    }
    if (!getStateOneofCase().equals(other.getStateOneofCase())) return false;
    switch (stateOneofCase_) {
      case 2:
        if (!getStateNew()
            .equals(other.getStateNew())) return false;
        break;
      case 3:
        if (!getStateActive()
            .equals(other.getStateActive())) return false;
        break;
      case 4:
        if (!getStateExpired()
            .equals(other.getStateExpired())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
@java.lang.Override
  public boolean equals(final java.lang.Object obj)