public long getTotalSize() {
        return CollectionUtils.isEmpty(dataList) ? 0 : dataList.stream().mapToLong(body -> body.length).sum();
    }
A batch of proxy messages used for batch sending, produced by PackProxyMessage
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/message/file/SenderMessage.java