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

    switch (field) {
    case ID:
      return isSetId();
    case POOL_NAME:
      return isSetPoolName();
    case DB_NAME:
      return isSetDbName();
    case TB_NAME:
      return isSetTbName();
    case PART_NAME:
      return isSetPartName();
    case TYPE:
      return isSetType();
    case STATE:
      return isSetState();
    case LIMIT:
      return isSetLimit();
    case ORDER:
      return isSetOrder();
    }
    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/ShowCompactRequest.java