public static ByteBuf getAuditRequestBuffer(AuditRequest auditRequest) {
        BaseCommand cmdAuditRequest = BaseCommand.newBuilder()
                .setType(Type.AUDIT_REQUEST)
                .setAuditRequest(auditRequest).build();
        return getChannelBuffer(cmdAuditRequest.toByteArray());
    }
Audit commands, used to get various of ByteBuf.
inlong-audit/audit-common/src/main/java/org/apache/inlong/audit/protocol/Commands.java