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

    switch (field) {
    case PARENT_DB_NAME:
      return isSetParent_db_name();
    case PARENT_TBL_NAME:
      return isSetParent_tbl_name();
    case FOREIGN_DB_NAME:
      return isSetForeign_db_name();
    case FOREIGN_TBL_NAME:
      return isSetForeign_tbl_name();
    case CAT_NAME:
      return isSetCatName();
    case VALID_WRITE_ID_LIST:
      return isSetValidWriteIdList();
    case TABLE_ID:
      return isSetTableId();
    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysRequest.java