public Integer getTotalItem() {
        if (totalItem == null) {
            // throw new IllegalStateException("Please set the TotalItem first.");
            return defaultTotalItem;
        }

        return totalItem;
    }
Get total item value
@return Returns the totalItem.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/web/common/BaseResult.java