public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case A:
      return isSetA();
    case B:
      return isSetB();
    case C:
      return isSetC();
    case D:
      return isSetD();
    case E:
      return isSetE();
    case F:
      return isSetF();
    case G:
      return isSetG();
    case H:
      return isSetH();
    }
    throw new IllegalStateException();
  }