@Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;
    if (getClass() != obj.getClass()) return false;
    OFMeterFeaturesStatsReplyVer14 other = (OFMeterFeaturesStatsReplyVer14) obj;

    if (xid != other.xid) return false;
    if (flags == null) {
      if (other.flags != null) return false;
    } else if (!flags.equals(other.flags)) return false;
    if (features == null) {
      if (other.features != null) return false;
    } else if (!features.equals(other.features)) return false;
    return true;
  }