public ClientMaster.OpsTaskInfo buildOpsTaskInfo() {
        boolean hasData = false;
        ClientMaster.OpsTaskInfo.Builder builder =
                ClientMaster.OpsTaskInfo.newBuilder();
        if (defFlowCtrlRuleHandler.getFlowCtrlId() >= 0) {
            builder.setDefFlowCheckId(defFlowCtrlRuleHandler.getFlowCtrlId());
            hasData = true;
        }
        if (groupFlowCtrlRuleHandler.getFlowCtrlId() >= 0) {
            builder.setGroupFlowCheckId(groupFlowCtrlRuleHandler.getFlowCtrlId());
            hasData = true;
        }
        if (groupFlowCtrlRuleHandler.getQryPriorityId() >= 0) {
            builder.setQryPriorityId(groupFlowCtrlRuleHandler.getQryPriorityId());
            hasData = true;
        }
        if (reqMaxOffsetCsmId.get() >= 0) {
            builder.setCsmFrmMaxOffsetCtrlId(reqMaxOffsetCsmId.get());
            hasData = true;
        }
        if (hasData) {
            return builder.build();
        } else {
            return null;
        }
    }
get client report ops task info id set

@return ops task info id set
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/consumer/RmtDataCache.java