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

    switch (field) {
    case ID:
      return isSetId();
    case DBNAME:
      return isSetDbname();
    case TABLENAME:
      return isSetTablename();
    case PARTITIONNAME:
      return isSetPartitionname();
    case TYPE:
      return isSetType();
    case RUNAS:
      return isSetRunas();
    case PROPERTIES:
      return isSetProperties();
    case TOOMANYABORTS:
      return isSetToomanyaborts();
    case STATE:
      return isSetState();
    case WORKER_ID:
      return isSetWorkerId();
    case START:
      return isSetStart();
    case HIGHEST_WRITE_ID:
      return isSetHighestWriteId();
    case ERROR_MESSAGE:
      return isSetErrorMessage();
    case HASOLDABORT:
      return isSetHasoldabort();
    case ENQUEUE_TIME:
      return isSetEnqueueTime();
    case RETRY_RETENTION:
      return isSetRetryRetention();
    case POOLNAME:
      return isSetPoolname();
    case NUMBER_OF_BUCKETS:
      return isSetNumberOfBuckets();
    case ORDER_BY_CLAUSE:
      return isSetOrderByClause();
    }
    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/CompactionInfoStruct.java