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

    switch (field) {
    case RHINO_ID:
      return isSetRhinoId();
    case TITAN_ID:
      return isSetTitanId();
    case PROPERTIES:
      return isSetProperties();
    case OUT_EDGES:
      return isSetOutEdges();
    case IN_EDGES:
      return isSetInEdges();
    }
    throw new IllegalStateException();
  }